← Back to section · Education & Knowledge Base

Quantum Error Correction and Fault Tolerance: Making Quantum Computers Compute for a Long Time

Quantum states are easily destroyed by noise, and error correction is the obligatory passage from demonstration to usefulness. This entry explains why quantum error correction cannot copy the classical playbook, what logical qubits and the threshold theorem are, and why this is the core metric for judging the quantum threat's timeline.

Published 22 November 2026 · 5 min read · PQ Frontier

Quantum Error Correction and Fault Tolerance: Making Quantum Computers Compute for a Long Time
AI-generated site artwork
Video explainer · Quantum Computing Encyclopedia: entanglement and key exchange

Qubits are notoriously fragile: a stray electromagnetic disturbance or a slight temperature fluctuation can flip a qubit’s state or erase its phase. Classical computers fight bit flips with redundant copies and periodic checks, but the quantum world blocks each of those straightforward methods in turn. Quantum error correction is the body of technique developed under those prohibitions, and fault tolerance is its completed form: letting a machine built from unreliable parts carry out arbitrarily long reliable computations. In short, without error correction there is no useful quantum computer — and no real-world quantum threat either.

Why Classical Error Correction Cannot Be Copied

There are three layers of difficulty. First, the no-cloning theorem: an unknown quantum state cannot be perfectly copied, so “keep three copies and vote” is forbidden at the source. Second, measurement disturbs the state: directly checking whether a qubit has erred collapses its superposition, destroying the information together with the error. Third, quantum errors are continuous: a state can deviate from its target by an arbitrarily small angle, unlike a classical bit, which can only flip from 0 to 1. The way through is to encode one piece of information into an entangled state spread over many physical qubits, so that any single-point error touches only an identifiable facet of the whole; then, with carefully designed ancilla-qubit measurements, extract only the syndrome information — where the error is and of what kind — without touching the encoded data itself. Confronted with a syndrome, continuous errors are digitized into discrete Pauli-type errors, and correction becomes a tractable classification problem again.

Logical Qubits and the Leading Codes

The abstract qubit that results from encoding — its errors continuously monitored and corrected — is called a logical qubit; the group of physical qubits carrying it is its “body.” The most engineering-favoured encoding today is the surface code: physical qubits are laid out on a two-dimensional grid, the logical information lives in global topological properties of the grid, and syndrome measurements involve only local operations between neighbouring qubits, making the friendliest demands on hardware connectivity and tolerating relatively high physical error rates — at the price of large overhead: at current levels of physical error rates, synthesizing one sufficiently reliable logical qubit typically takes on the order of a thousand physical qubits. Other code families, such as color codes and quantum low-density parity-check codes, trade overhead against decoding speed in different ways and are active research directions. Whichever code is used, decoding — inferring errors from syndromes in real time and correcting them — is itself a classical computing task that must complete on microsecond timescales. Two easily confused terms should also be separated: error correction means detecting and repairing errors that have already occurred, while fault tolerance demands more — the entire workflow of preparation, gate operations, and measurement must be designed so that errors cannot spread out of control, so that overall reliability keeps improving with code size even though every component is noisy. This site treats the two as a single entry precisely because practical quantum computing needs the latter.

How the Road Was Paved

Quantum error correction was born not long after Shor’s algorithm: in 1995 Shor himself presented the first quantum error-correcting code, proving that continuous errors could be handled by digitization; Steane and others then supplied more practical codes and fault-tolerant operation schemes; by the end of the 1990s the threshold theorem was rigorously established, and the field became confident that no law of principle forbids large-scale quantum computing. The three decades since have been the history of turning a theorem into engineering: physical error rates pressed down from a few percent to the order of a tenth of a percent, and error-correction demonstrations advancing from the break-even point — a single logical qubit living longer than its physical constituents — to scaling behaviour in which logical error rates fall exponentially as code distance grows. Around 2024, published results showed logical error rates decreasing systematically as surface codes were scaled up, widely regarded as the marker that error correction had crossed from principle verification into the hard-engineering stage. The use of this history is calibrating expectations: every step of error correction has been a decade-scale engineering campaign, not a hurdle a single product launch can skip.

The Threshold Theorem and Fault Tolerance

The deepest result in quantum error correction is the threshold theorem: as long as the error rate of physical operations lies below a critical value (for the surface code, on the order of one percent, depending on the noise model), enlarging the code can push the logical error rate as low as desired, with overhead growing only polylogarithmically in the target precision. The theorem turns “is large-scale quantum computing possible” from a philosophical question into an engineering one: the answer is a conditional yes, the condition being to drive physical error rates below threshold and keep scaling. Fault tolerance additionally requires that the operations themselves run under error-correction protection — gates acting on encoded blocks, errors cleared in the gaps between operations, and factories such as magic-state distillation supplying high-fidelity special resource states.

Where Things Stand, and What It Means for Cryptography

In recent years laboratories have demonstrated the key crossover — enlarging a surface code and watching the logical error rate fall — and logical qubits have begun to turn from a concept into a measurable engineering object; but there remains a clear distance to the hundreds or thousands of high-fidelity logical qubits, running continuously for hours, that Shor’s algorithm requires. For defenders of cryptography, this entry supplies a ruler: when evaluating any “quantum breakthrough” headline, ask first whether it advanced physical qubit counts, fidelity, or the scale and lifetime of logical qubits — only the last of these materially shortens the timeline of the Shor threat. And it is precisely because the error-correction gate exists that the threat is “certain to come, on an uncertain date” — which is why the rational defensive strategy is to migrate early, rather than to panic or to wait and see.

Tags: Quantum Error CorrectionFault ToleranceLogical QubitsSurface Code