The Planar Surface Code
A torus is convenient theory but impossible hardware — you cannot wire a chip into a doughnut. The planar surface code keeps all the local structure of the toric code but lays it on a flat patch with boundaries. Opening up the surface costs one logical qubit (we go from to ), but the surviving logical qubit is exactly what a 2D chip with nearest-neighbour couplings can host. This is the code being built in real superconducting and ion-trap devices.
From torus to patch
Cut the torus open into a rectangular sheet. The interior keeps the familiar checks: star operators at vertices and plaquette operators at faces. The novelty is what happens at the edges of the patch, where stabilizers are truncated to act on fewer qubits.
Two kinds of boundary
A planar surface code has two distinct boundary types, and they must alternate around the patch:
- Rough boundary (sometimes "-boundary"). Edges dangle so that truncated plaquette (-type) checks sit at the boundary; a -string can terminate here without leaving an anyon. An -type flux can be absorbed.
- Smooth boundary (sometimes "-boundary"). Truncated star (-type) checks sit at the boundary; an -string (dual) can terminate here. An -type charge can be absorbed.
A standard planar patch has two opposite rough boundaries and two opposite smooth boundaries.
The single logical qubit
On the planar patch the logical operators are boundary-to-boundary strings, not closed loops:
where is a -string connecting the two rough boundaries and is an -string (on the dual lattice) connecting the two smooth boundaries. These two strings must cross an odd number of times — at least once — so
giving one pair of anticommuting logical Paulis: exactly one logical qubit, . The torus had two independent cycle directions and hence ; the disk-like patch has only one nontrivial way to connect opposite boundaries of each type, so .
Distance on the patch
As on the torus, the logical operators are the shortest such strings. For a patch with rows and columns of data qubits along the relevant direction, the shortest boundary-to-boundary string has length , so the code distance is and the patch realizes parameters of order
The rotated surface code packs this most efficiently, using data qubits for distance . The next lesson makes the distance-to-lattice-size relationship precise; for now the message is that the planar code trades one logical qubit for physical realizability while keeping every check local and the distance tunable by patch size.
Sign in on the full site to ask questions and join the discussion.