tqec.circuit.measurement.AbstractMeasurement#
- class AbstractMeasurement[source]#
- __init__()#
Methods
__init__
()map_qubit
(qubit_map)Returns a new instance representing a measurement on the qubit obtained from self.qubit and the provided qubit_map.
offset_spatially_by
(x, y)Returns a new instance offset by the provided spatial coordinates.
offset_temporally_by
(t)Returns a new instance offset by the provided temporal coordinates.