Plaquette and Vertex Stabilizers
Each tile of the surface-code lattice carries a stabilizer: a multi-qubit Pauli operator whose value the code measures every round. The two colours of tile correspond to the two species of check.
The two check types
Label the data qubits around an interior tile . The two stabilizer types are
A -type plaquette measures the joint parity of its data qubits in the computational () basis; it detects bit-flip () errors. An -type vertex measures parity in the conjugate () basis; it detects phase-flip () errors. Together the two families catch any single-qubit Pauli error, because every Pauli is a product of and .
The protected code space is the simultaneous eigenspace of all the stabilizers: a state is a valid codeword exactly when and for every tile.
Why the checks commute
We can only measure all these operators in one round without disturbing each other if they commute. A -type and an -type tile always share an even number of data qubits — in the surface code, either zero or two. On each shared qubit the local operators are and , which anticommute (); two anticommutations cancel, so the full operators commute:
so two shared qubits give two sign flips that cancel and . (Tiles that share no qubits commute trivially; sharing exactly one qubit would instead give a single sign flip and anticommutation, which is precisely why the lattice is arranged so overlaps are always even.)
Because they commute, the stabilizers can be assigned definite values simultaneously, and measuring them tells us about errors without revealing — or collapsing — the logical state.
A two-qubit example you can build
The smallest non-trivial stabilizer state lets us see the idea directly. Consider a single -type check on two data qubits. Its eigenstate with the data also stabilized by is the Bell state
Check it: , and . The state is a simultaneous eigenstate of both an -type and a -type check — a one-line toy version of a codeword.
Try it
Prepare the state on two qubits with a Hadamard followed by a CNOT. The grader checks the resulting state vector against the eigenstate of and .
Sign in on the full site to ask questions and join the discussion.