Label the physical qubits by , with outer block and inner position . The inner bit-flip repetition code has stabilizers
and logical operators and . Replacing each outer by gives the outer stabilizers
This is the surface code on a chain of spheres. The pole-touching points are vertices, and the longitudes on sphere are its qubit-carrying links. At an interior touching point, the star operator is exactly . Each face between adjacent longitudes has the two-edge plaquette operator ; only of the face operators on each sphere are independent.
Using the conventions of part a, logical operators are
The first may be placed on any one sphere and is a dual equatorial cut crossing all longitude links. The second may use any fixed longitude and is a pole-to-pole path through all spheres. Multiplication by stabilizers deforms either representative without changing its logical action. Their minimum weights are and , respectively, so the distance of a stabilizer code is
If every , then
By the definition of the distance of a stabilizer code, no Pauli operator of weight below is a nontrivial logical operator. Part (b) therefore proves the local correctability of a stabilizer code for this error set.
The converse fails because pairwise products, rather than individual weights, control correctability. For example, let be a high-weight Pauli outside and take the error set . If anticommutes with a stabilizer, then , while ; the KL conditions hold even when . A still simpler singleton set containing any known unitary Pauli error is always reversible regardless of its weight.
The Knill--Laflamme condition for code projector and errors is
For Pauli errors of weight at most , the product has weight at most . If , such a product cannot be a nontrivial logical Pauli, because every such operator has weight at least the distance of a stabilizer code . It is therefore either a stabilizer, acting as a scalar on the code, or it anticommutes with some stabilizer and maps the code to an orthogonal syndrome space. These are exactly the two possibilities required by the displayed condition, so every error on at most qubits is correctable.
Steane code Created 2026-09-24 Updated 2026-11-05
The Steane code is a CSS code: seven physical qubits encode one logical qubit, and the distance of a stabilizer code is three. It can correct an arbitrary error on one physical qubit when the ideal syndrome measurements and recovery are implemented correctly.
One choice of binary check rows is , and . For each row, put Pauli matrices on its four marked positions to obtain an X-type generator, and use on the same positions for a Z-type generator. Any two rows overlap in an even number of positions, so all six stabilizer generators commute. Their common positive eigenspace has dimension .
A single-qubit Z error reverses the X-check outcomes indicated by its column, identifying its location; X errors are diagnosed by the Z checks. The recovery learns the error syndrome without reading the unknown logical amplitudes.