qecx.SyndromeSource¶
- class qecx.SyndromeSource(*values)¶
Bases:
StrEnumIdentifier of a source of checks a readout declaration names.
Each member identifies a parity-check matrix or a stabilizer / gauge generator set whose rows a readout declaration names as checks.
H_X - rows of the X-stabilizer check matrix of a CSS or subsystem-CSS code. H_Z - rows of the Z-stabilizer check matrix of a CSS or subsystem-CSS code. GAUGE_X - rows of the X-gauge check matrix of a subsystem-CSS code. GAUGE_Z - rows of the Z-gauge check matrix of a subsystem-CSS code. STABILIZER_GENERATORS - rows of the stabilizer-generator matrix of a stabilizer or subsystem-stabilizer code. GAUGE_GENERATORS - rows of the gauge-generator matrix of a subsystem-stabilizer code.