- Home
- Quantum Computing
- Quantum Error Correction Explained
Quantum Error Correction Explained
Every few months a new chip arrives with more qubits than the last one, and the headlines treat the number like a horsepower figure. We think that is the wrong thing to watch. The question that decides when quantum computers do something useful is quieter and harder: quantum error correction, the machinery that keeps a calculation alive long enough to finish.
Why qubits make so many mistakes
A classical bit in your laptop is a tiny voltage held firmly on one side of a big barrier. It takes a lot to flip it, and when it does flip the chip can usually spot it. A qubit is the opposite kind of object. It lives in a delicate superposition (if the term is new, our guide to what a qubit is covers it) and any stray interaction with the environment, a bit of heat, a stray field, a neighbouring qubit’s control pulse, nudges it. This is called decoherence, and it ruins the calculation quietly, without any error message.
Quantum gates are imperfect too. Even in the best machines, a two-qubit gate typically fails somewhere around one time in a few hundred to one in a few thousand, depending on the technology. That sounds tiny until you do the arithmetic. A program with a million gates, each failing at one in a thousand, will almost certainly have gone wrong a thousand times by the end. The algorithms that make quantum computing exciting, like factoring large numbers, need far more than a million operations.
Why you can’t fix it the classical way
Classical engineers have a simple trick for noisy channels: send everything three times and take a majority vote. It works beautifully on bits. On qubits it hits two walls at once.
First, the no-cloning theorem says you cannot copy an unknown quantum state. There is no “copy” gate to make three versions of your qubit. Second, looking at a qubit to check on it collapses the superposition, which is exactly the thing you were trying to protect. Errors are also more varied: a qubit can suffer a bit-flip, a phase-flip, or a mixture, and a code has to catch all of them.
For a while in the 1990s this looked like a proof that quantum computers could never work. Then Peter Shor and Andrew Steane showed that it could be done after all, and the whole field of error correction was born.
The trick: measure the relationships, not the values
The idea is neat enough that it is worth stating carefully. You spread the information of one logical qubit across many physical qubits in an entangled state. Then, instead of measuring the data qubits, you measure parities, questions of the kind “do these two neighbours agree?”. Each such answer is called a syndrome. It tells you whether something went wrong and roughly where, but nothing about the encoded value itself, so the superposition survives.
A classical decoder reads the stream of syndromes, works out the most likely error, and tells the system how to correct it. This happens continuously, in cycles that last about a microsecond on superconducting hardware. The correction is often applied in software, by simply keeping track of which errors occurred rather than physically undoing them.
The leading recipe is the surface code: data qubits arranged on a two-dimensional grid with helper qubits in between that take the parity checks. It is popular because it only needs neighbours to talk to each other, which suits chips, and because its error threshold is fairly forgiving, around one percent in idealised models.
The threshold: the line that changes everything
This is the concept that, for us, explains why the field got excited about error correction rather than just more qubits. Every code has a threshold. If your physical error rate is above it, adding more qubits to the code makes the logical qubit worse, because you are adding more things that can break than you are fixing. If you are below it, each extra layer of qubits suppresses logical errors exponentially.
In late 2024, Google Quantum AI reported in a peer-reviewed paper that its Willow chip had crossed this line for the surface code: growing the code from a small grid to a larger one reduced the logical error rate each time. It was a single logical qubit memory, not a full computer, and a lot of other pieces are missing. But it was the first convincing demonstration that the scaling story works in real hardware, and we count it as the most meaningful milestone of recent years, far more than any qubit count.
| Physical qubit | Logical qubit | |
|---|---|---|
| What it is | One real device (ion, circuit, photon, atom) | A protected unit spread over many physical qubits |
| Typical error per operation | Around 0.1% to 1% | Meant to be far lower, falling as the code grows |
| Needs a decoder? | No | Yes, running in real time |
| Today’s status | Hundreds to a few thousand exist | A handful of demonstrations, none at useful scale |
| Where it lives in headlines | “Our chip has 1,000 qubits” | “We reached below threshold” |
How big is the overhead, really?
This is where honest answers get uncomfortable. With the surface code, estimates for a single reliable logical qubit often land in the hundreds to low thousands of physical qubits, depending on how good the hardware is. A machine that runs something like Shor’s algorithm on a cryptographically relevant number would need on the order of a thousand or more logical qubits running for hours, which translates into physical qubit counts in the hundreds of thousands to millions. Published resource estimates have been falling as researchers find smarter methods, but they are estimates, and they rest on hardware assumptions nobody has yet met at scale. We covered what that means for security in can quantum computers break Bitcoin and post-quantum cryptography explained.
That overhead is why researchers are pursuing alternatives. IBM has described plans built around a family of codes called quantum LDPC codes that promise to need far fewer physical qubits per logical one, though they require longer-range connections between qubits that are hard to build. Trapped-ion and neutral-atom companies, which can connect distant qubits more flexibly and have very clean gates, are betting that better qubits will beat sheer quantity. Quantinuum, for example, has reported small-scale logical-qubit experiments on its ion hardware. None of these approaches has won. We would be suspicious of anyone who says otherwise.
Our own qualitative reading of the field, not benchmark data.
The parts nobody puts in the press release
Reading the abstracts, it is easy to forget that error correction needs a classical computer that keeps up. The decoder must process syndromes faster than the next round arrives, otherwise a backlog builds and the whole scheme stalls. Add the wiring: each qubit needs control lines, and cooling a superconducting machine to millikelvin temperatures is already a feat of plumbing. Then add the logical gates themselves, which are harder than storing a qubit, because some operations need special resource states, often called magic states, that are expensive to prepare.
Put together, this is why we say error correction, rather than qubit count, is the bottleneck. More qubits help only if they are good enough, if they can be wired and cooled, and if the classical side keeps pace. Any one of those can fail while the headline number keeps rising.
What this means if you are just curious
If your interest is learning, none of this stops you from running real circuits today on small, noisy machines. Our guide to trying a quantum computer for free shows how, and the free beginner courses will give you the vocabulary. Error correction becomes much less abstract once you have watched noise wreck a two-qubit circuit with your own eyes. For the bigger picture, quantum computing explained simply is our pillar guide, and if you prefer paper, our quantum books review has beginner picks, or you can browse quantum computing books on Amazon.
If you follow the industry as an observer, our take is simple. Treat roadmaps as statements of intent, give more weight to peer-reviewed error-correction results than to chip announcements, and expect the interesting news to be about logical qubits, decoders and overhead, not about adding another zero to the qubit count.
- Physical qubits are noisy, and useful algorithms need far more reliable operations than they can deliver alone.
- Quantum codes protect information by measuring parities between qubits, never the data itself.
- Below the threshold, a bigger code means fewer errors; Google reported crossing it in 2024 for a single logical qubit memory.
- The overhead, the decoder speed and the wiring are what stand between today's chips and a fault-tolerant machine.
If some of the jargon here is new, our quantum computing glossary explains it in plain language.