Subsystem quantum codes
A subsystem code protects logical information in one factor of an encoded space while allowing another factor, the gauge subsystem, to vary.
On this page
Explanation and significance
Gauge degrees of freedom can simplify which local operators need to be measured. The protected logical state is independent of the gauge state, so not every change inside the encoded space is a logical error. Gauge operators may fail to commute even though stabilizer constraints, derived from the center of the gauge group, commute.
Mechanism and mathematical structure
The encoded space has a factorization H_code≈H_logical tensor H_gauge. For a subsystem stabilizer code often written [[n,k,r,d]], k is the number of protected logical qubits and r counts gauge qubits. Gauge operators act trivially on the logical factor. Logical operators must be defined modulo gauge actions with care; bare and dressed representatives have different restrictions.
Fully worked reference example
If n=9, k=1 and r=4 in a chosen subsystem-code convention, the full encoded subspace dimension is 2^(k+r)=32, but only a two-dimensional factor carries protected logical information. The remaining factor has dimension 16. Treating all 32 dimensions as five protected logical qubits would misstate the code. Measuring a gauge operator can alter that 16-dimensional factor without measuring the protected logical qubit.
Limits and misconceptions
Gauge measurement does not grant permission to measure arbitrary noncommuting operators indiscriminately. The schedule must still recover stabilizer information and preserve the logical subsystem. More local checks may trade against decoding complexity and effective distance.
Scientific relationships
Generalizes stabilizer-subspace coding. Is used in Bacon-Shor and gauge-color constructions. Relates to gauge fixing for logical operations.
A four-qubit subsystem example
Place q0,q1 in the first row and q2,q3 in the second. Generate a gauge group with X0 X1, X2 X3, Z0 Z2, and Z1 Z3, including Pauli phases as needed. Its stabilizer center contains S_X=X0 X1 X2 X3 and S_Z=Z0 Z1 Z2 Z3. These two independent commuting constraints leave a four-dimensional subspace of the sixteen-dimensional physical Hilbert space. It factors into one protected logical qubit and one gauge qubit, giving a [[4,1,1,2]] subsystem code in this convention.
Choose protected bare logical operators X_L=X0 X2 and Z_L=Z0 Z1. They commute with every gauge generator and anticommute with each other because their overlap is q0 alone. Choose gauge operators X_G=X0 X1 and Z_G=Z0 Z2. They anticommute with each other, commute with the protected logical pair, and commute with both stabilizers. The same physical qubits thus support two algebraically independent operator pairs, but the recovery requirement protects only the logical pair. Every nonidentity single-qubit Pauli violates at least one stabilizer, while the displayed weight-two protected operators establish distance two.
An explicit tensor-factor basis
Take |0_L,0_G>=(|0000>+|1111>)/sqrt(2). It has eigenvalue +1 under Z_L, Z_G, S_X, and S_Z. Applying X_G produces |0_L,1_G>=(|1100>+|0011>)/sqrt(2). Applying X_L produces |1_L,0_G>=(|1010>+|0101>)/sqrt(2). Applying both produces |1_L,1_G>=(|0110>+|1001>)/sqrt(2). These four orthonormal vectors explicitly realize the logical-times-gauge factorization, with q0 the leftmost digit throughout.
An arbitrary protected state alpha|0_L>+beta|1_L> can be paired with either gauge basis state or with a gauge mixture. Measuring Z_G can change or resolve the gauge state without distinguishing alpha from beta, provided the operator is implemented ideally. Measuring physical Z0 instead is different: it anticommutes with S_X and is not simply an allowed measurement of the gauge factor. The phrase “gauge freedom” does not make every convenient single-qubit measurement harmless.
Bare and dressed logical representatives
A bare logical operator commutes with the entire gauge group. Multiplying it by a gauge operator can produce a dressed representative with the same protected logical action but a different action on the gauge factor. In the four-qubit example, X_L X_G=X1 X2. This dressed operator acts as logical X together with gauge X. It need not commute with Z_G, but it still represents the protected logical transformation when gauge changes are ignored. Confusing these two definitions can give an incorrect minimum-weight calculation or an incorrect commutation requirement.
The subsystem distance minimizes the weight of a nontrivial protected logical action among appropriate dressed representatives. It is not the minimum weight of every operator that changes the four-dimensional encoded subspace. X_G has weight two and changes a gauge state, yet it does not corrupt the protected logical qubit. The distinction is operational: a later computation that depends on a chosen gauge state may require gauge preparation even though the stored logical information survived.
Noncommuting gauge measurements and stable products
The gauges X0 X1 and Z0 Z2 anticommute. Measuring the latter after the former can randomize the earlier gauge eigenvalue. Nevertheless, their stabilizer products S_X and S_Z commute with every gauge generator. A schedule can measure all gauges of one type, combine their outcomes to infer the corresponding stabilizer, and then change to the other type. It must preserve which outcomes belonged to each compatible measurement set. Combining arbitrary signs from incompatible stages can manufacture a spurious stabilizer estimate.
For a product state of the logical and gauge factors, ideal gauge measurement leaves the logical reduced density operator unchanged. Even when the two factors are initially correlated, an unconditioned operation acting only on the gauge factor cannot change the logical reduced state. Conditioning on a particular gauge outcome can reveal pre-existing correlations, however, so statements about conditional logical states require care. The usual protected-subsystem construction is most transparent when logical inputs are prepared independently of the gauge state.
Detection differs from unknown-location correction
The four-qubit example can detect an arbitrary single-qubit Pauli because each violates a stabilizer. It cannot correct every such error at an unknown location. X0 and X2 have the same stabilizer syndrome, while their product X0 X2 is protected logical X. No syndrome-only choice can correct both without additional information. If the affected location is known to be q0, the competing X2 hypothesis is excluded, and one known erasure is correctable under the subsystem distance-two guarantee. This example makes the information advantage concrete without treating distance two as a guarantee of arbitrary single-error correction. A flagged location and an unlocated syndrome therefore lead to different recovery problems for the same physical code.
Sources
Verification scope
Citation identity checked ·
Preserve theoretical, simulated and experimentally demonstrated scope. No present-day performance ranking inferred.
Verification scope
Citation identity checked ·
Preserve theoretical, simulated and experimentally demonstrated scope. No present-day performance ranking inferred.