Skip to content

Experiment serialization #1392

@coruscating

Description

@coruscating

Suggested feature

A frequently requested feature is the ability to reconstruct an entire experiment using syntax similar to ExperimentData, i.e. BaseExperiment.load(id) and BaseExperiment.save().

PRs

  • Save ExperimentConfig to artifacts, use from_config() to reconstruct the experiment container in the same environment
  • Add versioning data (QE + experiment class + Qiskit + service + random seeds used) to experiment metadata. This should allow QE to determine whether the current environment is the same as the one in the experiment and adjust accordingly
  • Add ability to run custom transpiled circuits (Add custom transpiled circuit setter #1222 or new PR). This allows QE to run circuits saved in job data. Users have the ability to decide between running the transpiled circuits or generating new circuits.
  • Add experiment loading interface which loads circuits from job data and relevant metadata from artifacts

Open questions

  • Behavior when current environment is different from one in saved experiment
  • How to deal with backend/layout specific parameters
  • How to deal with calibration objects

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions