Skip to main content
KetQat

Appearance

Topic · advanced

Subsystem Codes

Codes that store information in one tensor factor of the code space and leave the other, the gauge subsystem, free. Gauge freedom lets high-weight stabilizers be inferred from low-weight measurements and lets one switch between codes by gauge fixing.

ExpositionMachine-checkedUpdated 2026-12-01 · last verified 2026-12-01

AI-assisted text, machine-checked, not yet reviewed by a person. Citations resolve and an automated pass compared the statements with the cited sources. That is not peer review; check the sources for anything you depend on.

Overview

In a stabilizer code every degree of freedom of the code space carries logical information. A subsystem code deliberately gives some of them up: the code space factorises as HL⊗HG\mathcal{H}_L \otimes \mathcal{H}_G, information lives in the logical factor HL\mathcal{H}_L, and anything that happens to the gauge factor HG\mathcal{H}_G is ignored. The framework, operator quantum error correction, was set out by Kribs, Laflamme and Poulin and Nielsen and Poulin, and its stabilizer version, in which a non-abelian group of Pauli operators plays the role of the stabilizer, by Poulin.

Giving up gauge qubits costs rate, but it buys two things that hardware values. First, the gauge group can often be generated by very low-weight operators — two-qubit operators in the Bacon–Shor code — whose measured values multiply to the high-weight stabilizers, so syndrome extraction uses only short, local circuits. Second, choosing which gauge operators to fix moves between different stabilizer codes with different gate sets, a technique called gauge fixing.

Intuition

Take the nine qubits of Shor's code, arranged as a 3×33 \times 3 grid with the bit-flip blocks as columns. Shor's code fixes the vertical ZZZZ pairs in every column as stabilizers. But for correcting a single error, what matters about bit flips is only which row they occur in, because the ZZ-type checks that detect them run along pairs of rows. Two XX errors in the same row are invisible and harmless. So one can stop insisting that the vertical ZZZZ pairs have definite values: treat them, together with the horizontal XXXX pairs, as gauge operators. The checks that matter (products along whole rows and columns) are still products of these two-qubit gauge operators, and so can be learned by measuring pairs.

The price is that the gauge operators do not commute with each other, so their individual outcomes are random. Only their products in the centre of the gauge group, the stabilizers, have deterministic values on the code. A logical operator may now be multiplied by gauge operators without changing its effect on HL\mathcal{H}_L, which is why distances are computed over these dressed logical operators.

Prerequisites

Stabilizer codes, including the binary symplectic picture and the Clifford group; the Knill–Laflamme conditions. The related notion of a noiseless subsystem is the passive counterpart.

Mathematical Definitions

DefinitionSubsystem codeEstablished definition

General form. Let H\mathcal{H} be a finite-dimensional Hilbert space with a decomposition

H=(HL⊗HG)⊕K,\mathcal{H} = (\mathcal{H}_L \otimes \mathcal{H}_G) \oplus \mathcal{K} ,

and let PP be the projector onto HL⊗HG\mathcal{H}_L \otimes \mathcal{H}_G. Information is stored in the logical subsystem HL\mathcal{H}_L; HG\mathcal{H}_G is the gauge subsystem. A noise map E\mathcal{E} is correctable on HL\mathcal{H}_L if there is a trace-preserving completely positive map R\mathcal{R} such that for every state ρL\rho_L on HL\mathcal{H}_L and every state σG\sigma_G on HG\mathcal{H}_G

(R∘E)(ρL⊗σG)  ∝  ρL⊗σG′(\mathcal{R} \circ \mathcal{E})(\rho_L \otimes \sigma_G) \;\propto\; \rho_L \otimes \sigma'_G

for some state σG′\sigma'_G that may depend on σG\sigma_G and on the noise. When HG\mathcal{H}_G is one-dimensional this is an ordinary quantum error-correcting code. This is operator quantum error correction in the sense of Kribs, Laflamme and Poulin and Nielsen and Poulin; it unifies codes, decoherence-free subspaces and noiseless subsystems.

