Star and Plaquette Operators
The toric code's stabilizers come in two geometric flavours: star operators at vertices and plaquette operators at faces. For these to define a valid stabilizer code they must all mutually commute. This lesson examines the operators closely and proves their commutation comes for free from a simple counting fact: any star and any plaquette overlap on an even number of qubits.
The two operators
With one qubit per edge of the square lattice, define for each vertex and face :
On the bulk of the lattice each vertex has four incident edges and each face has four bounding edges, so both operators are weight-4. They are Hermitian and square to the identity, , hence their eigenvalues are .
Commutation from even overlap
Two Pauli strings either commute or anticommute. For tensor products built only from 's and 's, the rule is local and clean. On any single qubit:
- commutes with , and commutes with (same operator).
- commutes with , commutes with (one is trivial).
- and anticommute: .
So and pick up a factor of for each qubit on which one acts with and the other with — i.e. for each edge in the overlap of the star's support and the plaquette's support. Across the whole string,
They commute precisely when the overlap is even.
The overlap is always 0 or 2
Now the geometry. A vertex and a face on the square lattice can be positioned in only two relevant ways:
- Not touching. If is not a corner of , no edge is both incident to and on . Overlap .
- Adjacent. If is one of the four corners of , then exactly the two edges of that meet at that corner are incident to . Overlap .
In both cases the overlap is even, so and
Stars commute with stars (all-) and plaquettes with plaquettes (all-) trivially. Therefore the full set generates an abelian group — a legitimate stabilizer group.
Try it
Confirm the commutation numerically. For an adjacent star/plaquette pair, count the shared edges and return the commutation sign in . A value of certifies that the stabilizers commute.
Sign in on the full site to ask questions and join the discussion.