This checkpoint ties together the concatenation recursion and the overhead count. Recall the
level-L logical error rate for a fault-tolerant concatenated scheme,
pL=pth(pthp)2L,
and that each level multiplies the physical-qubit count by the base-code size n, so a level-L
logical qubit occupies nL physical qubits. The practical question an architect asks is: how
many levels do I need to hit a target logical error rate, and what does that cost?
A concrete instance
Take a base code with threshold pth=10−2, a physical error rate p=10−3
(so the suppression base is p/pth=0.1), and a target logical error rate
ε=10−15 — a representative requirement for a long algorithm. We need the smallest
integer number of levels L such that pL≤ε.
Working it out by hand:
pL=10−2(0.1)2L=10−(2+2L)≤10−15⟺2+2L≥15⟺2L≥13.
Since 23=8<13 but 24=16≥13, the smallest level is
L=4.
A quick sanity check on the boundary: L=3 gives p3=10−2(0.1)8=10−10, which is
larger than 10−15 and so insufficient; L=4 gives p4=10−2(0.1)16=10−18≤10−15, comfortably below target. With a 7-qubit base code that is 74=2401 physical
qubits per logical qubit — the price of double-exponential suppression.
Try it
Compute the smallest integer number of concatenation levels L needed so that
pL=pth(p/pth)2L≤ε, with pth=10−2,
p=10−3, and ε=10−15. Loop over L=0,1,2,…, evaluating pL each
time, and return the first L that satisfies the bound. (Derive it in code — do not hardcode 4.)
Run your code to see the quantum state.
Sign in on the full site to ask questions and join the discussion.