Stabilizer subsystem codes (Poulin). On nn qubits, choose a subgroup G≤Pn\mathcal{G} \le \mathcal{P}_n of the Pauli group, the gauge group, which may be non-abelian and is taken to contain iIiI. Its centre modulo phases gives the stabilizer group SS: an abelian subgroup with −I∉S-I \notin S such that ⟨iI⟩S\langle iI \rangle S is the set of elements of G\mathcal{G} that commute with all of G\mathcal{G}. Then

  • the code is the joint +1+1 eigenspace of SS, and it factorises as HL⊗HG\mathcal{H}_L \otimes \mathcal{H}_G with G\mathcal{G} acting on HG\mathcal{H}_G alone (see the structure theorem);
  • if SS has rr independent generators and G\mathcal{G}, modulo phases, is an F2\F_2-space of dimension r+2gr + 2g, the code has gg gauge qubits and k=n−r−gk = n - r - g logical qubits, written [[n,k,g,d]][[n, k, g, d]] (some authors write rr for the number of gauge qubits);
  • bare logical operators are Pauli operators that commute with all of G\mathcal{G} but are not in G\mathcal{G}; dressed logical operators are Pauli operators that commute with SS but are not in G\mathcal{G}, that is, bare logical operators multiplied by gauge operators;
  • the distance dd is the minimum weight of a dressed logical operator, d=min⁡{wt⁡(E):E∈N(S)∖G}d = \min \{ \operatorname{wt}(E) : E \in N(S) \setminus \mathcal{G} \}.

When G=⟨iI⟩S\mathcal{G} = \langle iI \rangle S there are no gauge qubits and this is a stabilizer code. The gauge operators need not be measured with deterministic outcomes, but products of them that lie in SS do have deterministic outcomes on the code; this is how a subsystem code with low-weight gauge generators can infer high-weight stabilizers, as in the Bacon–Shor code of Bacon.

Theorems

The general condition replaces the scalars of the Knill–Laflamme conditions by operators on the gauge factor.

TheoremError-correction conditions for subsystem codesPeer-reviewed result

Let E\mathcal{E} have operation elements {Ea}\{E_a\}. Then E\mathcal{E} is correctable on HL\mathcal{H}_L in the sense of the subsystem-code definition if and only if there are operators gabg_{ab} on HG\mathcal{H}_G with

P Ea†Eb P  =  IL⊗gabfor all a,b.P\, E_a\dagg E_b\, P \;=\; I_L \otimes g_{ab} \qquad \text{for all } a, b .

When HG\mathcal{H}_G is one-dimensional, gabg_{ab} is a number and this is the Knill–Laflamme condition. Because gabg_{ab} may be any operator on the gauge factor, the condition is weaker than the Knill–Laflamme condition for the code HL⊗HG\mathcal{H}_L \otimes \mathcal{H}_G viewed as a subspace: errors may act arbitrarily on the gauge subsystem.

Necessity was shown by Kribs, Laflamme and Poulin; Nielsen and Poulin proved sufficiency, stated the condition as necessary and sufficient, and gave an equivalent information-theoretic form. No proof record is attached here; for stabilizer subsystem codes the condition is evaluated explicitly in the structure theorem.

Holds when
  • Finite-dimensional H=(HL⊗HG)⊕K\mathcal{H} = (\mathcal{H}_L \otimes \mathcal{H}_G) \oplus \mathcal{K} with PP the projector onto HL⊗HG\mathcal{H}_L \otimes \mathcal{H}_G.
  • The noise is a completely positive map with operation elements {Ea}\{E_a\}; correctability is in the sense of the subsystem-code definition.

For stabilizer subsystem codes everything can be put in a normal form, from which the parameter count k=n−r−gk = n - r - g and the role of dressed operators follow.

TheoremStructure of stabilizer subsystem codesPeer-reviewed result

Let G\mathcal{G}, SS, rr and gg be as in the assumptions, k=n−r−gk = n - r - g, and let PP be the projector onto the joint +1+1 eigenspace CC of SS.

  1. Normal form. There is a Clifford unitary UU with UsiU†=ZiU s_i U\dagg = Z_i for i=1,…,ri = 1, \dots, r and
