Concatenated Codes
Codes inside codes
Concatenation is the simplest route to arbitrarily strong protection: take a code, then re-encode each of its physical qubits using the same code again, and repeat. A level-1 qubit is one logical qubit of the base code. A level-2 qubit replaces every physical qubit of that level-1 block by another full block, and so on. With a base code on qubits, a level- logical qubit occupies
physical qubits. The Steane code, for example, uses physical qubits at level 1, at level 2, at level 3 — the cost grows geometrically, but as we will see the protection grows much faster.
The recursion for the logical error rate
Concatenation is powerful because of how the failure probability recurses. Suppose the base code together with its fault-tolerant gadgets corrects any single fault, so a level-1 logical error requires at least two independent faults among the fault locations in the gadget. Then
where is the physical error rate. Crucially, a level-2 block is built from level-1 components that behave exactly like physical components but with error rate . The identical argument applies one level up:
Iterating and writing , the level- logical error rate satisfies
Double-exponential suppression
The exponent is the whole story. Below threshold, , so and each added level squares the suppression. Concretely, take and a physical rate , so the ratio is :
Three levels of a small code turn a physical error into a logical error. Because the suppression squares while the qubit count merely multiplies by , reaching a target needs only levels — the polylogarithmic overhead of the threshold theorem.
Try it
You will compute the level- logical error rate from the recursion. Use the boxed formula with a threshold , a physical error rate , and levels. Return as a plain number. (The grader checks it against the value derived from the same formula, so compute it from first principles — don't paste a literal.)
Sign in on the full site to ask questions and join the discussion.