CircuitCompilationResult#

Module: iqm.cpc.interface.circuit_execution

class iqm.cpc.interface.circuit_execution.CircuitCompilationResult(playlist, readout_mappings, settings, circuit_metrics)#

Bases: Generic[T_settings]

Compiled circuit and associated settings returned by CPC to Station Control.

Attributes

playlist

sequence of instruction schedules corresponding to the batch of circuits to be executed

readout_mappings

For each circuit in the batch, mapping from measurement keys to the names of readout controller result parameters that will hold the measurement results.

settings

Station Control settings for circuit execution.

circuit_metrics

metrics describing the circuit and its compilation result for each circuit in the batch

Methods

Parameters:
playlist: Playlist#

sequence of instruction schedules corresponding to the batch of circuits to be executed

readout_mappings: tuple[dict[str, tuple[str, ...]], ...]#

For each circuit in the batch, mapping from measurement keys to the names of readout controller result parameters that will hold the measurement results. If heralding is enabled, qubits which are not measured in the circuit itself but are heralded appear under the reserved key “__herald.

settings: T_settings#

Station Control settings for circuit execution. Either a settings tree or a mapping of setting names to their values. If a mapping, must only contain non-None, non-readonly controller settings.

circuit_metrics: tuple[CircuitMetrics, ...]#

metrics describing the circuit and its compilation result for each circuit in the batch

Inheritance

Inheritance diagram of iqm.cpc.interface.circuit_execution.CircuitCompilationResult