UGU†=⟨ iI, Z1,…,Zr, Xr+1,Zr+1,…,Xr+g,Zr+g ⟩.U \mathcal{G} U\dagg = \bigl\langle\, iI,\ Z_1, \dots, Z_r,\ X_{r+1}, Z_{r+1}, \dots, X_{r+g}, Z_{r+g} \,\bigr\rangle .
  1. Factorisation. Consequently UC=∣0⟩⊗r⊗(C2)⊗g⊗(C2)⊗kU C = \ket{0}^{\otimes r} \otimes (\C^2)^{\otimes g} \otimes (\C^2)^{\otimes k}, so C≅HG⊗HLC \cong \mathcal{H}_G \otimes \mathcal{H}_L with gg gauge qubits and kk logical qubits; G\mathcal{G} acts on HG\mathcal{H}_G only, and the Pauli operators on the last kk qubits, pulled back by UU, are bare logical operators.
  2. Compressed Pauli operators. For E∈PnE \in \mathcal{P}_n: if E∉N(S)E \notin N(S) then PEP=0P E P = 0; if E∈GE \in \mathcal{G} then PEP=IL⊗hP E P = I_L \otimes h for a unitary hh on HG\mathcal{H}_G (up to the identification of item 2); if E∈N(S)∖GE \in N(S) \setminus \mathcal{G} then PEP=L⊗hP E P = L \otimes h with LL a non-identity Pauli operator on HL\mathcal{H}_L, which is not of the form IL⊗h′I_L \otimes h'.
  3. Correctable Pauli errors and distance. A set {Ea}⊆Pn\{E_a\} \subseteq \mathcal{P}_n is correctable on HL\mathcal{H}_L if and only if Ea†Eb∉N(S)∖GE_a\dagg E_b \notin N(S) \setminus \mathcal{G} for all a,ba, b. Every operator supported on fewer than d=min⁡{wt⁡(E):E∈N(S)∖G}d = \min\{ \operatorname{wt}(E) : E \in N(S) \setminus \mathcal{G} \} qubits satisfies PEP=IL⊗hEP E P = I_L \otimes h_E, so the code corrects every error on at most ⌊(d−1)/2⌋\lfloor (d-1)/2 \rfloor qubits and the distance is attained by dressed, not bare, logical operators.

The gauge-group formalism is due to Poulin. The normal form in item 1 is the symplectic Gram–Schmidt decomposition of the image of G\mathcal{G}, realised by a Clifford unitary through the correspondence between Clifford gates and symplectic matrices (Calderbank, Rains, Shor and Sloane).

Holds when
  • G≤Pn\mathcal{G} \le \mathcal{P}_n contains iIiI; its image W⊆F22nW \subseteq \F_2^{2n} has radical W∩W⊥sW \cap W^{\perp_s} of dimension rr and dim⁡W=r+2g\dim W = r + 2g.
  • SS is generated by Hermitian lifts s1,…,srs_1, \dots, s_r of a basis of the radical, with −I∉S-I \notin S; another choice of signs selects another syndrome sector and gives an equivalent code.
  • Item 4 uses the operator error-correction conditions.
Proof · Proof of the structure theorem for stabilizer subsystem codes

Throughout, ⟨⋅,⋅⟩s\langle \cdot, \cdot \rangle_s is the symplectic inner product and Pauli operators are identified with vectors of F22n\F_2^{2n} up to phase.

Item 1. By the canonical-basis fact for subspaces, WW has a basis z1,…,zr,u1,v1,…,ug,vgz_1, \dots, z_r, u_1, v_1, \dots, u_g, v_g in which the ziz_i span the radical W∩W⊥sW \cap W^{\perp_s}, ⟨uj,vj⟩s=1\langle u_j, v_j \rangle_s = 1, and all other pairs are orthogonal. Choose the ziz_i to be the vectors of the given generators sis_i. By the extension fact this basis extends to a symplectic basis of F22n\F_2^{2n} by adding vectors x1,…,xrx_1, \dots, x_r with ⟨zi,xi′⟩s=δii′\langle z_i, x_{i'} \rangle_s = \delta_{ii'} and k=n−r−gk = n - r - g further hyperbolic pairs (al,bl)(a_l, b_l), all other products being zero. (The count is forced: a symplectic basis has nn pairs, and r+g+k=nr + g + k = n.)

