qecx.RegisterScope¶
- class qecx.RegisterScope(*values)¶
Bases:
EnumLifetime / location classification for a physical register.
BLOCK - persistent per block; lives inside Block.data_register, Block.ancilla_registers, or Block.classical_registers. GLOBAL - persistent globally; lives inside the register state’s global_ancilla_registers / global_classical_registers stores. SCRATCH - transient, created per operation invocation. OUTPUT - dynamic, retained after the operation (e.g., syndrome outcomes).