On the journey of learning quantum computing, there is a vast labyrinth that everyone wanders into at least once. Its name is "Quantum Error Correction (QEC)".
Opening textbooks, you encounter veterans like "Shor codes" and "Surface codes," but once you venture into the sea of research papers, you find countless "new species of codes" inhabiting it. The place that comprehensively collects and classifies such codes is the Error Correction Zoo (EC Zoo), managed by Victor V. Albert and others.
Looking at this site, a certain movie's worldview suddenly overlaps. Yes, it's Zootopia.
Imagine a world where diverse animals, from small mice to giant elephants, coexist under the common law called "Stabilizer Formalism." In this article, I will liken the residents of the EC Zoo to the characters of Zootopia and introduce them along with their mathematical definitions.
1. Topological Square: The Bond of Partners
The center of the story is the duo of topological codes active on the front lines of current quantum computer development (on 2D chips).
🐰 Judy Hopps = Surface Code
"Any hardware can implement me!"
The absolute protagonist of the current QEC world. Defined only by adjacent interactions on a 2D grid, it can be implemented on many hardware platforms such as superconducting circuits and neutral atoms.
【Overview】
The surface code is defined on an
2D square lattice. Physical qubits are placed on the edges (or vertices) of the lattice, and stabilizer operators are defined at vertices (Star) and faces (Plaquette).
All of these commute with each other ( ), and the code space is defined as the state having an eigenvalue of +1 for all stabilizers.
Logical operators are formed as strings crossing the lattice. This structure of "protecting the whole with only local checks" is exactly her straightforward investigative style.
Original Paper:
S. B. Bravyi and A. Y. Kitaev, "Quantum codes on a lattice with boundary" (1998)
🦊 Nick Wilde = Color Code
"You guys are simple black and white (X or Z), but I'm three colors."
A topological code like Judy, but with a more complex "trivalent graph (a lattice paintable with three colors)." He has the dexterity to perform specific logical gates like magic.
【Overview】
Color codes are typically defined on 2D hexagonal lattices (like honeycomb structures), where each face is painted with one of three colors (R, G, B).
Unlike the surface code, both
-type and
-type stabilizers are defined for each face
.
Nick's greatest weapon (his con-artist dexterity) is the ability to implement transversal Clifford gates.
While implementing a Hadamard gate
on a normal surface code requires complex operations, on a color code, a parallel operation
on each physical bit directly becomes a logical Hadamard
.
Original Paper:
H. Bombin and M. A. Martin-Delgado, "Topological Quantum Distillation" (2006)
2. Zootopia Police Department (ZPD): Organization and Discipline
The police department protecting the peace of the city has codes with unique but strict structures.
🐆 Benjamin Clawhauser = Steane Code
"I love donuts (holes) and CSS!"
The receptionist is the friendly code. A representative CSS code based on the classical Hamming code , it is a basic form loved by everyone.
【Overview】
The Steane code is a CSS code defined using a classical parity check matrix
.
For 7 physical bits, it has the following stabilizer generators:
The first three are stabilizers, and the last three are stabilizers. He is also used as a building block for Chief Bogo (mentioned later), serving as the beloved mascot and basic unit of the organization.
Original Paper:
A. M. Steane, "Error Correcting Codes in Quantum Theory" (1996)
🐃 Chief Bogo = Quantum Golay Code
"I will not tolerate any objections to my symmetry!"
A heavyweight with a massive and robust structure of [[23, 1, 7]]. A quantum version of the classical Golay code, boasting extremely high symmetry and defensive power.
【Overview】
The quantum Golay code is created from the classical "perfect code," the Golay code
, using the CSS construction method.
The code parameters are
. That is, it uses 23 qubits and has a distance of
(can correct up to 3 errors).
Its stabilizer group
is deeply related to sporadic simple groups like the Mathieu groups
and
, possessing mathematically extremely beautiful (and strict) symmetry.
While lacking the flexibility of topological codes, it is an old-fashioned tough code that never lets go of an error once caught.
Original Paper:
A. M. Steane, "Error Correcting Codes in Quantum Theory" (1996)
3. City Hall and the Underworld: Light and Shadow
The powerful figures moving this city. Their abilities (formulas) are powerful and distinctive.
🦁 Mayor Lionheart = Shor Code
"I built this paradise (QEC)."
The first quantum error-correcting code in history, . The great founder who proved that quantum error correction is possible.
【Overview】
The Shor code is created by concatenating a 3-qubit "bit-flip code" and a "phase-flip code." The logical states
are described as follows:
This redundant structure became the first shield to protect quantum states from decoherence.
Original Paper:
P. W. Shor, "Scheme for reducing decoherence in quantum computer memory" (1995)
🐑 Assistant Mayor Bellwether = Bacon-Shor Code
"I look like just an assistant mayor, don't I? But I have 'gauges'."
At first glance, she looks like a normal stabilizer code, but she is a subsystem code that manipulates "gauge degrees of freedom." She has the face of a mastermind who rewrites the system behind the scenes.
【Overview】
The Bacon-Shor code has not only a normal stabilizer group
but also a gauge group
.
In an
lattice, gauge operators act on adjacent two qubits.
Stabilizers are defined by products of these gauge operators (e.g.,
).
Her terror lies in the ability to apply gauge operators without destroying logical information. This is called "Gauge Fixing," allowing dynamic manipulation of the error correction procedure (or the ending of the story) depending on the situation.
Original Paper:
D. Bacon, "Operator quantum error-correcting subsystems for self-correcting quantum memories" (2006)
🐀 Mr. Big = 5-qubit Code
"Ice 'em." (Wasteful qubits, that is.)
[[5, 1, 3]]. The theoretical minimum size. The don of the underworld with perfect symmetry who allows absolutely no waste.
【Overview】
The smallest code capable of correcting a single qubit error. Its stabilizer generators have a beautiful structure created by cyclically shifting Pauli operators.
Since this code is not a CSS code, and are mixed. Though small, it possesses the strongest correction ability, truly a "small but mighty" existence.
Original Paper:
R. Laflamme et al., "Perfect Quantum Error Correcting Code" (1996)
4. Unique Citizens: The Pinnacle of Diversity
Zootopia also has unique codes adapted to special environments.
🦥 Flash = Floquet Code
"Wait... until... the cycle... ends..."
Incomprehensible in a static picture. A dynamic code defined together with "time".
【Overview】
Floquet codes do not have a fixed stabilizer group but are defined by an Instantaneous Stabilizer Group (ISG)
where the measurement basis changes at each time step
.
For example, on a honeycomb lattice, measurements are switched at each time step as follows:
The reaction is slow (you have to wait 3 steps for information to gather), but by continuing observations, logical qubits dynamically emerge.
Original Paper:
M. B. Hastings and J. Haah, "Dynamically Generated Logical Qubits" (2021)
🦊 Finnick = GKP Code
"Thought I was a baby? I'm infinite-dimensional on the inside."
Looks like a single mode (small), but inside possesses an infinite-dimensional Hilbert space of Continuous Variables.
【Overview】
The Gottesman-Kitaev-Preskill (GKP) code is defined in the phase space of position operator
and momentum operator
.
Stabilizers are described by the following displacement operators
:
The logical state (codeword) is expressed as a superposition of "grid points" in phase space.
A con artist of a different species (actually highly functional) with a structure fundamentally different from discrete qubits (other animals).
Original Paper:
D. Gottesman, A. Kitaev, and J. Preskill, "Encoding a qubit in an oscillator" (2001)
Conclusion: Future Star
🎤 Gazelle = qLDPC Codes
"Try Everything! (Break the limits!)"
The new era superstar breaking the trade-off between rate and distance.
【Overview】
Currently, the most attention is on Quantum Low-Density Parity-Check (qLDPC) codes.
The parity check matrix
is a sparse matrix, and the weights of rows and columns are kept to a constant order.
Especially recent discoveries like Bivariate Bicycle codes have amazing properties where both logical bit count
and distance
scale linearly with physical qubit count
(
).
Researchers around the world are enthusiastic about her stage, which scales efficiently beyond the "limits of surface codes (area law)".
Original Paper:
S. Bravyi et al., "High-threshold and low-overhead fault-tolerant quantum memory" (2024)
The EC Zoo is updated daily, and new species are born.
By deciphering the "DNA" called mathematical formulas, the personality and survival strategy of each code become visible. I hope you will also find your favorite code at the EC Zoo.










Top comments (0)