RegistersΒΆ

The register template a code declares, and the register declarations that operation variants attach to their circuits, including the classical registers their checks are read from.

RegisterPurpose(*values)

Role a physical register plays in the QEC protocol.

RegisterScope(*values)

Lifetime / location classification for a physical register.

SyndromeSource(*values)

Identifier of a source of checks a readout declaration names.

CheckFrame(*values)

Moment of an operation at which a readout declaration names its checks.

RegisterTemplateEntry(name, size[, purpose, ...])

One named register declaration with size and purpose metadata.

PerCodeBlockTemplate(data_qreg, ...)

Register declarations instantiated once per code block.

GlobalTemplate([ancilla_qregs, cregs])

Register declarations shared across all code blocks.

RegisterTemplate(per_code_block, globals)

Composite of the per-block and global register-declaration tiers.

RegisterDecl(scope)

Base class for register declarations attached to operation variant bodies.

InheritedRegisterDecl(scope, target[, ...])

Declaration referencing a canonical register template entry.

DynamicRegisterDecl(scope, size[, purpose, ...])

Declaration of a register allocated on demand at compile time.

SyndromeCregDecl(name, source[, indices, ...])

Declaration of one syndrome classical register.

TransversalReadoutCregDecl(name, source[, ...])

Declaration of checks read from one classical register holding one bit per block qubit.