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: M
is the 4×15 matrix whose columns are the non-zero vectors of F24, and
H={e∈F215:Me=0} is the [15,11,3]Hamming code.
Reduction to a classical question. After step 2 the block is in the state
Z(e)TL†∣+L⟩, where e∈F215 marks the inputs that carried a
Z error; Z errors commute with the injected T gates. The bits of e are
independent with Pr[ej=1]=p.
Detection.Z(e) commutes with the stabilizer X(h) exactly when
h⋅e=0. All four checks are satisfied if and only if Me=0, that is
e∈H.
Effect of an undetected pattern. The Z-type stabilizers are the Z(g) with
g∈H of even weight. If e∈H has even weight, Z(e)
is a stabilizer and the state is unchanged. If e∈H has odd weight,
then e+115 has even weight and lies in H, because the all-ones
vector 115 is in H (every row of M has weight 8); hence
Z(e)=Z⊗15Z(e+115) acts as the logical Zˉ.
Therefore, with Aw the number of codewords of weight w in H,
Leading order.H has distance 3, so A1=A2=0. A weight-3
codeword is a set of three distinct columns of M that sum to zero. Choosing two
distinct columns a,b determines the third, a+b, which is non-zero and differs
from both; each set is counted 3!=6 times among the 15⋅14 ordered pairs,
so A3=15⋅14/6=35. Since A0=1,
Pacc=(1−p)15+O(p3)=1−15p+O(p2),pout=35p3+O(p4).
Exact expression. The dual of H is the row space of M, the
[15,4,8] simplex code, with weight enumerator 1+15y8. The
MacWilliams identity gives
W(x)=w∑Awxw=161[(1+x)15+15(1+x)7(1−x)8].
Put x=p/(1−p), so that (1−p)(1+x)=1 and (1−p)(1−x)=1−2p. Then
As a check, expanding the numerator in u=1−2p about u=1: its value and its
first two derivatives vanish there and its third derivative is
5040−3150−2730=−840, so the numerator is
−140(u−1)3+⋯=1120p3+…, and dividing by the denominator
32+O(p) gives 35p3.
Claude (AI drafting assistant)Writing, original draft (CRediT roles)
Review history
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
2026-12-01Content release 2.1.0: 35 more topics, an independent source check of every record, intake hardening (#17)80537b7e
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).