iqm.cpc.compiler.post_process.GeneralReadoutMapping

iqm.cpc.compiler.post_process.GeneralReadoutMapping#

iqm.cpc.compiler.post_process.GeneralReadoutMapping#

Type for matching measurement keys from a quantum circuit with acquisition labels in Station Control.

Maps a readout key to the acquisition labels with that key in the circuit. The order of the labels for a specific key determines the order of the corresponding results in MeasurementResults. Each acquisition label corresponds to the readout of a single qubit at a single point in the circuit. The same acquisition label can be used multiple times.

Note that in general pulse-level execution we don’t guarantee a specific order for the labels of a key, as it can be affected by custom multiplexing and compiler passes.

alias of dict[str, tuple[str, …]]