Skip to main content
KetQat

Appearance

Proof · advanced

Derivation of the 15-to-1 output error

Undetected Z-error patterns are the codewords of the [15,11,3] Hamming code and the harmful ones are those of odd weight. Counting the 35 weight-3 codewords gives the leading term, and the MacWilliams identity gives the exact expression.

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.

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}.

Uses

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)

    Every step re-derived (detection iff Me = 0; odd-weight Hamming codewords act as logical Z because the all-ones word is in the code; A_3 = 35 by counting; MacWilliams transform of the simplex enumerator 1 + 15y^8; substitution x = p/(1-p); third-derivative check -840). Numerical check: enumerated all 2048 codewords of the [15,11,3] code (weight distribution 1, 35, 105, ..., all-ones word present) and confirmed that the direct sums equal the closed forms for P_acc and p_out at p = 0.001..0.3, with p_out/p^3 -> 35. Closed forms compared with Bravyi-Kitaev, arXiv:quant-ph/0403025, eqs. (35), (36) and (38) and the MacWilliams step preceding them.

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 8adc66be12bf7dd0. Source file knowledge/records/proof/fifteen-to-one-output-error.md in the content repository (readable there once it is public).