|q⟩ Bad Qubits

advanced · Physics · Magic States & Distillation

Distillation Thresholds

A distillation protocol is only useful if iterating it reduces the error. Whether it does depends on where the input error sits relative to a threshold — the analogue, for magic states, of the fault-tolerance threshold for codes.

The recurrence and its fixed points

The 1515-to-11 protocol implements the leading-order map

ε    f(ε)=35ε3.\varepsilon \;\longmapsto\; f(\varepsilon) = 35\,\varepsilon^{3}.

Iterating distillation produces the sequence ε0,ε1=f(ε0),ε2=f(ε1),\varepsilon_0, \varepsilon_1 = f(\varepsilon_0), \varepsilon_2 = f(\varepsilon_1), \dots Its long-run behavior is governed by the fixed points of ff, the solutions of f(ε)=εf(\varepsilon) = \varepsilon:

35ε3=εε(35ε21)=0ε=0  or  ε=ε=135.35\,\varepsilon^{3} = \varepsilon \quad\Longrightarrow\quad \varepsilon\,(35\,\varepsilon^{2} - 1) = 0 \quad\Longrightarrow\quad \varepsilon = 0 \ \text{ or }\ \varepsilon = \varepsilon^{*} = \frac{1}{\sqrt{35}}.

The trivial fixed point ε=0\varepsilon = 0 is the ideal magic state. The nontrivial fixed point

ε=1350.169\varepsilon^{*} = \frac{1}{\sqrt{35}} \approx 0.169

is the break-even point of this leading-order recurrence — the distillation threshold for the idealized εout=35εin3\varepsilon_{\text{out}} = 35\,\varepsilon_{\text{in}}^{3} map with perfect Clifford operations. It is the clean reference number for the 1515-to-11 protocol, not an exact, universal threshold: the true recurrence carries higher-order corrections (35ε3+O(ε4)35\,\varepsilon^3 + O(\varepsilon^4)), and faulty circuit elements (see below) shift the usable value.

Stability: which way does the flow go?

Whether the iteration converges to 00 or runs away depends on which side of ε\varepsilon^{*} we start. Compare f(ε)f(\varepsilon) to ε\varepsilon:

So ε\varepsilon^{*} is an unstable fixed point separating a basin of attraction (toward perfect magic states) from a runaway regime. This is exactly the structure of a threshold.

Caveats: this is the ideal-Clifford threshold

The ε=1/35\varepsilon^{*} = 1/\sqrt{35} figure assumes the distillation circuit itself is perfect — only the input magic states are noisy. In a real device the Clifford gates and measurements that implement the protocol are also faulty, which lowers the usable threshold and is the reason distillation is run on encoded (error-corrected) qubits. The more careful analyses of Reichardt and others track these circuit-level errors and give somewhat smaller, model-dependent thresholds.[^reichardt] The 1/351/\sqrt{35} value is the clean, protocol-level number every practitioner carries in their head.

Try it

Solve the fixed-point equation 35ε3=ε35\,\varepsilon^{3} = \varepsilon for its nontrivial root and return the threshold ε\varepsilon^{*}. Derive it; the grader also checks that your value really is a fixed point of the map.

[^reichardt]: Reichardt, Quantum universality from magic states distillation applied to CSS codes, arXiv:quant-ph/0411036.

Run your code to see the quantum state.

Sign in on the full site to ask questions and join the discussion.