Skip to content
QFT.org

Search QFT.org

Enter a word or phrase.

    You can also browse the main navigation and chapter contents.

    The Toric Code and Intrinsic Topological Order

    Four states can have the same energy and give identical answers to every measurement confined to a small region, yet remain distinguishable by transporting a particle around the whole sample. The toric code makes this statement exact. Its ground-state degeneracy comes from the topology of space, and its excitations detect one another through a phase acquired on encircling, even though their energy does not grow with separation.

    We will construct the four states on an actual finite torus, calculate the string algebra that distinguishes them, and then ask which conclusions survive a weak perturbation. This supplies a concrete meaning of intrinsic topological order, beyond the absence of a magnetic order parameter.

    Preparation: Pauli matrices, tensor-product Hilbert spaces, and elementary degenerate perturbation theory. The qubits below sit on edges; they are not assumed to carry a microscopic spin-rotation symmetry. We use ℏ=1\hbar=1.

    Commuting local constraints

    Take a square lattice with periodic boundary conditions in both directions. Let Lx,Ly≥2L_x,L_y\geq2, with distinct edges retained even on the smallest torus. There are Nv=Np=LxLy{N_v=N_p=L_xL_y} vertices and plaquettes, and Ne=2LxLyN_e=2L_xL_y edge qubits. On edge ℓ\ell, write the Pauli operators as Xℓ,ZℓX_\ell,Z_\ell. Define

    As=∏ℓ∋sXℓ,Bp=∏ℓ∈∂pZℓ,H=−Je∑sAs−Jm∑pBp,A_s=\prod_{\ell\ni s}X_\ell, \qquad B_p=\prod_{\ell\in\partial p}Z_\ell, \qquad H=-J_e\sum_s A_s-J_m\sum_p B_p,

    where Je,Jm>0J_e,J_m>0. Stars commute with stars, and plaquettes with plaquettes. A star and a plaquette overlap on either zero or two edges. Each shared edge contributes an anticommutation sign, so the two signs cancel:

    [As,Bp]=0,As2=Bp2=1.[A_s,B_p]=0, \qquad A_s^2=B_p^2=1.

    Every energy eigenstate can therefore have definite signs as,bp=±1a_s,b_p=\pm1. A ground state satisfies all signs equal to +1+1, giving

    E0=−JeNv−JmNp.E_0=-J_eN_v-J_mN_p.

    A violated star is called an electric excitation ee; a violated plaquette is a magnetic excitation mm, or vison. The energy costs are 2Je2J_e and 2Jm2J_m per defect. These names describe emergent excitations, not electromagnetic charge. This is the stabilizer Hamiltonian introduced in Kitaev, §1, Eqs. (1)–(4).

    There are two global identities:

    ∏sAs=1,∏pBp=1.\prod_s A_s=1, \qquad \prod_p B_p=1.

    Every edge occurs twice in each product. Thus a closed torus contains an even number of each defect type. Its lowest electric excitation costs 4Je4J_e, not 2Je2J_e; the latter is the contribution of one member of a pair. The many-body gap is 4min⁡(Je,Jm)4\min(J_e,J_m).

    Constructing the ground space

    The two identities are the only independent relations on a connected square torus. To see this for the stars, choose any subset of vertices. Its star product acts on precisely the edges with one endpoint in the subset. It equals the identity only if no edge leaves the subset, which requires the subset to be empty or the whole connected lattice. Applying the same argument to the dual lattice proves the plaquette statement. No mixed relation can remove a nontrivial XX or ZZ support.

    Consequently the number of independent stabilizers is

    r=(Nv−1)+(Np−1)=Ne−2,dim⁡H0=2Ne−r=4.r=(N_v-1)+(N_p-1)=N_e-2, \qquad \dim\mathcal H_0=2^{N_e-r}=4.

    This count can be made into wavefunctions. In the ZZ basis, label a configuration by bits zℓz_\ell, with Zℓ=(−1)zℓ{Z_\ell=(-1)^{z_\ell}}. The zero-flux constraint is

    ∑ℓ∈∂pzℓ=0(mod2).\sum_{\ell\in\partial p}z_\ell=0\pmod2.

    Let G\mathcal G be the group generated by the stars. It has 2Nv−12^{N_v-1} elements, because multiplying all stars gives the identity. Start from a zero-flux configuration ∣zab⟩|z_{ab}\rangle whose two noncontractible ZZ loops have eigenvalues (−1)a,(−1)b(-1)^a,(-1)^b. Then

    ∣a,b⟩=12Nv−1∑g∈Gg∣zab⟩,a,b∈{0,1}.|a,b\rangle=\frac{1}{\sqrt{2^{N_v-1}}}\sum_{g\in\mathcal G}g|z_{ab}\rangle, \qquad a,b\in\{0,1\}.

    All terms in a given sum are distinct computational-basis states. The normalization follows immediately. Acting with any star permutes the terms, while every term already satisfies every plaquette constraint. Different loop eigenvalues make the four sums orthogonal. This is an explicit construction, rather than a count of formal solutions; compare Kitaev, §1, Eq. (3).

    The companion calculation in examples/condensed-matter/spin-liquids/exact-models/ constructs these vectors and applies the actual edge operators. The table gives the independent star and plaquette constraints, the terms in each ground vector, and the resulting number of ground states:

    TorusQubitsStarsPlaquettesTerms per vectorGround states
    2×2{2\times2}83384
    3×2{3\times2}1255324

    It checks the ranks over the binary field separately from the wavefunctions. The four vectors are orthonormal, satisfy every stabilizer, and have the same energy. No numerical search for nearly degenerate eigenvalues is needed.

    Strings, endpoints, and an actual linking operation

    For a direct-lattice path γ\gamma and a dual-lattice path γ∗\gamma^*, define

    We(γ)=∏ℓ∈γZℓ,Wm(γ∗)=∏ℓ⊥γ∗Xℓ.W_e(\gamma)=\prod_{\ell\in\gamma}Z_\ell, \qquad W_m(\gamma^*)=\prod_{\ell\perp\gamma^*}X_\ell.

    An open ZZ string anticommutes with the stars at its two endpoints. At an interior vertex it meets the star twice and commutes. It creates two ee excitations and costs 4Je4J_e, independent of the length of the string. The dual XX string similarly creates two mm excitations. Extending either string moves an endpoint without leaving an energy-costing trail: the particles are deconfined in this exactly solvable Hamiltonian.

    At each crossing, XZ=−ZXXZ=-ZX. Thus

    We(γ)Wm(γ∗)=(−1)I(γ,γ∗)Wm(γ∗)We(γ),W_e(\gamma)W_m(\gamma^*)=(-1)^{I(\gamma,\gamma^*)}W_m(\gamma^*)W_e(\gamma),

    where II counts intersections modulo two. For one crossing, the sequence of operations has group commutator

    WeWmWe−1Wm−1=−1.W_eW_mW_e^{-1}W_m^{-1}=-1.

    The phase becomes a braiding statement when one string closes around an endpoint of the other. A closed dual loop enclosing a region RR of vertices obeys

    Wm(∂R∗)=∏s∈RAs.W_m(\partial R^*)=\prod_{s\in R}A_s.

    Internal edges cancel. On a ground state its value is +1+1; on a state with one ee inside and its partner outside it is −1-1. Operationally, create an mm pair, transport one mm around the enclosed ee, and annihilate the pair. Comparing this path with a path enclosing no ee yields a relative phase π\pi. The single-vertex case is especially transparent: the closed transport operator is just AsA_s. The numerical ground vectors give +1+1 before a crossing ZZ string and −1-1 afterward, and the open-string group commutator is −1-1 on all four ground states. Kitaev, §2, Eq. (5) and Fig. 4 develops this relation between string operations and braiding.

    An electric string ending inside a magnetic loop, and intersecting noncontractible electric and magnetic loops on a periodic square.

    Left: a closed dual XX string measures the star defects inside it; one enclosed ee gives a minus sign. Right: opposite sides of the square are identified. The noncontractible ZZ and dual XX loops intersect once, so they act as anticommuting logical operators. Lines denote products of edge operators, not energy-carrying strings.

    The fusion rules follow from applying the same string twice:

    e×e=m×m=1,e×m=ϵ,ϵ×ϵ=1.e\times e=m\times m=1, \qquad e\times m=\epsilon, \qquad \epsilon\times\epsilon=1.

    Exchanging two ee particles or two mm particles gives +1+1. Exchanging the composite ϵ\epsilon includes one electric–magnetic winding and gives −1-1. These are bosonic e,me,m and fermionic ϵ\epsilon, with nontrivial mutual statistics. Calling ee a spinon would require an additional statement about how a microscopic symmetry acts on it; the Hamiltonian above does not make that assignment.

    Logical loops and local indistinguishability

    Choose a direct ZZ loop around each torus cycle, denoted Z‾1,Z‾2\overline Z_1,\overline Z_2. Choose dual loops X‾1,X‾2\overline X_1,\overline X_2 so that X‾i\overline X_i crosses Z‾i\overline Z_i once and the other direct loop zero times. They commute with the Hamiltonian and satisfy

    X‾iZ‾j=(−1)δijZ‾jX‾i,X‾i2=Z‾i2=1.\overline X_i\overline Z_j=(-1)^{\delta_{ij}}\overline Z_j\overline X_i, \qquad \overline X_i^2=\overline Z_i^2=1.

    On the constructed basis their action is

    Z‾1∣a,b⟩=(−1)a∣a,b⟩,X‾1∣a,b⟩=∣a⊕1,b⟩,\overline Z_1|a,b\rangle=(-1)^a|a,b\rangle, \qquad \overline X_1|a,b\rangle=|a\mathbin{\oplus}1,b\rangle,

    and similarly for the second label. The four-dimensional ground space therefore carries two logical qubits. A contractible closed ZZ loop is a product of plaquettes, and a contractible dual XX loop is a product of stars; both act trivially in this space.

    Let P0P_0 project onto the ground space. A Pauli string supported inside a contractible region either creates a defect, in which case P0OP0=0P_0OP_0=0, or has closed supports deformable into stabilizers, in which case it acts as a scalar. Expanding a general local operator into Pauli strings gives

    P0OP0=cOP0.P_0OP_0=c_O P_0.

    The support condition matters: it excludes an operator wrapping a torus cycle. The companion verifies the vanishing projected matrices of every single-edge Pauli operator and the nontrivial matrices of the four logical loops. Local indistinguishability is consequently compatible with global distinguishability.

    The same noncontractible string now has a different operational use. Given a measured syndrome, compare two errors with identical endpoints and different homology to see when recovery changes the encoded state. Here the winding loops distinguished ground sectors without referring to a recovery protocol.

    From an exact point to a phase

    A local perturbation usually spoils exact commutativity and exact finite-size degeneracy. Consider, for example, a weak field V=−h∑ℓZℓV=-h\sum_\ell Z_\ell. A single insertion creates an electric pair. To return to the ground space with a nontrivial logical action, a sequence must complete a noncontractible loop. For a shortest cycle of length LL, such a process first appears at order LL in this field, with intermediate pair energies of order 4Je4J_e:

    ∣tlogical∣∼hL(4Je)L−1,|t_{\mathrm{logical}}|\sim\frac{h^L}{(4J_e)^{L-1}},

    up to path multiplicities and other intermediate configurations. This estimate explains the exponentially small splitting at weak coupling; it is not a formula valid near a phase transition. Local virtual processes already change the energy density at lower order but cannot distinguish the logical states.

    The phase interpretation combines a bulk gap, deconfined excitations with robust braiding, and topology-dependent degeneracy that becomes exact in the thermodynamic limit. A finite fourfold degeneracy alone would not establish it: an ordinary symmetry-breaking Hamiltonian can also have several ground states, distinguished by local observables. Nor does this two-dimensional model supply a passive memory with an energy barrier growing with system size; an error string can be extended while paying only for its endpoints.

    The Kitaev honeycomb model gives a bond-dependent two-spin Hamiltonian whose strongly anisotropic limit produces this order. Z2 Spin Liquids and Deconfinement explains the relation to dynamical gauge theories.

    Summary

    The two global stabilizer identities leave four ground states on a torus. Explicit star-orbit sums construct them, and noncontractible strings distinguish them. Open strings create endpoint defects at a separation-independent cost; an electric–magnetic crossing supplies the minus sign measured by a linking operation. Local indistinguishability and this braiding algebra, together with a stable bulk gap, explain the topological phase rather than merely its solvable spectrum.

    Exercises

    1. Change the topology

    Put the same edge-qubit construction on a connected cellulation of a closed orientable surface of genus gg. Assume the star and plaquette sets each have only their one global product relation. Use the Euler characteristic to find the ground-space dimension. Explain why a sphere has no logical torus loops.

    Solution

    The number of independent stabilizers is Nv+Np−2N_v+N_p-2, so the number of encoded qubits is

    Ne−(Nv+Np−2)=2−(Nv−Ne+Np)=2g.N_e-(N_v+N_p-2)=2-(N_v-N_e+N_p)=2g.

    Here Nv−Ne+Np=2−2gN_v-N_e+N_p=2-2g. The ground-space dimension is therefore 22g=4g2^{2g}=4^g. On a sphere every closed loop can contract, so closed strings reduce to products of local stabilizers; the ground state is unique. The sphere still permits separated anyon pairs and their mutual braiding. Ground-state degeneracy depends on the spatial topology, whereas local excitation types need not disappear on a sphere.

    2. A loop measures parity, not distance

    An electric string creates two endpoints s1,s2s_1,s_2. A closed dual loop encloses a region RR. Compute its eigenvalue when RR contains zero, one, or two endpoints. Then apply both XℓX_\ell and ZℓZ_\ell on a single edge of the vacuum and find the excitation energy. Does this determine the energy of two widely separated ϵ\epsilon composites?

    Solution

    The loop equals ∏s∈RAs\prod_{s\in R}A_s, so its eigenvalue is (−1)Ne(R)(-1)^{N_e(R)}: respectively +1,−1,+1+1,-1,+1. It detects the parity of enclosed electric charge, independent of the particles' positions within the region.

    The single-edge product, proportional to YℓY_\ell, flips two adjacent stars and two adjacent plaquettes. Its excitation energy is

    ΔE=4Je+4Jm.\Delta E=4J_e+4J_m.

    At this commuting-projector point the energy depends only on the defect signs, so moving the defects to form two separated ee–mm composites keeps the same total energy. There is no additional binding energy in this Hamiltonian. Weak perturbations can change dispersions and interactions without changing the topological fusion label ϵ\epsilon while the phase remains intact.

    References

    • A. Yu. Kitaev, “Fault-tolerant quantum computation by anyons,” Annals of Physics 303, 2–30 (2003), doi:10.1016/S0003-4916(02)00018-0; 1997 preprint, version 1 (PDF). Sections 1–2, Eqs. (1)–(5) and Fig. 4, construct the ground space, strings, and mutual phase. Its electric and magnetic labels match those used here; our positive couplings restore the two energy scales.
    • A. Kitaev, “Anyons in an exactly solved model and beyond,” Annals of Physics 321, 2–111 (2006), doi:10.1016/j.aop.2005.10.005; version 3 (PDF). Sections 5.1–5.2, Eqs. (37)–(42), connect the anisotropic honeycomb model to the toric code and its anyons.

    Scrollable formula. Use Left and Right arrow keys to reveal hidden content.

    Scrollable table. Use Left and Right arrow keys to reveal hidden columns.

    Scrollable figure. Use Left and Right arrow keys to reveal hidden content.