Skip to main content
KetQat

Appearance

Equation · intermediate

Log-likelihood edge weight for matching decoders

An independent error mechanism of probability p is given the weight ln((1 − p)/p). The probability of a set of errors is then a constant times the exponential of minus its total weight, so the most likely error is the one of minimum weight.

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.

wj  =  ln⁡1−pjpjw_j \;=\; \ln\frac{1 - p_j}{p_j}

For independent mechanisms, Pr⁡[e]=∏jpjej(1−pj)1−ej=(∏j(1−pj))exp⁡(−∑jwjej)\Pr[e] = \prod_j p_j^{e_j} (1 - p_j)^{1 - e_j} = \big(\prod_j (1 - p_j)\big) \exp\big(-\sum_j w_j e_j\big), so maximising Pr⁡[e]\Pr[e] over a set of candidate errors is the same as minimising ∑jwjej\sum_j w_j e_j. The weight is the natural logarithm of the odds against the mechanism: p=10−2p = 10^{-2} gives w=ln⁡99≈4.60w = \ln 99 \approx 4.60 and p=10−3p = 10^{-3} gives w≈6.91w \approx 6.91. When all probabilities are equal the weights can be replaced by 1 and the decoder minimises the number of errors. Weights computed from a noise model that differs from the device's actual noise make the decoder optimise the wrong quantity; see Dennis et al. for the uniform case and Higgott and Gidney for weighted decoding graphs.

Holds when

  • Independent error mechanisms with probabilities 0<pj<1/20 < p_j < 1/2, so that every weight is positive.
Builds on
Part of
Stated in

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. Eric Dennis, Alexei Kitaev, Andrew Landahl, John Preskill (2002). Topological quantum memory. Journal of Mathematical Physics 43, 4452-4505. doi:10.1063/1.1499754arXiv:quant-ph/0110143
  2. Oscar Higgott, Craig Gidney (2025). Sparse Blossom: correcting a million errors per core second with minimum-weight matching. Quantum 9, 1600. doi:10.22331/q-2025-01-20-1600arXiv:2303.15933

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)

    Factorisation Pr[e] = (prod_j (1-p_j)) exp(-sum_j w_j e_j) re-derived; numbers re-computed (ln 99 = 4.595, ln 999 = 6.907). Uniform-weight case and weighted decoding graphs checked against Dennis-Kitaev-Landahl-Preskill quant-ph/0110143 (minimum-weight chains for uniform noise) and the Sparse Blossom abstract, Higgott-Gidney arXiv 2303.15933 (MWPM on decoding graphs).

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 752c40841351799f. Source file knowledge/records/equation/matching-edge-weight.md in the content repository (readable there once it is public).