deltakit.circuit.Observable#
- class deltakit.circuit.Observable(observable_index: int, measurements: MeasurementRecord | Iterable[MeasurementRecord], *, tag: str | None = None)#
Bases:
objectA logical observable as defined by stim.
- Parameters:
observable_index (int) – Give a way of identifying this observable
measurements (MeasurementRecord | Iterable[MeasurementRecord]) – The measurement records which identify the logical observable.
tag (str | None) – An optional instruction tag.
Methods#
Updates stim_circuit with the stim circuit which includes this logical observable. |