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 , information lives in the logical factor , and anything that happens to the gauge factor 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 grid with the bit-flip blocks as columns. Shor's code fixes the vertical 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 -type checks that detect them run along pairs of rows. Two errors in the same row are invisible and harmless. So one can stop insisting that the vertical pairs have definite values: treat them, together with the horizontal 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 , 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
General form. Let be a finite-dimensional Hilbert space with a decomposition
and let be the projector onto . Information is stored in the logical subsystem ; is the gauge subsystem. A noise map is correctable on if there is a trace-preserving completely positive map such that for every state on and every state on
for some state that may depend on and on the noise. When 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 qubits, choose a subgroup of the Pauli group, the gauge group, which may be non-abelian and is taken to contain . Its centre modulo phases gives the stabilizer group : an abelian subgroup with such that is the set of elements of that commute with all of . Then
- the code is the joint eigenspace of , and it factorises as with acting on alone (see the structure theorem);
- if has independent generators and , modulo phases, is an -space of dimension , the code has gauge qubits and logical qubits, written (some authors write for the number of gauge qubits);
- bare logical operators are Pauli operators that commute with all of but are not in ; dressed logical operators are Pauli operators that commute with but are not in , that is, bare logical operators multiplied by gauge operators;
- the distance is the minimum weight of a dressed logical operator, .
When 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 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.
Let have operation elements . Then is correctable on in the sense of the subsystem-code definition if and only if there are operators on with
When is one-dimensional, is a number and this is the Knill–Laflamme condition. Because may be any operator on the gauge factor, the condition is weaker than the Knill–Laflamme condition for the code 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.
- Finite-dimensional with the projector onto .
- The noise is a completely positive map with operation elements ; 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 and the role of dressed operators follow.
Let , , and be as in the assumptions, , and let be the projector onto the joint eigenspace of .
- Normal form. There is a Clifford unitary with for and
- Factorisation. Consequently , so with gauge qubits and logical qubits; acts on only, and the Pauli operators on the last qubits, pulled back by , are bare logical operators.
- Compressed Pauli operators. For : if then ; if then for a unitary on (up to the identification of item 2); if then with a non-identity Pauli operator on , which is not of the form .
- Correctable Pauli errors and distance. A set is correctable on if and only if for all . Every operator supported on fewer than qubits satisfies , so the code corrects every error on at most 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 , realised by a Clifford unitary through the correspondence between Clifford gates and symplectic matrices (Calderbank, Rains, Shor and Sloane).
- contains ; its image has radical of dimension and .
- is generated by Hermitian lifts of a basis of the radical, with ; 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, is the symplectic inner product and Pauli operators are identified with vectors of up to phase.
Item 1. By the canonical-basis fact for subspaces, has a basis in which the span the radical , , and all other pairs are orthogonal. Choose the to be the vectors of the given generators . By the extension fact this basis extends to a symplectic basis of by adding vectors with and further hyperbolic pairs , all other products being zero. (The count is forced: a symplectic basis has pairs, and .)
Let be the linear map sending this basis to the standard one: , for ; , ; , , where is the binary vector. maps a symplectic basis to a symplectic basis, so it preserves the form and lies in . Every element of is the action of some Clifford unitary on Pauli operators modulo phase (Clifford group; Calderbank, Rains, Shor and Sloane; Dehaene and De Moor). Then , because is Hermitian and conjugation preserves Hermiticity. Multiplying by on the left flips the sign of the image of and of no other , so a suitable product satisfies exactly. Since , phases of the other generators do not matter, and is generated by and the images of , which is the group displayed in the theorem.
Item 2. In the new frame is generated by , so its joint eigenspace is . The remaining qubits split into the first (gauge) and the last (logical). The generators of act as (trivially on the code, by the factor ) or as Pauli operators on the gauge qubits, so the gauge group acts on only. A Pauli operator on the last qubits commutes with every generator of and is not in it unless it is ; pulled back by it is a bare logical operator.
Item 3. Work in the new frame, where . Write with Pauli factors on the three groups of qubits. Then
The number is nonzero exactly when is a product of and factors, i.e. when commutes with , i.e. when ; otherwise . If , is a product of and hence lies in , as does ; so if and only if . In that case with unitary. Otherwise is a non-identity Pauli operator, and (gauge factor first). This is not of the form : if two nonzero product operators satisfy , then is a multiple of , and is not a multiple of .
Item 4. For Pauli errors, item 3 shows that has the form (with allowed) exactly when , and the operator error-correction conditions turn this into correctability. An operator supported on fewer than qubits is a linear combination of Pauli operators of weight less than , none of which lies in ; by item 3 each compresses to , hence so does . Products of two errors on at most qubits act on fewer than qubits, so such errors are correctable. A minimum-weight element of is a dressed logical operator, which shows that 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 and , and showed (non-constructively) that there are such codes on an lattice with both and proportional to , using only nearest-neighbour and gauge generators plus some single-qubit ones. For local stabilizer codes the corresponding bound is the Bravyi–Poulin–Terhal bound , so subsystem codes allow more logical qubits at a given distance in two dimensions.
Worked Examples
Layout. Qubits sit at the sites , , of an grid, . Rows are indexed by , columns by .
Gauge group. Generated by
operators of weight 2. An pair and a pair that share one site anticommute, so the gauge group is non-abelian.
Stabilizer. The products
act as on two adjacent columns and as on two adjacent rows, weight . They commute with every gauge generator (a column pair meets a vertical pair in zero or two sites) and generate the stabilizer, .
Parameters. The gauge group has dimension over with gauge qubits, so by the structure theorem
Bare logical operators are (a full column of ) and (a full row of ); they share one site and anticommute. The distance is : the code is . (For the values of , and , and for 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- stabilizer is the product of the gauge outcomes that compose it, which is deterministic on the code even though each gauge outcome is random. The checks see only the parity of errors in each column, and the checks the parity of errors in each row; each is a repetition code of length on those parities.
Performance. For a single block with perfect syndromes and independent and errors of probability , 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 , and its logical failure probability is approximately ; at the optimal is 173 and the failure probability about (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 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 , fixing the gauge so that the vertical pairs become stabilizers gives back the Shor code.
Counting and correcting in the 3 × 3 Bacon–Shor code
With : , the gauge group has 6 horizontal and 6 vertical generators, independent over , so . The stabilizer has generators: on columns 1–2, on columns 2–3, on rows 1–2 and on rows 2–3. So gives and : the code is .
Suppose an error hits site . Measure the six vertical pairs. Each outcome on its own can be random, because the vertical pairs do not commute with the horizontal gauge operators; the error flips the outcomes of and relative to what they would have been. The stabilizer " 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 . Likewise " on rows 2–3" reads . The syndrome says that row 2 has odd parity. The decoder applies to any site of row 2, say . The net operator 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 a direct search over all Pauli operators finds that the lightest element of has weight 3; one example is , which up to phase is the bare on row 1 multiplied by the gauge operator . 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 .
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 for concatenated Bacon–Shor codes under adversarial stochastic noise.
- Biased noise. Rectangular Bacon–Shor blocks set the and 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 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 .
- 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.
Related Research
Poulin is the reference for the stabilizer formalism of subsystem codes; Nielsen and Poulin for the general correctability conditions and their information-theoretic form.