Skip to main content
KetQat

Appearance

Equation · advanced

Output error of 15-to-1 distillation

Fifteen T states with independent Z-error probability p are distilled into one with error probability 35 p^3 at leading order. The exact expression follows from the weight enumerator of the [15,11,3] Hamming code.

Established resultMachine-checkedUpdated 2026-12-01 · last verified 2026-12-01

AI-assisted text, machine-checked, not yet reviewed by a person. Citations resolve and an automated pass compared the statements with the cited sources. That is not peer review; check the sources for anything you depend on.

pout  =  1+15 (1−2p)8−15 (1−2p)7−(1−2p)152 [ 1+15 (1−2p)8 ]  =  35 p3+O(p4)p_{\mathrm{out}} \;=\; \frac{1 + 15\,(1-2p)^{8} - 15\,(1-2p)^{7} - (1-2p)^{15}}{2\,\big[\,1 + 15\,(1-2p)^{8}\,\big]} \;=\; 35\,p^{3} + O(p^{4})

Here poutp_{\mathrm{out}} is the probability that the output of 15-to-1 distillation carries a ZZ error, conditioned on acceptance. The probability of acceptance is

Pacc  =  1+15 (1−2p)816  =  1−15 p+O(p2).P_{\mathrm{acc}} \;=\; \frac{1 + 15\,(1-2p)^{8}}{16} \;=\; 1 - 15\,p + O(p^{2}) .

The map p↦poutp \mapsto p_{\mathrm{out}} has a non-trivial fixed point at p≈0.141p \approx 0.141: inputs with a smaller error rate are improved, and iterating the protocol drives the error to zero. The expression and the fixed point are those of Bravyi and Kitaev. The coefficient 35 is the number of weight-3 codewords of the [15,11,3][15,11,3] Hamming code.

When the stabilizer operations are themselves noisy, as in a logical-level implementation at finite code distance, their errors add to poutp_{\mathrm{out}} and set a floor that this formula does not contain.

Holds when

  • Noiseless stabilizer operations.
  • Fifteen independent input T states, each with a ZZ error of probability pp and no other error.
  • The output is kept only when all four XX-type checks of the fifteen-qubit code are satisfied.

Proof

Derivation of the 15-to-1 output errorMachine-checked

Notation as in 15-to-1 distillation: MM is the 4×154 \times 15 matrix whose columns are the non-zero vectors of F24\F_2^{4}, and H={e∈F215:Me=0}\mathcal{H} = \{ e \in \F_2^{15} : M e = 0 \} is the [15,11,3][15,11,3] Hamming code.

Reduction to a classical question. After step 2 the block is in the state Z(e) TL†∣+L⟩Z(e)\, T_L\dagg \ket{+_L}, where e∈F215e \in \F_2^{15} marks the inputs that carried a ZZ error; ZZ errors commute with the injected TT gates. The bits of ee are independent with Pr⁡[ej=1]=p\Pr[e_j = 1] = p.

  • Detection. Z(e)Z(e) commutes with the stabilizer X(h)X(h) exactly when h⋅e=0h \cdot e = 0. All four checks are satisfied if and only if Me=0M e = 0, that is e∈He \in \mathcal{H}.
  • Effect of an undetected pattern. The ZZ-type stabilizers are the Z(g)Z(g) with g∈Hg \in \mathcal{H} of even weight. If e∈He \in \mathcal{H} has even weight, Z(e)Z(e) is a stabilizer and the state is unchanged. If e∈He \in \mathcal{H} has odd weight, then e+115e + 1^{15} has even weight and lies in H\mathcal{H}, because the all-ones vector 1151^{15} is in H\mathcal{H} (every row of MM has weight 8); hence Z(e)=Z⊗15Z(e+115)Z(e) = Z^{\otimes 15} Z(e + 1^{15}) acts as the logical Zˉ\bar{Z}.

Therefore, with AwA_w the number of codewords of weight ww in H\mathcal{H},

Pacc=∑wAw pw(1−p)15−w,pout=1Pacc∑w oddAw pw(1−p)15−w.P_{\mathrm{acc}} = \sum_{w} A_w\, p^{w} (1-p)^{15-w} , \qquad p_{\mathrm{out}} = \frac{1}{P_{\mathrm{acc}}} \sum_{w \text{ odd}} A_w\, p^{w} (1-p)^{15-w} .

