The Toric Code & Current Research
The Toric Code
The toric code is an example of both a surface code [5] (a type of QEC method) and a topological quantum field theory [6], which is a sort of “mini-universe” governed by quasiparticles and physical laws such that the space of quantum states for any spatial configuration does not change under small perturbations. Systems that possess this robustness to perturbations are said to have topological order. Many current research projects seek to design systems with topological order, such as the toric code [7]. We now outline the toric code construction using the standard lattice approach.
First, we create an lattice of edge segments, each containing a physical qubit. Then, we engineer so-called plaquette and vertex operations, which respectively act on the polygons (or plaquettes) enclosed between edges and on the nodes (or vertices) where the edges meet on the lattice.
The precise form of these operations are [6],[8]: where labels the plaquette square and labels the vertex. Note that and here are the Pauli and operators. If we represent each of our qubits as superpositions of the and states, then flips all bits adjacent to plaquette (conditioned on their probability distributions), while multiplies the phase (i.e. the complex coefficients) of all states adjacent to vertex by 1 conditioned on the qubit reading and conditioned on it reading as . (See Figures 4 and 5 for visualizations.)
Now, in quantum mechanics we can measure the “value” of an operator on certain states if its effect is simply to multiply the state’s coefficients by a single constant value. For instance, we can measure the operator if the qubits adjacent to are all in well-defined and bit states. We will then measure as if the numbers of and states are both even, whereas we will measure if the number of each type is odd.
It is more difficult to see which states admit measurement of the plaquette operator , but it turns out for a given plaquette we can measure if each of the surrounding qubits is either or . For a qubit in the state, the corresponding factor of will simply switch the order of the and terms, thus scaling the state by a factor of . Conversely, for a qubit in the state, the corresponding factor of will switch both the order and the sign of the and terms, thus scaling the state by a factor of . Putting these together, we conclude that if there are an even number of both and qubits surrounding plaquette , then we measure to be , and if there are an odd number of each type we measure .
However, in general our quantum states need to be defined across the entire lattice, meaning we must take into account even the qubits which are not adjacent to plaquette . We can measure on a complete lattice state provided that it is either symmetrized (i.e. invariant under flipping the plaquette bits in each term, so we measure ) or antisymmetrized (i.e. negates under flipping the plaquette bits in each term, so we measure ). See Figure 6 for details.
Concretely, if we have two adjacent plaquettes with qubits on each of the seven edges, we can produce symmetrized and antisymmetrized states relative to the top plaquette , which contains qubits . Our symmetrized and antisymmetrized states might then be where we emphasize that since we are concerned with we only symmetrize over the first four qubits. We will soon see the use of more complex symmetrization.
Once we have our vertex and plaquette operators, we encode them into the physics of our system by using them to construct the Hamiltonian. In general quantum mechanics, the Hamiltonian is an operator whose measurement tells us the total energy of our system. Here, our Hamiltonian is [6]: Note that each vertex starts with energy and each plaquette with . Then, that vertex (plaquette) energy is raised if the corresponding vertex (plaquette) operator measures and lowered if it measures . Note that the lowest possible energy is , when all plaquettes and vertices measure . Any lattice configuration state which satisfies this is called a ground state, because in general quantum systems tend to relax to their lowest energy state unless there is some external input of heat, energy, or other physical disturbance (which there often is but not for the sake of this discussion).
But what do the ground states look like? According to the analysis above, if our lattice is an array of qubits, then for the operators we require our ground state to be fully symmetrized for every individual plaquette, and for the operators we need each term of the ground state superposition to have an even number of both s and s associated with each vertex. It turns out that there are four independent ways to do this: if we draw one vertical line through the middle of a column of plaquettes and one horizontal line through the middle of a row of plaquettes, the four states are defined based on whether all terms in the superpositions have an even versus an odd number of state qubit edges intersecting with each of the lines (see Figure 7).
Explicitly, the four options are , , , and . Note that all terms in the superposition will have the same parity for a given line because due to symmetrization they differ by plaquette operations, each of which changes the number of bit intersections by a multiple of (i.e. preserves parity). Moreover, the symmetrization implies that any choice of horizontal and vertical reference lines yields the exact same four states. So why are these four states so important?
This is where the “toric” part of the toric code comes in. We now impose periodic boundary conditions, in which we identify the states in the leftmost column with those in the rightmost column and similarly the top row with the bottom row. Here, the word identify means that we ensure that the corresponding qubits on opposite sides represent the exact same qubit state at all times. The effect of this procedure is that we fold our lattice into a shape called a torus (see top). The horizontal and vertical lines we drew in our planar lattice now represent the two independent “non-trivial cycles” of the torus (i.e. the cycles that cannot be continuously shrunken into a point without leaving the torus surface).
Now, the four ground states we constructed correspond to taking each non-trivial cycle and assigning it an abstract parity number or from , which encodes whether our ground state has an even or odd number of qubits which intersect the corresponding cycle. In other words, each ground state corresponds to an element of , which is a topological object called the first homology class of the torus [5]. We won’t spell out the full definition of this object for arbitrary topological manifolds here—the important fact is that is a topological invariant. Consequently, even if the torus is smoothly deformed into another manifold , the structural relation will continue to hold as long as the deformation preserves the genus (i.e. “hole structure”) of our lattice.
As illustrated by the robust structure we found above, our toric code has many useful properties. First, recall in our initial discussion that the ground states remain unchanged by vertex and plaquette operations, implying that the ground state space is stable against these types of errors. Second, the ground state space is built from multiple (four) independent states and is therefore degenerate. As such we cannot energetically distinguish between these states, since any Hamiltonian measurement outcome is the same for every ground state (all have eigenvalue ). Thus, any error which transforms or mixes one ground state into the others will not affect the results of our computations. Finally, we can “excite” our ground states into higher energies by applying or gates to single qubits, thereby creating quasiparticles associated with each operation.
By performing carefully sequenced operations of quasiparticle creation and destruction, we can effectively move our quasiparticles around the lattice, loop them about each other, and fuse them together to form other quasiparticles [6] (see Figure 8). Based on how we construct the quasiparticles in our lattice, they inherit particle statistics, meaning that for each time we loop particles around each other, our global state changes by a phase determined by the particle type. Quasiparticles which non-trivially transform the global state when looped around each other are called anyons. They are important for fault tolerant quantum computing, because renowned physicist Kitaev showed in [8] that if we can make anyons with rich enough behavior, we can interpret the state transformations they generate as quantum gates and use them to implement computations. These upgraded anyons are called non-Abelian anyons due to their intricate dynamics, and they are much sought after in materials physics and quantum computing [9].

