qecx.RegisterPurpose

class qecx.RegisterPurpose(*values)

Bases: Enum

Role a physical register plays in the QEC protocol.

LOGICAL_DATA - encoded logical data. LOGICAL_MEASUREMENT - logical-measurement outcome. SYNDROME - syndrome extraction. VERIFICATION - fault-tolerance verification. FLAG - flag-FT protocols. CAT - cat-state ancilla. MAGIC_STATE - magic-state ancilla. TRANSVERSAL_READOUT - check readout holding one bit per block qubit read. CUSTOM - extension-point for protocols outside the named families.