tqec.circuit.operations.measurement_map.CircuitMeasurementMap
- class CircuitMeasurementMap(circuit: AbstractCircuit)[source]
- __init__(circuit: AbstractCircuit) None [source]
Stores information about all the measurements found in the provided circuit.
This class provides a method to recover the global record offset of a given measurement from local information about this measurement.
- Parameters:
circuit – the circuit instance to analyse.
Methods
__init__
(circuit)Stores information about all the measurements found in the provided circuit.
get_measurement_relative_offset
(...)Recover the record offset of the given local measurement description.