Leading order. H\mathcal{H} has distance 3, so A1=A2=0A_1 = A_2 = 0. A weight-3 codeword is a set of three distinct columns of MM that sum to zero. Choosing two distinct columns a,ba, b determines the third, a+ba + b, which is non-zero and differs from both; each set is counted 3!=63! = 6 times among the 15⋅1415 \cdot 14 ordered pairs, so A3=15⋅14/6=35A_3 = 15 \cdot 14 / 6 = 35. Since A0=1A_0 = 1,

Pacc=(1−p)15+O(p3)=1−15p+O(p2),pout=35 p3+O(p4).P_{\mathrm{acc}} = (1-p)^{15} + O(p^{3}) = 1 - 15 p + O(p^{2}) , \qquad p_{\mathrm{out}} = 35\, p^{3} + O(p^{4}) .

Exact expression. The dual of H\mathcal{H} is the row space of MM, the [15,4,8][15,4,8] simplex code, with weight enumerator 1+15y81 + 15 y^{8}. The MacWilliams identity gives

W(x)  =  ∑wAwxw  =  116[(1+x)15+15 (1+x)7(1−x)8].W(x) \;=\; \sum_{w} A_w x^{w} \;=\; \frac{1}{16} \Big[ (1+x)^{15} + 15\, (1+x)^{7} (1-x)^{8} \Big] .

Put x=p/(1−p)x = p/(1-p), so that (1−p)(1+x)=1(1-p)(1 + x) = 1 and (1−p)(1−x)=1−2p(1-p)(1 - x) = 1 - 2p. Then

Pacc=(1−p)15 W(x)=1+15 (1−2p)816,(1−p)15 W(−x)=(1−2p)15+15 (1−2p)716.P_{\mathrm{acc}} = (1-p)^{15}\, W(x) = \frac{1 + 15\,(1-2p)^{8}}{16} , \qquad (1-p)^{15}\, W(-x) = \frac{(1-2p)^{15} + 15\,(1-2p)^{7}}{16} .

The odd-weight part of the sum is (1−p)15 [W(x)−W(−x)]/2(1-p)^{15}\,[W(x) - W(-x)]/2, so

pout=W(x)−W(−x)2 W(x)=1+15 (1−2p)8−15 (1−2p)7−(1−2p)152 [1+15 (1−2p)8].p_{\mathrm{out}} = \frac{W(x) - W(-x)}{2\, W(x)} = \frac{1 + 15\,(1-2p)^{8} - 15\,(1-2p)^{7} - (1-2p)^{15}}{2\,\big[ 1 + 15\,(1-2p)^{8} \big]} .

As a check, expanding the numerator in u=1−2pu = 1 - 2p about u=1u = 1: its value and its first two derivatives vanish there and its third derivative is 5040−3150−2730=−8405040 - 3150 - 2730 = -840, so the numerator is −140 (u−1)3+⋯=1120 p3+…-140\,(u-1)^{3} + \dots = 1120\, p^{3} + \dots, and dividing by the denominator 32+O(p)32 + O(p) gives 35 p335\, p^{3}.

Open in the knowledge graph

Contributions about this record

Nobody has published a contribution about it yet.

Publish a result, reproduction or commentPropose a correction to this page

References

  1. Sergei Bravyi, Alexei Kitaev (2005). Universal quantum computation with ideal Clifford gates and noisy ancillas. Physical Review A 71, 022316. doi:10.1103/PhysRevA.71.022316arXiv:quant-ph/0403025

Contributors

  • KetQat maintainers · @ketqatConceptualization; Supervision (CRediT roles)
  • Claude (AI drafting assistant)Writing, original draft (CRediT roles)

Review history

  1. Automated source check · Pass · 2026-12-01 · Independent automated verification pass (AI, not the drafting session)

    Formula compared with Bravyi-Kitaev (arXiv:quant-ph/0403025) eqs. (34)-(38) (p_s, eps_out, eps0 = 0.141, 35 eps^3); re-derived by MacWilliams from the simplex weight enumerator; numerically enumerated the [15,11,3] Hamming code weight distribution (35 words of weight 3), checked p_out/(35 p^3) -> 1 and the fixed point 0.14148.

Revision history

  1. 2026-12-01Content release 2.1.0: 35 more topics, an independent source check of every record, intake hardening (#17)80537b7e
  2. 2026-11-30KetQat Commons: free learning paths, knowledge records, research problems, literature intake (#14)571c9b10

Current revision f13bb4a01db62d13. Source file knowledge/records/equation/fifteen-to-one-output-error.md in the content repository (readable there once it is public).