iqm.cpc.interface.compiler.CircuitCompilationResult#
- class iqm.cpc.interface.compiler.CircuitCompilationResult(playlist, readout_mappings, settings, circuit_metrics)#
Bases:
object
Compiled circuit and associated settings returned by CPC to Cocos.
Attributes
sequence of instruction schedules corresponding to the batch of circuits to be executed
For each circuit in the batch, mapping from measurement keys to the names of readout controller result parameters that will hold the measurement results.
Station Control settings node containing the settings for circuit execution
metrics describing the circuit and its compilation result for each circuit in the batch
Methods
__eq__
(other)Return self==value.
__repr__
()Return repr(self).
- 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: SettingNode#
Station Control settings node containing the settings for circuit execution
- circuit_metrics: tuple[CircuitMetrics, ...]#
metrics describing the circuit and its compilation result for each circuit in the batch