Where Does Current Research Stand?
In the previous discussion, we introduced the toric code as an important illustration of topology in quantum computing. Current research efforts are now aimed at implementing similar topological structures in two primary applications: surface code error correction and anyonic computing.
In surface code EC, computations take place within the ground state space of a qubit lattice placed on a particular surface topology (e.g. the torus for the toric code). The symmetrization of the ground state space under plaquette and vertex operations then distinguishes two possible types of errors. In the first case, an error may destroy the vertex and plaquette symmetrization (e.g. a bit flip on a single edge), in which case the lattice will no longer occupy a ground state and the error can easily be identified by measuring the Hamiltonian. In the second case, an error may preserve the vertex-plaquette symmetrization but cause a transition between ground states, which we cannot detect with a non-intrusive Hamiltonian measurement. However, due to the “topological protection of the ground state space," namely that its states are encoded in homology classes of the torus, any ground state space error must induce a parity change along one of the non-contractible cycles. Therefore, any such error must consist of excitations that span an entire cycle [6], meaning it has an extremely low probability of occurrence.
For anyonic computing, the topological protection plays a different role. Here, the logical information used to make quantum computations is now stored in the excitations of the lattice. Computational operations, or gates, then consist of braidings and fusions performed by moving the excitations about the lattice and around each other. Due to the abelian homology group structure of the torus, the toric code cannot produce all of the operations necessary for universal quantum computation. However, many non-Abelian frameworks, such as the quantum double [10], enable universal quantum computations. Once again, the topological benefit of these constructions comes from the symmetry. In our toric code lattice formulation, for example, this means that plaquette and vertex errors produce identity operations due to the fusion rules of the associated topological field theory. Hence, the anyonic computation approach is still topologically protectedits main difference is that computations do not occur within the ground state space but rather as excitations on that space. The complex anyonic structure also necessitates new methods of error correction, which constitute another thrust of ongoing research [11].
As of today, no one has yet managed to produce controlled non-Abelian anyons and experimentally demonstrate fault tolerant quantum computing. However, progress towards this goal continues, and recent work by Quantinuum and their collaborators has realized controllable non-Abelian anyons [9], culminating in the construction of an non-Abelian anyon qutrit system that passes preliminary benchmarks for universal computation [12] (e.g. measurement, -measurement, and qutrit Bell state preparation via braiding entanglement). The applicability of these results is currently limited, as the group has not yet implemented scalable error correction nor algorithms that harness universality, leaving room for future improvements.
Additionally, Verresen et. al. produced semi-realistic models of an experimentally testable topological code based on a ruby lattice of Rydberg atoms [13]. As with many theoretical models, their analysis relied in some places on unphysical assumptions (e.g. infinite lattice size) to quantify important topological markers such as entanglement entropy. However, one of their enticing contributions was to lay out and simulate a framework for engineering the topological system on a finite architecture. In their ending remarks, the authors noted several possible extensions to their work, many of which could be achieved and refined with greater compute power and novel computational methods. These goals, and their technological applications to quantum memory and beyond, underlie a major thrust of Qernel’s research strategy moving forward.
References
- [5]D. Lidar T. Brun (2013). Quantum Error Correction, Cambridge University Press.
- [6]S. Simon (2023). Topological Quantum, Oxford University Press.
- [7]L. Homeier, C. Schweizer, M. Aidelsburger, A. Fedorov, F. Grusdt (2021). “ lattice gauge theories and Kitaev's toric code: A scheme for analog quantum simulation." Phys. Rev. B 104, 085138 doi.org/10.1103/PhysRevB.104.085138.
- [8]A. Kitaev (2003), “Fault tolerant quantum computation by anyons." Annals Phys. 303, 2-30 (2003) doi:10.1016/S0003-4916(02)00018-0 arXiv:quant-ph/9707021.
- [9]M. Iqbal, N. Tantivasadakarn, R. Verresen, et al. (2024). “Non-Abelian topological order and anyons on a trapped-ion processor." Nature 626, 505–511. doi-org/10.1038/s41586-023-06934-4.
- [10]C. Lo, A.Lyons, R.Verresen, A.Vishwanath and N. Tantivasadakarn (2026). “Universal Quantum Computation with the Quantum Double: A Pedagogical Exposition," arXiv:2502.14974.
- [11]D. Jing, P. Sala, L. Jiang, R. Verresen (2026). “Intrinsic Heralding and Optimal Decoders for Non-Abelian Topological Order," Phys. Rev. Lett. 136, 120405, doi.org/10.1103/ccj7-ctd8.
- [12]C. Lo, A. Lyons, et. al. (2026). “Universal Gates from Braiding and Fusing Anyons on Quantum Hardware," arXiv:2601.20956.
- [13]R. Verresen, M. Lukin, A. Vishwanath (2021). “Prediction of Toric Code Topological Order from Rydberg Blockade." Phys. Rev. X 11, 031005, doi.org/10.1103/PhysRevX.11.031005.
