Overview
A stabilizer code stores logical qubits in physical qubits as the common eigenspace of commuting, independent Pauli operators. These operators, the stabilizer generators, play the role of the parity checks of a classical linear code: measuring them yields a syndrome that identifies an error without revealing the encoded state. Almost every code used in practice — the Shor, Steane and five-qubit codes, surface codes, color codes and quantum LDPC codes — is a stabilizer code.
The formalism was developed by Gottesman and, in the language of binary symplectic geometry, by Calderbank, Rains, Shor and Sloane. Its value is that the general theory of quantum error correction becomes concrete: the Knill–Laflamme conditions become commutation checks, the code distance becomes a minimum weight, and circuits of Clifford gates acting on such codes can be simulated efficiently on a classical computer.
Intuition
Start with the three-qubit bit-flip code, spanned by and . Both states are left unchanged by and by , and they are the only states (up to superposition) with that property. So the code can be defined by these two operators instead of by its basis states. An error anticommutes with and commutes with ; after the error, measuring the two operators gives , which points to qubit 1. The measurement only asks "which of the commuting checks did the error flip?", a question with the same answer for every encoded state, so it does not disturb the superposition.
Three observations make this a general method.
- Commuting checks have joint eigenspaces. Any set of commuting Pauli operators can be measured together, and each independent check halves the space: checks on qubits leave dimensions.
- Pauli errors either commute or anticommute with each check. So each check reports one bit, and an error's syndrome is a linear function of the error.
- Some errors are invisible. A Pauli operator that commutes with every check but is not itself a product of checks changes the encoded information undetectably. Such operators are the logical operators, and the smallest number of qubits one acts on is the distance.
The lesson The stabilizer formalism works through these ideas with circuits; The repetition code is the simplest instance.
Prerequisites
The Knill–Laflamme conditions and code parameters from Quantum Error Correction; linear codes, parity-check matrices and dual codes from Classical Error-Correcting Codes; linear algebra over .
Mathematical Definitions
Everything rests on the Pauli group and its identification, modulo phases, with the binary vector space , in which commutation is measured by the symplectic inner product.
The single-qubit Pauli matrices are
with , , , and any two distinct non-identity Pauli matrices anticommute. The -qubit Pauli group is
a group of order under matrix multiplication. Subscripts name the qubit acted on: is on qubit and elsewhere. The support of is and its weight is the size of the support.
Binary representation. For put . Every element of equals for a unique and a unique pair , and the map
is a surjective group homomorphism with kernel . It identifies with : multiplying Pauli operators adds their vectors. On one qubit, , , and . The weight of is the symplectic weight of its vector.
Commutation. For and ,
where is the symplectic inner product. Indeed and differ by commuting past and past , which costs a sign and respectively. Any two Pauli operators therefore either commute or anticommute.
A list of Pauli operators is written as an binary matrix whose rows are their vectors, the check matrix; signs are recorded separately. Every element of is unitary, and it is Hermitian exactly when its phase is in the form , in which case it squares to . This representation is the one used by Gottesman and by Calderbank, Rains, Shor and Sloane; a textbook treatment is section 10.5 of Nielsen and Chuang.
A stabilizer group on qubits is a subgroup of the Pauli group that is abelian and does not contain . The stabilizer code of is
Because , every element of has the form (an element would square to ), so it is Hermitian with eigenvalues . A set of generators is independent if no is a product of the others; equivalently, their binary vectors are linearly independent in . Then , and with the code has dimension (dimension theorem): it is an code.
Syndrome. For a Pauli operator , the syndrome with respect to the generators is the vector with . If then is an eigenvector of every with eigenvalue , so measuring the generators reveals and nothing about .
Normalizer and logical operators. The centralizer is the set of Pauli operators with zero syndrome. Since two Pauli operators commute or anticommute, and for , it equals the normalizer ; both names are used. Elements of map to itself. Those in , up to phase, act trivially on it; those in are nontrivial logical operators: they preserve the code space and act on it as a non-identity operator. The quotient is isomorphic to the -qubit Pauli group modulo phases, and one can choose logical operators in that obey the commutation relations of .
Distance. For the distance of the code is the minimum weight of an element of ; the distance theorem shows that this agrees with the general definition of the distance of a quantum code. The code is degenerate if contains a non-identity element of weight less than . The parameters are written .
In the binary representation, becomes an isotropic subspace of dimension and becomes its symplectic complement , of dimension . A matrix whose rows span is a check matrix of the code. The formalism is due to Gottesman and, in the language of orthogonal geometry, to Calderbank, Rains, Shor and Sloane.
The Clifford group on qubits is
the normalizer of the Pauli group in the unitary group, with unitaries that differ by a global phase identified. Its elements are Clifford gates, and a circuit made of them is a Clifford circuit.
Generators. With , and , the conjugation rules are
| gate | ||
|---|---|---|
| , | , |
and every element of is a product of , and gates on the qubits, up to a global phase (Gottesman; section 10.5.2 of Nielsen and Chuang). The CNOT row shows how errors spread: an error on the control is copied to the target, and a error on the target is copied to the control.
Symplectic action. A Clifford gate maps to (up to the phase convention for ), and is a linear map of that preserves the symplectic inner product, because conjugation preserves commutation. This gives a surjective homomorphism from onto the symplectic group whose kernel consists of the Pauli operators themselves; a Clifford gate is therefore specified, up to phase, by a binary symplectic matrix together with sign bits (Calderbank, Rains, Shor and Sloane; Dehaene and De Moor).
Uses. Clifford gates map stabilizer groups to stabilizer groups, so they map stabilizer codes to stabilizer codes and stabilizer states to stabilizer states; every stabilizer code has an encoding circuit made of Clifford gates (Gottesman). The Clifford group is the second level of the Clifford hierarchy, and Clifford circuits alone are classically simulable by the Gottesman–Knill theorem.
A stabilizer state is the case : a single state fixed by independent commuting Pauli operators. Mixtures of such states and the operations that preserve them are the free objects of the resource theory of magic (stabilizer operations).
Theorems
The first result is the counting that justifies calling the code .
Let be a stabilizer group on qubits with independent generators . For each let
Then for every , the subspaces are mutually orthogonal, and
In particular the stabilizer code has dimension and encodes qubits, and a Pauli operator with syndrome maps unitarily onto . The orthogonal projector onto is the stabilizer-code projector.
The statement is in Gottesman and, for the code space, Proposition 10.5 of Nielsen and Chuang.
- is abelian and .
- is generated by independent elements , .
Proof · Proof of the dimension of a stabilizer code
Put .
Step 1: the generators are commuting Hermitian involutions. Each lies in , which does not contain . An element of with phase squares to , so , which is Hermitian with . Hence are the projectors onto the eigenspaces of , and since the commute these projectors commute.
Step 2: the syndrome projectors. The projector onto is
For some factor appears as in one product and in the other, and , so . Summing over , each factor contributes , so . This gives the orthogonal direct sum.
Step 3: non-identity products are traceless. Let and . Its binary vector is , where is the vector of , and this is nonzero because the are linearly independent. So with at least one , and because . For the product is , with trace .
Step 4: count. Taking the trace of the expansion in Step 2,
Step 5: Pauli errors permute the syndrome spaces. If has syndrome , then , so for we get . Thus the unitary maps into , and since both have dimension it maps it onto. Every syndrome occurs: by linear independence the map from to is surjective, so for every there is a Pauli operator with syndrome . This last fact is not needed for the dimension count but confirms that no is special.
The dimension is stated in Section 3.2 of Gottesman; the trace computation above is a standard way to prove it. Compare the proof of Proposition 10.5 in Nielsen and Chuang.
The second equality is the expansion of the product, in which each subset of generators contributes one group element, and every element of arises from exactly one subset. Taking the trace gives (see the dimension theorem). The formula is used to evaluate in the Knill–Laflamme conditions: for a Pauli operator , when anticommutes with some element of , and when it commutes with all of them. It also shows that commutes with every element of the normalizer of , since conjugation by such an element permutes the terms of the sum (Gottesman).
- abelian, , with independent generators , so .
The second translates the Knill–Laflamme conditions into the language of the normalizer. It is the reason a stabilizer code's distance can be read off from its check matrix.
Let be a stabilizer code with stabilizer group , normalizer and , and write for together with its multiples by .
- Single operators. For , is proportional to if and only if . More precisely, if , with if , and is not a multiple of otherwise.
- Correctable sets. A set is correctable (satisfies the Knill–Laflamme conditions) if and only if for all .
- Distance. The distance of equals
- Syndrome decoding. Let . The recovery that measures the syndrome and applies a fixed Pauli operator of minimum weight among those with syndrome returns every state , , , to up to a global phase.
Item 3 is how distances of stabilizer codes are defined and computed in practice (Gottesman; Theorem 10.8 and the surrounding discussion in Nielsen and Chuang). Item 4 needs no knowledge of which error occurred beyond its syndrome: two errors of weight at most with the same syndrome differ by an element of .
- is an stabilizer code with and projector .
- The errors are elements of the Pauli group ; general errors are handled by linearity.
- Distance is meant in the general sense, the smallest support of an operator with not proportional to .
Proof · Proof of the error-correction condition for stabilizer codes
Let be independent generators of and the code projector.
Item 1. Case . Then anticommutes with some generator . Since ,
so .
Case . Then commutes with every generator, hence with , so . If with and , then .
Case . In the binary representation the vector of lies in but not in , where is the span of the generator vectors. Because the symplectic form is nondegenerate, , so there is a vector with . Let be a Pauli operator with vector . Then , so commutes with , and . Suppose . Then
so and . But is unitary and , so , a contradiction. Hence is not a multiple of .
Item 2. By item 1 applied to , the condition holds for every pair exactly when no product lies in . The Knill–Laflamme theorem turns this into correctability.
Item 3. Let be the minimum weight in ; it exists because makes this set nonempty. A minimum-weight element is an operator on qubits with by item 1, so the distance is at most . Conversely, let be any operator supported on a set of fewer than qubits. The Pauli operators supported in span all operators on , so with each a Pauli operator of weight less than . No such lies in , so by item 1 each is a multiple of , and so is . Hence the distance is at least .
Item 4. Let and . The fixed correction has syndrome and weight at most , by minimality. Then has zero syndrome, so it lies in , and its weight is at most , so by item 3 it lies in . Measuring the generators on yields with certainty and leaves the state unchanged (dimension theorem, step 5), and with . Applying (a Pauli operator, equal to up to phase) therefore restores up to a global phase. Since the Pauli operators of weight at most form a correctable set by item 2, the Knill–Laflamme theorem extends correctability to every noise map whose operation elements are linear combinations of them.
This is the standard argument of Gottesman; see also Theorem 10.8 of Nielsen and Chuang.
Under the identification of with the four elements of , qubit stabilizer codes are exactly the self-orthogonal additive codes over . This is the main route from classical algebraic codes to quantum ones.
Define by . On a single qubit this labels the Pauli matrices as .
- Dictionary. is an isomorphism of -vector spaces. It carries the symplectic weight to the Hamming weight and the symplectic inner product to the trace-Hermitian inner product: .
- Stabilizer codes. Let be the stabilizer of an stabilizer code, , and the image under of its binary representation. Then is an additive code with elements, , the normalizer of corresponds to , which has elements, and
Conversely every additive code with elements arises in this way from a stabilizer group, unique up to the signs of its generators. 3. Linear codes. If is -linear, then , the Hermitian dual. Hence a linear code with yields an stabilizer code with , provided .
This is the formulation of Calderbank, Rains, Shor and Sloane. Any of the six bijections between and the nonzero elements of would serve in item 1, because the trace-Hermitian form only records whether two symbols are distinct and nonzero. The labelling above is one common convention; the literature is not uniform, so check the convention before comparing generator matrices.
- Qubit stabilizer codes with logical qubits; the distance statement uses the characterisation of the distance by the normalizer.
- with , and the trace-Hermitian form .
Proof · Proof of the correspondence between stabilizer codes and additive codes over GF(4)
1. Dictionary. Since is a basis of over , the map is an -linear bijection, and its -th coordinate is nonzero exactly when , so weights correspond. Both forms are sums over coordinates, so it suffices to compare them for . With , using and ,
Taking the trace, with and , gives , the symplectic product of and .
2. Stabilizer codes. The binary representation of is an isotropic subspace of dimension : it is a subspace because the representation is a homomorphism, it has elements because the only scalar in is the identity, and it is isotropic because is abelian and commutation is measured by the symplectic form. By item 1, is additive with elements and . A Pauli operator commutes with all of exactly when its vector lies in , so the normalizer corresponds to , of size . The distance of the code is the least weight of a Pauli operator in the normalizer that is not, up to phase, in (distance of a stabilizer code), which translates to the displayed formula.
Conversely, given , let , choose a basis of and let be either of the two Hermitian Pauli operators with vector . The commute because is isotropic. A product of a nonempty subset of them has a nonzero vector, hence is not ; so the group they generate does not contain and is a stabilizer group with independent generators. Different sign choices give the groups whose code spaces are the joint eigenspaces of .
3. Linear codes. Let be -linear. The inclusion holds because . For the reverse, let and , and put . Then , and since also . The elements of trace zero are and , and , so . Hence .
Now let be linear of dimension with and put , a linear code of dimension with . Then , so item 2 gives a stabilizer code with logical qubits and distance , which is at least the minimum distance of .
Finally, the dynamics of stabilizer states under Clifford circuits is classically tractable.
Let a circuit on qubits begin in and consist of operations, each a Clifford gate on at most two qubits, a measurement of on one qubit, or a Clifford gate applied conditionally on earlier outcomes. Then a classical algorithm samples the outcomes of all measurements with exactly the probabilities given by quantum mechanics, using elementary operations per gate and per measurement, so in total.
At every stage the state is a stabilizer state: the unique state fixed by an abelian group with independent generators and (a stabilizer code with ). The algorithm stores the generators as a binary matrix with sign bits, the stabilizer tableau, and every measurement outcome is either deterministic or uniformly random.
The theorem is due to Gottesman, who credits Knill (Gottesman); it is section 10.5.4 of Nielsen and Chuang. Aaronson and Gottesman add the destabilizer generators to the tableau, which removes the Gaussian elimination and brings the cost of a measurement down to at the price of doubling the storage. They also show that simulating stabilizer circuits is complete for the classical complexity class , so it is believed to be strictly weaker than general polynomial-time classical computation.
- The circuit acts on qubits initialised in .
- Its operations are Clifford gates (, , CNOT, or any gate given by its action on Pauli operators), measurements of single-qubit (equivalently, of any Pauli operator), and gates chosen as functions of earlier outcomes.
- Simulation means sampling the joint distribution of measurement outcomes exactly, given access to unbiased random bits.
Proof · Proof of the Gottesman–Knill theorem
Stabilizer states are determined by their generators. If is abelian, and has independent generators, the dimension theorem with says that fixes a one-dimensional subspace, so it determines a unique state up to phase. Moreover the normalizer equals : in the binary representation, the span of the generators is isotropic of dimension , and has dimension and contains , so . Hence a Pauli operator that commutes with all of is for some , and since only one of lies in .
Initial state. is stabilized by .
Gates. If then , so is the stabilizer state with generators . These are again Pauli operators, independent and commuting because conjugation is an automorphism. For a gate on at most two qubits, each differs from only on those qubits and in its sign, and the new entries and sign follow from a fixed table (for , , CNOT, the table in the Clifford group record). Updating all generators costs .
Measurement of , random case. Suppose some generator, say , anticommutes with . Multiplying every other generator that anticommutes with by gives a generating set of the same group in which only anticommutes with ; this costs per generator, in all. Then
so and each outcome , , has probability . The post-measurement state is proportional to . It is fixed by and, because commutes with , by every . These operators commute, are independent (the are independent, and the vector of is not in their span because anticommutes with whereas every element of commutes with ), and their group does not contain because they fix a nonzero vector. So the simulator draws a fair random bit and replaces by .
Measurement of , deterministic case. Suppose commutes with every generator. By the first paragraph for exactly one , so and the outcome is with certainty; the state does not change. To find , solve over for the binary vector of by Gaussian elimination, operations, then multiply the generators with in order, tracking the overall phase; each product of two Pauli operators and its phase costs , so this step costs . The resulting product is .
Classical control and sampling. A conditional gate is simulated by evaluating the condition on the outcomes already sampled and applying the gate update if required. Processing the operations in order, each measurement outcome is drawn from its exact conditional distribution given all previous outcomes, so the joint distribution of the sampled outcomes is the quantum one. The total cost is per gate and per measurement.
Measuring a general Pauli operator reduces to the same two cases with in place of : it is random exactly when anticommutes with a generator. The argument is that of Gottesman, presented as in section 10.5 of Nielsen and Chuang; Aaronson and Gottesman replace the Gaussian elimination by maintaining destabilizer generators, which gives per measurement.
Worked Examples
Syndrome decoding in the five-qubit code
Stabilizer. Qubits ; generators
Each is the cyclic shift of the previous one by one position, and the fifth shift equals the product . Every pair of generators has non-identity Pauli matrices that differ on exactly two qubits, so every pair commutes; for instance and differ on qubits 2 and 4. The four binary vectors are linearly independent, so . All 15 non-identity elements of the stabilizer group have weight 4. (Pairwise commutation, independence, the weight distribution and the distance below were checked by direct computation.)
Logical operators. and commute with every generator and anticommute with each other. Lower-weight representatives exist: , so acts on the code space as .
Parameters. . No Pauli operator of weight 1 or 2 commutes with all four generators except the identity, and is a nontrivial logical operator of weight 3.
Syndromes. Writing the syndrome as with when the error anticommutes with :
| qubit | 1 | 2 | 3 | 4 | 5 |
|---|---|---|---|---|---|
| 0001 | 1000 | 1100 | 0110 | 0011 | |
| 1010 | 0101 | 0010 | 1001 | 0100 | |
| 1011 | 1101 | 1110 | 1111 | 0111 |
The 15 single-qubit errors have the 15 distinct nonzero syndromes, so the code is perfect: it meets the quantum Hamming bound with equality, . It also meets the quantum Singleton bound, , and is non-degenerate.
Properties. No element of the stabilizer group other than is purely -type or purely -type, so this stabilizer is not of CSS form; by the quantum Singleton bound no code with encodes a qubit with distance 3. The stabilizer is invariant under cyclic shifts of the qubits. Under the GF(4) correspondence the stabilizer is closed under the relabelling , which is multiplication by , so it is an -linear code with elements (Calderbank, Rains, Shor and Sloane); both facts were checked by enumerating the 16 group elements.
History. Found independently by Laflamme, Miquel, Paz and Zurek and by Bennett, DiVincenzo, Smolin and Wootters. The cyclic generators above are the form used by Gottesman and by Nielsen and Chuang.
Suppose the state suffers the error . Its binary vector is . Against , with vector , the symplectic product is , so . Repeating for the other generators gives the syndrome , which the table assigns to alone among single-qubit errors. The decoder applies and the state is restored. If instead two errors occurred, say , the syndrome is , the syndrome of . The decoder applies , and the net operator commutes with every generator. It is not in the stabilizer (every nontrivial stabilizer element has weight 4), so it is a nontrivial logical operator of weight 3: a logical error, as the distance predicts for a weight-2 error.
Counting the Steane code
Classical code. Let be the parity-check matrix of the Hamming code whose -th column is the binary expansion of :
Its row space is the simplex code , contained in the Hamming code .
Stabilizer. One -type and one -type generator for each row of :
An -type and a -type generator overlap on an even number of qubits (two, or four for ), because any two rows of are orthogonal over and each row has even weight; so all six commute. They are independent, so . The stabilizer group has 21 elements of weight 4 and 42 of weight 6. (These facts and the distance were checked by direct computation.)
Code states.
Logical operators. and ; weight-3 representatives are and , since is a Hamming codeword not in .
Parameters. , non-degenerate. The syndrome of the -type checks on an error at qubit is the column of , the binary expansion of , and likewise for the -type checks on a error; a error lights both. All 21 single-qubit errors have distinct nonzero syndromes.
Properties. It is the CSS code of the pair with (CSS codes). Bitwise CNOT between two blocks implements the logical CNOT, and bitwise implements the logical because the and checks are identical. Since every word of has weight 0 or 4 and every word of its complement has weight 3 or 7, the bitwise phase gate multiplies by 1 and by : it implements the logical , and implements . So the whole logical Clifford group is transversal (Gottesman). It is the smallest member of the triangular two-dimensional color codes; see the transversal Clifford theorem.
History. Introduced by Steane (see also), alongside the general construction of Calderbank and Shor. A textbook treatment is in chapter 10 of Nielsen and Chuang.
Here and there are six generators, so . The projector is the average of the stabilizer elements; the 63 non-identity elements are traceless, so , as the dimension theorem says. Since the -type checks equal the -type checks, an error and a error are decoded independently by the classical Hamming decoder: the syndrome of under the three -type checks is the fifth column of , , the binary expansion of 5.
A degenerate code
Code states. Group the qubits into blocks , , and put . Then
The outer layer is the three-qubit phase-flip code across blocks and the inner layer is the three-qubit bit-flip repetition code inside each block.
Stabilizer. Eight generators:
Each -type generator meets each -type generator in zero or two qubits, so all commute; the eight are independent, so . The stabilizer group contains 9 elements of weight 2 (the products within a block). (Pairwise commutation, independence, the weight distribution and the distance were checked by direct computation.)
Logical operators. With the code states above, , which maps to , and , which has eigenvalue on and on . Equivalent representatives are and . Some authors exchange the names of the two code states, which exchanges these roles.
Parameters. , degenerate. A bit flip is located by the two -type checks of its block. A phase flip changes the sign of its block, which is detected by the two -type checks; , and have the same syndrome and act identically on the code space, because and are stabilizers. Of the 27 single-qubit errors, the 18 of type and have distinct syndromes and the 9 of type share 3 syndromes, giving 21 distinct nonzero syndromes in all.
Properties. It is a CSS code and the simplest example of code concatenation. It is degenerate, so it is not bounded by the quantum Hamming bound argument for non-degenerate codes, although with these parameters it satisfies the bound anyway.
History. Introduced by Shor as the first code protecting a qubit against arbitrary single-qubit errors. The stabilizer description is in Gottesman and section 10.2 of Nielsen and Chuang.
The errors and have the same syndrome and , so a decoder that answers "" when happened still succeeds. This is the degeneracy permitted by item 2 of the distance theorem: the product of two errors may lie in the stabilizer.
Algorithms and Implementations
Syndrome extraction. A generator is measured with one ancilla prepared in , a controlled- from the ancilla to each qubit in the support of , and a final measurement of the ancilla in the basis. The circuit below measures of the five-qubit code.
The ancilla's outcome bit is . A single fault on the ancilla can spread to several data qubits through these controlled gates, which is why fault-tolerant syndrome extraction needs extra structure (see Fault-Tolerant Quantum Computing).
Encoding. Every stabilizer code has an encoding circuit made of Clifford gates. Gaussian elimination on the check matrix brings it to a standard form, from which Gottesman and Cleve and Gottesman read off encoders using gates, that is, gates per stabilizer generator. More generally, any Clifford circuit can be synthesised from its symplectic matrix (Dehaene and De Moor; Aaronson and Gottesman).
Simulation. Tableau simulators following Aaronson and Gottesman are the standard tool for estimating logical error rates of stabilizer codes under Pauli noise; the lesson on syndrome extraction with Stim uses one.
Applications
- Code construction. Classical self-orthogonal codes over or give stabilizer codes directly (CSS codes; Calderbank, Rains, Shor and Sloane). Gottesman constructed distance-3 codes , , which saturate the quantum Hamming bound: is the largest value it allows for .
- Fault tolerance. Syndrome measurement, logical Pauli frames and transversal Clifford gates are all expressed in this formalism; see Logical Gates.
- Generalisations. Gauge qubits give subsystem codes; sparse check matrices give quantum LDPC codes.
Computational Complexity
Deciding whether a stabilizer code has a nontrivial logical operator of weight at most contains, as the special case of CSS codes, the minimum-distance problem for classical linear codes, which is NP-hard. Decoding is also hard in the worst case: Hsieh and Le Gall proved that finding the most likely error for a general stabilizer code is NP-hard (NP-hardness of decoding), and degenerate maximum-likelihood decoding is harder still (#P-completeness of degenerate decoding). Distances of large families are therefore established by structure (topology, expansion) rather than by search. By contrast, simulating Clifford circuits is easy, by the Gottesman–Knill theorem.
Limitations and Common Pitfalls
- Signs matter. If the chosen generators multiply to , the "code" is the zero space. Independence of the binary vectors guarantees only when every generator is Hermitian; check signs explicitly when building codes.
- A logical representative's weight is not the distance. has weight 5 but the five-qubit code has distance 3, because the minimum is taken over the whole coset of the logical operator. Conversely, low-weight stabilizers indicate degeneracy, not low distance.
- Centralizer versus normalizer. For Pauli stabilizer groups not containing the two coincide, so the literature uses both names; they differ for more general groups.
- Non-Pauli noise. The code still corrects any noise in the linear span of the correctable Pauli errors, including coherent rotations. What fails is the efficient simulation: the Gottesman–Knill theorem needs Pauli noise, and decoders tuned to a Pauli model may be suboptimal for coherent noise. Leakage out of the qubit space is outside the span of Pauli errors altogether.
- Gottesman–Knill is not a statement about entanglement. Stabilizer states can be highly entangled and still be simulable; the obstacle to classical simulation is non-Clifford operations (magic states).
- Conventions for and for logical operators vary. Some authors write rather than , and the names , of the Shor code are exchanged between sources; compare the sign and labelling conventions before comparing check matrices.
Related Research
Gottesman remains the most complete account; Gottesman's later introduction and chapter 10 of Nielsen and Chuang are standard textbook routes.