qecx.ECCycleVariant¶
- class qecx.ECCycleVariant(*, name, steps, repeat=1, fault_tolerant=None, description=None, references=())¶
Bases:
objectNamed error-correction-cycle variant composing syndrome-measurement steps.
A cycle variant chains syndrome-measurement rounds into a complete error-correction cycle: each step runs its measurement its own number of times, in step order, and the cycle-level
repeatruns the whole step sequence that many times.- Variables:
name (str) – Variant name; the handle other document sections use to address the variant.
steps (tuple[ECCycleStep, ...]) – Ordered measurement steps; at least one; sequence input is normalized to a tuple at construction.
repeat (int | ScalarRef) – Number of times the whole step sequence repeats: a concrete count of at least one, or a parametric reference resolving to such a count.
fault_tolerant (bool | None) – Whether the cycle provides fault-tolerance guarantees;
Nonerecords no claim, which is distinct from an explicitFalse.description (str | None) – Human-readable summary of the variant.
references (tuple[Reference, ...]) – Citations attached to the variant; sequence input is normalized to a tuple at construction.