qecx.ECCycleStep

class qecx.ECCycleStep(measurement, repeat=1)

Bases: object

One syndrome-measurement step of an error-correction cycle.

A step runs one syndrome-measurement variant a number of times before the cycle moves to the next step. The variant is held as a live object reference.

Variables:
  • measurement (SyndromeMeasurementVariant) – Syndrome-measurement variant the step runs; must be a registered syndrome-measurement variant of the owning document, checked at document registration.

  • repeat (int | ScalarRef) – Number of consecutive runs of the step: a concrete count of at least one, or a parametric reference resolving to such a count.