Skip to main content
KetQat

Appearance

Definition · intermediate

Detector error model

A description of a noisy error-correction circuit as a list of independent error mechanisms, each with a probability, the set of detectors it flips and the set of logical observables it flips. It is the input to a decoder for circuit-level noise.

Established definitionMachine-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.

Consider a stabilizer circuit that repeatedly measures the checks of a code.

A detector is a set of measurement outcomes whose parity is the same in every noiseless run of the circuit. Typical detectors compare the outcome of one check in two consecutive rounds. A logical observable is a set of measurement outcomes whose parity equals the outcome of a logical measurement.

A detector error model with mm detectors, KK observables and NN error mechanisms consists of

  • probabilities p1,…,pN∈(0,1/2)p_1, \dots, p_N \in (0, 1/2);
  • a matrix H∈F2m×NH \in \F_2^{m \times N}, where Hij=1H_{ij} = 1 when mechanism jj flips detector ii;
  • a matrix A∈F2K×NA \in \F_2^{K \times N}, where Alj=1A_{lj} = 1 when mechanism jj flips observable ll.

The model asserts that an error is a vector e∈F2Ne \in \F_2^N whose entries are independent with Pr⁡[ej=1]=pj\Pr[e_j = 1] = p_j, that the observed detection events are s=Hes = He, and that the logical observables are flipped by AeAe. A decoder receives ss and outputs a prediction of AeAe.

The model is graph-like when every column of HH has weight 1 or 2. It is then drawn as a decoding graph: one vertex per detector, one extra boundary vertex, and one edge per mechanism joining the two detectors it flips, or the detector and the boundary. With columns of larger weight the model is a decoding hypergraph. Under circuit noise the graph has one layer of vertices per round of syndrome extraction; edges inside a layer are data-qubit errors, edges between consecutive layers are measurement errors, and diagonal edges come from faults in the middle of an extraction circuit. This space-time picture goes back to Dennis, Kitaev, Landahl and Preskill; the file format and the automatic derivation from a circuit are those of Stim.

Holds when

  • Stabilizer circuits with Pauli noise, so that each fault flips a fixed set of measurement outcomes.
  • Error mechanisms are treated as independent; correlated mechanisms have to be listed as single mechanisms with their joint effect.
Part of

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. Craig Gidney (2021). Stim: a fast stabilizer circuit simulator. Quantum 5, 497. doi:10.22331/q-2021-07-06-497arXiv:2103.02202
  2. 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
  3. 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)

    Definitions (detectors as parity-fixed sets of measurements, observables, H and A matrices, graph-like models with boundary vertex, hypergraph otherwise, space-time layers) checked for internal consistency. Compared with Gidney arXiv 2103.02202 (Stim): detectors as sets of measurements with a promised parity, error mechanisms grouped by the detectors and logical observables they flip (detector hypergraph). Space-time picture attributed to Dennis-Kitaev-Landahl-Preskill (quant-ph/0110143); reference metadata of Stim and Sparse Blossom consistent with DOIs.

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 207e76a2e37c9d12. Source file knowledge/records/definition/detector-error-model.md in the content repository (readable there once it is public).