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.