Educatifu
Open menu

The noise problem and error correction

Qubits are astonishingly fragile — the tiniest disturbance destroys their state. Quantum error correction fights back, but at a steep cost that defines the whole field's timeline.

In this track · 10 lessons
AdvancedQuantum Computing~14 min

Before this lesson

  • Lesson: Shor's algorithm and the threat to cryptography

Everything so far assumed qubits behave perfectly. They emphatically do not. This lesson is about the single hardest problem in the field — the reason a working quantum computer is so difficult to build that it has taken decades and still isn't done.

Decoherence: superposition is fragile

A qubit's power comes from holding a delicate superposition of amplitudes. But those amplitudes are destroyed by the faintest interaction with the outside world — a stray photon, a vibration, a tiny magnetic fluctuation. This leakage of quantum information into the environment is called decoherence, and it happens fast: today's best qubits hold their state for only microseconds to milliseconds. On top of that, every gate you apply is slightly imperfect, adding its own error. Run a long computation and errors accumulate long before you finish.

Why you can't just copy qubits

Classically, you fight errors with redundancy: store three copies of a bit and take the majority vote. That's impossible for qubits, because of two rules from Foundations:

  • the no-cloning theorem says an unknown quantum state cannot be copied; and
  • measuring a qubit to check it destroys its superposition.

So the classical trick is doubly forbidden. For a long time this made many doubt quantum computing was possible at all.

The breakthrough: quantum error correction

The escape is ingenious. Quantum error correction spreads the information of one logical qubit across many entangled physical qubits, then measures only carefully chosen combinations — the syndrome — which reveal whether and where an error occurred without revealing the data itself. You detect and fix the error while never learning (and so never collapsing) the protected state. Run this continuously and a logical qubit can, in principle, live indefinitely — even though its physical qubits are failing all the time. The diagram captures the idea: many noisy qubits in, one reliable qubit out.

The catch: overhead

Here is why timelines are measured in years, not months. The overhead is brutal — current estimates suggest roughly hundreds to a thousand physical qubits per logical qubit, and running Shor's algorithm on a real cryptographic key might need millions of physical qubits. Today's machines have hundreds to low thousands of physical qubits, and only a handful of shaky logical ones. Closing that gap — reaching fault tolerance, where error correction outpaces the errors — is the grand engineering goal of the entire industry.

With the physics understood, the next lesson looks at how people actually build these fragile qubits, and where the technology really stands today.

A grid of many noisy physical qubits, some errored, combined into one reliable logical qubit.
Error correction trades many fragile physical qubits for one reliable logical qubit.

Try it: break a qubit and repair it

Store the logical qubit
encoded as |111⟩ across three physical qubits

Tap any qubit to flip it — or let noise do it.

Parity check q0 vs q1agree (0)
Parity check q1 vs q2agree (0)
Syndrome 00 — no error detected. The stored value is still |1.

Three physical qubits to protect one logical qubit against a single flip — and this toy code cannot handle two flips at once, or the phase errors real hardware also suffers. Codes that survive everything need roughly 1,000 physical qubits per logical qubit, which is exactly why useful fault-tolerant machines are still years away.

Key takeaways

  • Decoherence — interaction with the environment — destroys quantum states in microseconds, and gates add errors too.
  • Quantum error correction spreads one logical qubit across many physical qubits so errors can be detected and fixed without measuring the data.
  • The overhead is enormous (often ~1000 physical qubits per logical qubit), which is why useful, fault-tolerant machines are still years away.

← All Quantum Computing lessons

Bring us the problem, not a perfect specification

Tell us what needs to change, who it affects and any important deadline. We will review the context and reply with useful next questions.

  1. 01Share contextDescribe the workflow, constraint or risk.
  2. 02Clarify togetherWe identify missing facts and useful options.
  3. 03Choose a startAgree a focused assessment or delivery step.
Start a conversation