deltakit.circuit.ShiftCoordinates#
- class deltakit.circuit.ShiftCoordinates(coordinate_shift: Iterable[int | float], *, tag: str | None = None)#
Bases:
objectAnnotates a shift in the coordinates within a stim circuit. This modifies coordinates associated to detectors and the user is required to put each shift coordinate in manually.
- Parameters:
coordinate_shift (Iterable[int | float]) – The coordinate shift to impose. Note that this is the delta and not the absolute coordinate.
Methods#
Updates stim_circuit with the single stim circuit which contains this single coordinate shift |