Let MM be the linear map sending this basis to the standard one: xi↦e(Xi)x_i \mapsto e(X_i), zi↦e(Zi)z_i \mapsto e(Z_i) for i≤ri \le r; uj↦e(Xr+j)u_j \mapsto e(X_{r+j}), vj↦e(Zr+j)v_j \mapsto e(Z_{r+j}); al↦e(Xr+g+l)a_l \mapsto e(X_{r+g+l}), bl↦e(Zr+g+l)b_l \mapsto e(Z_{r+g+l}), where e(⋅)e(\cdot) is the binary vector. MM maps a symplectic basis to a symplectic basis, so it preserves the form and lies in Sp(2n,2)\mathrm{Sp}(2n, 2). Every element of Sp(2n,2)\mathrm{Sp}(2n, 2) is the action of some Clifford unitary U0U_0 on Pauli operators modulo phase (Clifford group; Calderbank, Rains, Shor and Sloane; Dehaene and De Moor). Then U0siU0†=±ZiU_0 s_i U_0\dagg = \pm Z_i, because sis_i is Hermitian and conjugation preserves Hermiticity. Multiplying U0U_0 by XiX_i on the left flips the sign of the image of sis_i and of no other si′s_{i'}, so a suitable product U=(∏i∈FXi) U0U = (\prod_{i \in F} X_i)\, U_0 satisfies UsiU†=ZiU s_i U\dagg = Z_i exactly. Since iI∈GiI \in \mathcal{G}, phases of the other generators do not matter, and UGU†U \mathcal{G} U\dagg is generated by iIiI and the images of zi,uj,vjz_i, u_j, v_j, which is the group displayed in the theorem.

Item 2. In the new frame SS is generated by Z1,…,ZrZ_1, \dots, Z_r, so its joint +1+1 eigenspace is ∣0⟩⊗r⊗(C2)⊗(n−r)\ket{0}^{\otimes r} \otimes (\C^2)^{\otimes (n - r)}. The remaining n−r=g+kn - r = g + k qubits split into the first gg (gauge) and the last kk (logical). The generators of UGU†U \mathcal{G} U\dagg act as ZiZ_i (trivially on the code, by the factor ∣0⟩⊗r\ket{0}^{\otimes r}) or as Pauli operators on the gauge qubits, so the gauge group acts on HG\mathcal{H}_G only. A Pauli operator on the last kk qubits commutes with every generator of UGU†U \mathcal{G} U\dagg and is not in it unless it is ∝I\propto I; pulled back by UU it is a bare logical operator.

Item 3. Work in the new frame, where P=∣0⟩⟨0∣⊗r⊗IG⊗ILP = \ketbra{0}{0}^{\otimes r} \otimes I_G \otimes I_L. Write E=λ E1⊗EG⊗ELE = \lambda\, E_1 \otimes E_G \otimes E_L with Pauli factors on the three groups of qubits. Then

PEP=λ ⟨0r∣E1∣0r⟩  ∣0⟩⟨0∣⊗r⊗EG⊗EL.P E P = \lambda\, \bra{0^r} E_1 \ket{0^r} \; \ketbra{0}{0}^{\otimes r} \otimes E_G \otimes E_L .

The number ⟨0r∣E1∣0r⟩\bra{0^r} E_1 \ket{0^r} is nonzero exactly when E1E_1 is a product of II and ZZ factors, i.e. when EE commutes with Z1,…,ZrZ_1, \dots, Z_r, i.e. when E∈N(S)E \in N(S); otherwise PEP=0P E P = 0. If E∈N(S)E \in N(S), E1E_1 is a product of ZiZ_i and hence lies in UGU†U \mathcal{G} U\dagg, as does EGE_G; so E∈GE \in \mathcal{G} if and only if EL∝IE_L \propto I. In that case PEP=IL⊗hP E P = I_L \otimes h with h∝EGh \propto E_G unitary. Otherwise ELE_L is a non-identity Pauli operator, and PEP∝EG⊗ELP E P \propto E_G \otimes E_L (gauge factor first). This is not of the form h′⊗ILh' \otimes I_L: if two nonzero product operators satisfy A⊗B=A′⊗B′A \otimes B = A' \otimes B', then B′B' is a multiple of BB, and ELE_L is not a multiple of ILI_L.

Item 4. For Pauli errors, item 3 shows that PEa†EbPP E_a\dagg E_b P has the form IL⊗gabI_L \otimes g_{ab} (with gab=0g_{ab} = 0 allowed) exactly when Ea†Eb∉N(S)∖GE_a\dagg E_b \notin N(S) \setminus \mathcal{G}, and the operator error-correction conditions turn this into correctability. An operator FF supported on fewer than dd qubits is a linear combination of Pauli operators of weight less than dd, none of which lies in N(S)∖GN(S) \setminus \mathcal{G}; by item 3 each compresses to IL⊗(⋅)I_L \otimes (\cdot), hence so does FF. Products of two errors on at most ⌊(d−1)/2⌋\lfloor (d-1)/2 \rfloor qubits act on fewer than dd qubits, so such errors are correctable. A minimum-weight element of N(S)∖GN(S) \setminus \mathcal{G} is a dressed logical operator, which shows that dd is computed over dressed operators: a bare logical operator may be strictly heavier than the lightest dressed one.

The decomposition is that of Poulin, written here as an explicit Clifford normal form.

Locality. For two-dimensional subsystem codes with spatially local gauge generators, Bravyi proved kd=O(n)k d = O(n) and d2=O(n)d^2 = O(n), and showed (non-constructively) that there are such codes on an L×LL \times L lattice with both kk and dd proportional to LL, using only nearest-neighbour XXXX and ZZZZ gauge generators plus some single-qubit ones. For local stabilizer codes the corresponding bound is the Bravyi–Poulin–Terhal bound kd2=O(n)k d^2 = O(n), so subsystem codes allow more logical qubits at a given distance in two dimensions.

Worked Examples

Quantum codeBacon–Shor codeEstablished definition

Layout. Qubits sit at the sites (i,j)(i, j), 1≤i,j≤m1 \le i, j \le m, of an m×mm \times m grid, n=m2n = m^2. Rows are indexed by ii, columns by jj.

Gauge group. Generated by

Xi,jXi,j+1(horizontal neighbours),Zi,jZi+1,j(vertical neighbours),X_{i,j} X_{i,j+1} \quad (\text{horizontal neighbours}), \qquad Z_{i,j} Z_{i+1,j} \quad (\text{vertical neighbours}),

2m(m−1)2m(m-1) operators of weight 2. An XXXX pair and a ZZZZ pair that share one site anticommute, so the gauge group is non-abelian.

Stabilizer. The products

∏i=1mXi,jXi,j+1(j=1,…,m−1),∏j=1mZi,jZi+1,j(i=1,…,m−1)\prod_{i=1}^{m} X_{i,j} X_{i,j+1} \quad (j = 1, \dots, m-1), \qquad \prod_{j=1}^{m} Z_{i,j} Z_{i+1,j} \quad (i = 1, \dots, m-1)

act as XX on two adjacent columns and as ZZ on two adjacent rows, weight 2m2m. They commute with every gauge generator (a column pair meets a vertical ZZZZ pair in zero or two sites) and generate the stabilizer, r=2(m−1)r = 2(m-1).

Parameters. The gauge group has dimension r+2gr + 2g over F2\F_2 with g=(m−1)2g = (m-1)^2 gauge qubits, so by the structure theorem

k=n−r−g=m2−2(m−1)−(m−1)2=1.k = n - r - g = m^2 - 2(m-1) - (m-1)^2 = 1 .

Bare logical operators are Xˉ=∏iXi,1\bar X = \prod_i X_{i,1} (a full column of XX) and Zˉ=∏jZ1,j\bar Z = \prod_j Z_{1,j} (a full row of ZZ); they share one site and anticommute. The distance is mm: the code is [[m2,1,(m−1)2,m]][[m^2, 1, (m-1)^2, m]]. (For m=3,4,5m = 3, 4, 5 the values of rr, gg and kk, and for m=3m = 3 the dressed distance 3, were checked by direct computation.)

How it is used. Only the weight-2 gauge operators are measured; the eigenvalue of each weight-2m2m stabilizer is the product of the mm gauge outcomes that compose it, which is deterministic on the code even though each gauge outcome is random. The XX checks see only the parity of ZZ errors in each column, and the ZZ checks the parity of XX errors in each row; each is a repetition code of length mm on those parities.

Performance. For a single block with perfect syndromes and independent XX and ZZ errors of probability pp, lengthening the rows improves protection against one error type and degrades it against the other, so there is no threshold for the family. The best square block has p m≈(ln⁡2)/4≈0.173p\, m \approx (\ln 2)/4 \approx 0.173, and its logical failure probability is approximately 1.02p e−0.0601/p1.02 \sqrt{p}\, e^{-0.0601 / p}; at p=10−3p = 10^{-3} the optimal mm is 173 and the failure probability about 2.6×10−282.6 \times 10^{-28} (Napp and Preskill, who also treat biased noise with rectangular blocks). Used as the code of a concatenated scheme, the Bacon–Shor code allows fault-tolerant error correction without entangled ancilla states, using nearest-neighbour two-qubit measurements, and Aliferis and Cross prove a threshold lower bound of 1.94×10−41.94 \times 10^{-4} for adversarial stochastic noise.

History. Subsystem codes of this kind were introduced by Bacon, motivated by self-correcting quantum memories; the two-dimensional form above is the one used for fault tolerance by Aliferis and Cross and analysed by Napp and Preskill. For m=3m = 3, fixing the gauge so that the vertical ZZZZ pairs become stabilizers gives back the Shor code.

Counting and correcting in the 3 × 3 Bacon–Shor code

With m=3m = 3: n=9n = 9, the gauge group has 6 horizontal XXXX and 6 vertical ZZZZ generators, independent over F2\F_2, so dim⁡W=12\dim W = 12. The stabilizer has r=2(m−1)=4r = 2(m-1) = 4 generators: XX on columns 1–2, XX on columns 2–3, ZZ on rows 1–2 and ZZ on rows 2–3. So 12=r+2g12 = r + 2g gives g=4g = 4 and k=9−4−4=1k = 9 - 4 - 4 = 1: the code is [[9,1,4,3]][[9, 1, 4, 3]].

Suppose an XX error hits site (2,2)(2, 2). Measure the six vertical ZZZZ pairs. Each outcome on its own can be random, because the vertical pairs do not commute with the horizontal XXXX gauge operators; the error flips the outcomes of Z1,2Z2,2Z_{1,2} Z_{2,2} and Z2,2Z3,2Z_{2,2} Z_{3,2} relative to what they would have been. The stabilizer "ZZ on rows 1–2" is the product of the three vertical pairs between rows 1 and 2, and its inferred value, the product of those three outcomes, is deterministic on the code: here it reads −1-1. Likewise "ZZ on rows 2–3" reads −1-1. The syndrome (−1,−1)(-1, -1) says that row 2 has odd XX parity. The decoder applies XX to any site of row 2, say (2,1)(2, 1). The net operator X2,1X2,2X_{2,1} X_{2,2} is a gauge operator, so the logical information is restored even though the physical state differs from the original by a gauge transformation.

The distance must be dressed

For m=3m = 3 a direct search over all Pauli operators finds that the lightest element of N(S)∖GN(S) \setminus \mathcal{G} has weight 3; one example is Y1,1Y1,2Z1,3Y_{1,1} Y_{1,2} Z_{1,3}, which up to phase is the bare Zˉ\bar Z on row 1 multiplied by the gauge operator X1,1X1,2X_{1,1} X_{1,2}. Here the bare and dressed minima coincide. In general every bare logical operator is also dressed, so the dressed minimum can only be smaller, and it is the dressed minimum that measures protection, because gauge operators act trivially on HL\mathcal{H}_L.

Applications

  • Simple fault-tolerant error correction. Measuring two-qubit gauge operators needs no entangled ancilla states, and Aliferis and Cross proved a threshold lower bound of 1.94×10−41.94 \times 10^{-4} for concatenated Bacon–Shor codes under adversarial stochastic noise.
  • Biased noise. Rectangular mX×mZm_X \times m_Z Bacon–Shor blocks set the XX and ZZ distances independently; Napp and Preskill find the optimal block shapes for independent and highly biased noise.
  • Lower-weight checks for surface codes. The subsystem surface code of Bravyi, Duclos-Cianci, Poulin and Suchara measures only three-qubit gauge operators.
  • Gauge fixing. Measuring a commuting set of gauge operators and treating the outcomes as stabilizers turns a subsystem code into a stabilizer code, and different choices give different codes. Paetznick and Reichardt used this to obtain a universal fault-tolerant gate set using only transversal gates and error correction. Bombín introduced three-dimensional gauge color codes, whose two gauge fixings have transversal non-Clifford and transversal Clifford gates respectively; see Color Codes and Logical Gates. Vuillot et al. showed that code deformation and lattice surgery can be described as gauge fixing.
  • Single-shot error correction. Usually syndromes must be measured about dd times to tolerate measurement errors. In single-shot schemes one round of noisy measurements suffices to keep the residual error under control. Bombín showed that three-dimensional gauge color codes allow single-shot error correction, with gauge redundancy supplying the needed checks on the measured syndromes, and Campbell gave a general theory for adversarial noise based on redundancy and soundness of the measured checks.

Limitations and Common Pitfalls

  • Bare versus dressed. Computing the distance from bare logical operators overestimates it. The minimum is over N(S)∖GN(S) \setminus \mathcal{G}.
  • Gauge outcomes are random. Individual gauge measurements carry no syndrome information; only products lying in the stabilizer do. Decoders that treat gauge outcomes as syndromes are wrong.
  • One Bacon–Shor block has no threshold. Even with perfect measurements, growing a single square block eventually increases the failure probability, because each error type is protected by a repetition code whose bits are the parities of ever longer rows or columns (Napp and Preskill). This concerns a single growing block; at a fixed size matched to the noise its performance can be very good, and concatenation has a proven threshold.
  • Rate. Gauge qubits occupy physical qubits without storing information; the benefit is in circuit depth, locality and gate options, not in qubit count.
  • Gauge fixing is not free. Switching codes requires measuring gauge operators whose outcomes are random and must be corrected for, and the codes involved (for instance three-dimensional color codes) can carry large overheads.

Poulin is the reference for the stabilizer formalism of subsystem codes; Nielsen and Poulin for the general correctability conditions and their information-theoretic form.

Builds on

Open in the knowledge graph

Contributions about this record

Nobody has published a contribution about it yet.

Publish a result, reproduction or commentPropose a correction to this page

References

  1. David Kribs, Raymond Laflamme, David Poulin (2005). Unified and Generalized Approach to Quantum Error Correction. Physical Review Letters 94, 180501. doi:10.1103/PhysRevLett.94.180501arXiv:quant-ph/0412076
  2. Michael A. Nielsen, David Poulin (2007). Algebraic and information-theoretic conditions for operator quantum error correction. Physical Review A 75, 064304. doi:10.1103/PhysRevA.75.064304arXiv:quant-ph/0506069
  3. David Poulin (2005). Stabilizer Formalism for Operator Quantum Error Correction. Physical Review Letters 95, 230504. doi:10.1103/PhysRevLett.95.230504arXiv:quant-ph/0508131
  4. Dave Bacon (2006). Operator quantum error-correcting subsystems for self-correcting quantum memories. Physical Review A 73, 012340. doi:10.1103/PhysRevA.73.012340arXiv:quant-ph/0506023
  5. Panos Aliferis, Andrew W. Cross (2007). Subsystem Fault Tolerance with the Bacon-Shor Code. Physical Review Letters 98, 220502. doi:10.1103/PhysRevLett.98.220502arXiv:quant-ph/0610063
  6. John Napp, John Preskill (2013). Optimal Bacon-Shor codes. Quantum Information and Computation 13 (5&6), 490-510. doi:10.26421/QIC13.5-6-9arXiv:1209.0794
  7. Sergey Bravyi (2011). Subsystem codes with spatially local generators. Physical Review A 83, 012320. doi:10.1103/PhysRevA.83.012320arXiv:1008.1029
  8. Sergey Bravyi, Guillaume Duclos-Cianci, David Poulin, Martin Suchara (2013). Subsystem surface codes with three-qubit check operators. Quantum Information and Computation 13 (11&12), 963-985. doi:10.26421/QIC13.11-12-4arXiv:1207.1443
  9. Adam Paetznick, Ben W. Reichardt (2013). Universal Fault-Tolerant Quantum Computation with Only Transversal Gates and Error Correction. Physical Review Letters 111, 090505. doi:10.1103/PhysRevLett.111.090505arXiv:1304.3709
  10. Héctor Bombín (2015). Gauge color codes: optimal transversal gates and gauge fixing in topological stabilizer codes. New Journal of Physics 17, 083002. doi:10.1088/1367-2630/17/8/083002arXiv:1311.0879
  11. Christophe Vuillot, Lingling Lao, Ben Criger, … Barbara M. Terhal (2019). Code deformation and lattice surgery are gauge fixing. New Journal of Physics 21, 033028. doi:10.1088/1367-2630/ab0199arXiv:1810.10037
  12. Héctor Bombín (2015). Single-Shot Fault-Tolerant Quantum Error Correction. Physical Review X 5, 031043. doi:10.1103/PhysRevX.5.031043arXiv:1404.5504
  13. Earl T. Campbell (2019). A theory of single-shot error correction for adversarial noise. Quantum Science and Technology 4, 025006. doi:10.1088/2058-9565/aafc8farXiv:1805.09271
  14. Sergey Bravyi, David Poulin, Barbara Terhal (2010). Tradeoffs for reliable quantum information storage in 2D systems. Physical Review Letters 104, 050503. doi:10.1103/PhysRevLett.104.050503arXiv:0909.5200
  15. A. R. Calderbank, E. M. Rains, P. W. Shor, N. J. A. Sloane (1998). Quantum error correction via codes over GF(4). IEEE Transactions on Information Theory 44 (4), 1369-1387. doi:10.1109/18.681315arXiv:quant-ph/9608006
  16. Jeroen Dehaene, Bart De Moor (2003). Clifford group, stabilizer states, and linear and quadratic operations over GF(2). Physical Review A 68, 042318. doi:10.1103/PhysRevA.68.042318arXiv:quant-ph/0304125

Contributors

  • KetQat maintainers · @ketqatConceptualization; Supervision (CRediT roles)
  • Claude (AI drafting assistant)Writing, original draft (CRediT roles)

Review history

  1. Automated source check · Pass · 2026-12-01 · Independent automated verification pass (AI, not the drafting session)

    Topic's own text checked. Worked examples recomputed (3x3 Bacon-Shor: dim W = 12, r = 4, g = 4, k = 1; syndrome of X on (2,2) and the gauge-equivalent correction; dressed weight-3 operator Y11 Y12 Z13 lies in N(S) minus G, confirmed by own GF(2) search). Claims compared with abstracts or full texts: Bravyi arXiv:1008.1029 (kd = O(n), d^2 = O(n), non-constructive k, d ~ L codes with XX/ZZ plus one-qubit generators), Bravyi-Poulin-Terhal arXiv:0909.5200 (kd^2 = O(n)), Aliferis-Cross quant-ph/0610063 (1.94e-4), Napp-Preskill 1209.0794, Bravyi et al. 1207.1443 (three-qubit checks), Paetznick-Reichardt 1304.3709, Bombin 1311.0879 and 1404.5504, Vuillot et al. 1810.10037, Campbell 1805.09271, plus KLP, Nielsen-Poulin and Poulin as for the embedded records. All reference metadata matched Crossref. Embedded records carry their own review states and were checked separately.

Revision history

  1. 2026-12-01Content release 2.1.0: 35 more topics, an independent source check of every record, intake hardening (#17)80537b7e
  2. 2026-11-30KetQat Commons: free learning paths, knowledge records, research problems, literature intake (#14)571c9b10

Current revision 80821722950965bc. Source file knowledge/records/topic/subsystem-codes.md in the content repository (readable there once it is public).