Skip to content

EdesignRunner

Bases: MultiProgramRunner[Circuit]

Runner for simulating edesign circuits into a DataSet with crash recovery.

Encapsulates all configuration needed to simulate an edesign, including parallel/checkpoint settings, in a serializable object that can be recovered after a crash via EdesignRunner.read(runner_path).run(). Checkpoint/resume behavior is controlled by a CheckpointConfig (config=) applied against on-disk state -- see MultiProgramRunner.run.

EdesignRunner

EdesignRunner(edesign: ExperimentDesign, physical_model: ExplicitOpModel, physical_to_logical: Mapping[str | tuple, list[InstructionLabelLike]], num_shots: int, collect_shot_data_args: Sequence[HistoryDataCollectorLike] | None = None, config: CheckpointConfig | None = None, parallel_strategy: ParallelStrategy | None = None, program_kwargs: dict | None = None, run_kwargs: dict[str, Any] | None = None)

Attributes

Name Type Value Doc
CHKPT_SUBDIR_PREFIX str 'circ'