Detector Error Model (DEM) in QEC
- DEM is a stochastic model representing independent detector fault events with specified probabilities and logical observable flips in quantum error correction.
- Key methodologies include independent-event sampling, Hadamard-based inversion, and hypergraph structure learning to recover error probabilities from syndrome data.
- Applications range from circuit-level noise compression and decoder calibration to empirical performance analysis, with limitations in identifiability and non-Markovian effects.
to circuit noise and experimental syndrome data; each elementary event has a probability and specifies which detectors and logical observables it flips. Cite (Takou et al., 9 Jun 2026) and (Rennela, 12 Jun 2026) maybe enough.
Need numbered h2 sections 1-6 maybe.
Section 1: Definition and semantics.
- detector definition from (Takou et al., 9 Jun 2026): and event map .
- mention alternative equivalent formalizations: hypergraph over detectors (Ye et al., 15 Jun 2026), incidence matrix M and excitation rates theta (Arms et al., 11 Dec 2025), DEM={(E_i,p_Ei)} (Blume-Kohout et al., 20 Apr 2025).
- mention DEM not microscopic Hamiltonian/gate-noise model.
- mention detector and logical observable. Could cite (Takou et al., 9 Jun 2026, Blume-Kohout et al., 20 Apr 2025, Ye et al., 15 Jun 2026, Rennela, 12 Jun 2026) maybe once each.
Section 2: Mathematical representations and transforms
- independent-event sampling formula.
- parity/polarization/attenuation from (Blume-Kohout et al., 20 Apr 2025) and (Arms et al., 11 Dec 2025) and CAHR moment equation from (Ye et al., 15 Jun 2026).
- maybe include matching weight formula from (Takou et al., 9 Jun 2026).
- mention exact inversion transform via Hadamard etc. Need avoid too many formulas? Some key ones okay.
Section 3: From circuit-level noise to DEMs
- circuit-generated DEM groups physical faults sharing detector-logical signature via parity rule (Takou et al., 9 Jun 2026).
- LightStim automates detector/observable annotation during compilation (Fang et al., 23 Apr 2026).
- beyond Pauli stochastic noise: EEG-based mapping from general Markovian noise to DEM (Hines et al., 19 Mar 2026). Could discuss standard Stim workflows. Mention errors as edges/hyperedges. Mention theorem 1 single class => single DEM event maybe. Need careful not to overstate exactness beyond leading order.
Section 4: Estimation from syndrome data
- central recent topic: estimate probabilities on fixed support from syndromes (Takou et al., 9 Jun 2026); hierarchical inversion formulas with moments up to 4, independent-event assumption, bootstrap regularization, no supervised fitting to logical outcomes, support fixed.
- general exact inversion from detector histories (Blume-Kohout et al., 20 Apr 2025) using Walsh-Hadamard; aggregated classes and sparse methods.
- (Arms et al., 11 Dec 2025) consolidates algorithms for structure and rates from syndromes alone, moment- and parity-based, exact transforms, learning on Google Willow. Need mention fixed support vs structure learning distinction. Maybe (Ye et al., 15 Jun 2026) next section topology learning? Could combine.
Section 5: Structure learning, equivalence, and tooling
- CAHR reconstructs topology with top-down pruning, benchmarks.
- Quasilinear equivalence checking and normal forms for DEMs (Rennela, 12 Jun 2026).
- average detector likelihood as compressed derived statistic not DEM (Hesner et al., 2024) maybe related abstraction. Maybe section title "Reconstruction, comparison, and reduced statistics".
Section 6: Empirical performance, applications, and limits
- (Takou et al., 9 Jun 2026) Google Willow and IBM: 5-10% LEP reduction, larger IBM ~37/38%.
- (Arms et al., 11 Dec 2025) syndrome-trained vs RL-trained on Willow: syndrome-fit better at held-out syndrome likelihood, RL slightly better decoder prior. time-series drift, long-range correlations, artifacts not well modeled by DEM.
- (Ye et al., 15 Jun 2026) FP/FN exact topology at enough shots; variance cascade.
- limitations: identifiability restricted, support missing can't recover, independent-event assumption, negative correlators/unphysical estimates, non-Markovian/leakage/radiation/TLS-like events outside DEM assumptions.
- mention (Hines et al., 19 Mar 2026) negative DEM rates can arise beyond leading order due anticorrelations. Maybe also mention detector likelihood paper as compressed benchmark and loss of structure maybe in limits section or previous.
Need encyclopedia style maybe sections numbered. Let's ensure intro no heading. Could be 6 sections.
Need use citations not too repetitive. At most once per section each paper. Fine.
Need article only. Let's draft.
A Detector Error Model (DEM) is a detector-level stochastic model for the events and logical-observable flips relevant to quantum error correction decoding. In the standard formulation, a DEM is a set of independent elementary error mechanisms, each specified by a probability and by the subset of detectors and logical observables it toggles; it therefore sits between microscopic circuit-level faults and decoder-level logical inference, retaining the syndrome-visible structure while discarding physically irrelevant detail (Takou et al., 9 Jun 2026, Rennela, 12 Jun 2026).
1. Definition and semantic scope
A DEM is defined operationally at the level of detector outcomes. If an experiment produces measurement bits , a detector is a parity check of a selected subset of those outcomes with a known noiseless reference value,
and a detector event occurs when . In repeated surface-code memory experiments with reset, the typical detector is the parity of two consecutive measurements of the same stabilizer,
whereas in no-reset settings detectors can compare measurements two cycles apart (Takou et al., 9 Jun 2026).
In the independent-event representation, a DEM is a finite set of elementary detector-level mechanisms with
where is the event probability, is the detector-flip vector, and 0 is the logical-observable flip vector. The pair 1 is the event’s detector-logical signature (Takou et al., 9 Jun 2026). Closely related formalisms describe the DEM as a hypergraph 2, with detectors as vertices and fault mechanisms as hyperedges, or equivalently by an incidence matrix 3 together with excitation rates 4 (Ye et al., 15 Jun 2026, Arms et al., 11 Dec 2025).
This detector-level viewpoint is explicitly distinct from a microscopic Hamiltonian or gate-noise model. A DEM is not a full description of the underlying physics; it is an effective stochastic model of observable detector histories. In the language of syndrome-history inference, detector histories arise by starting from the all-zero detector string and XOR-adding independent DEM events, so that the model is defined by observable detector patterns rather than by physically unique fault locations (Blume-Kohout et al., 20 Apr 2025). The same idea appears in Stim-style syntax, where an instruction
5
means that an independent fault channel fires with probability 6, triggers detectors 7, and flips logical observables 8 (Rennela, 12 Jun 2026).
2. Mathematical structure
Under the independent DEM semantics, one samples Bernoulli variables 9 with 0 and forms
1
This is the model-level analog of the experimentally computed detector bits and logical labels (Takou et al., 9 Jun 2026). In matrix language, if the event supports are the columns of 2, then a detector history 3 is generated as
4
over 5, with independent 6 (Blume-Kohout et al., 20 Apr 2025).
Several equivalent transforms are used to analyze DEMs. A standard parity variable is
7
with polarization 8 and depolarization
9
For event attenuation
0
the DEM model obeys the linear relation
1
which yields exact inversion formulas via the Walsh-Hadamard transform when the full parity family is available (Blume-Kohout et al., 20 Apr 2025). A closely related formulation writes
2
defines 3 and 4, and obtains
5
after fixing the redundant empty-set parameter (Arms et al., 11 Dec 2025).
For graphlike decoding, DEM probabilities become decoder weights directly. An event with detector support 6 receives matching weight
7
so inaccurate DEM probabilities imply inaccurate decoder priors (Takou et al., 9 Jun 2026). This is one reason DEM calibration is not merely descriptive: the event probabilities are part of the decoder itself.
3. Construction from circuits and noise models
In circuit-generated DEMs, one starts from physical fault locations 8 with probabilities 9, propagates each fault through the noiseless stabilizer circuit, and groups together faults with the same detector-logical signature. If 0 is the set of physical faults with a common signature, the effective DEM probability is
1
The resulting DEM is already a compressed detector-level image of the physical noise model (Takou et al., 9 Jun 2026).
This compression is the basis of standard QEC toolchains. The decoder does not operate on the raw circuit; it operates on detector and logical-observable parities compiled from the circuit. LightStim formalizes this by maintaining a Pauli tableau augmented with measurement records during circuit compilation. Mid-circuit detectors are produced by back-propagating a measured ancilla Pauli,
2
checking whether it commutes with the current tableau, and, in the commuting case, emitting a detector parity
3
At final readout, remaining stabilizer rows produce detectors and remaining logical rows produce OBSERVABLE_INCLUDE declarations. In this framework, DEM construction is concurrent with circuit compilation rather than a separate manual annotation pass (Fang et al., 23 Apr 2026).
More general constructions extend DEMs beyond Pauli-stochastic noise. For a Clifford circuit with general small Markovian circuit-level CPTP noise, the noise can be expressed in the elementary error generator basis and propagated to the end of the circuit to form a circuit error generator 4. The key step is to decompose 5 by detector-event class and approximate
6
If a generator consists entirely of elementary error generators from a single detector-event class 7, then 8 is modeled by a single DEM event with probability
9
for any representative detector 0. This construction captures leading coherent accumulation and cancellation effects in effective DEM rates, although exact stochastic DEM semantics need not hold beyond the perturbative regime (Hines et al., 19 Mar 2026).
4. Estimation from syndrome data
A major recent development is DEM inference directly from experimental syndrome records. One line of work assumes that the detector-logical support is known from a reference DEM and estimates only the event probabilities from observed detector statistics. In surface-code memory experiments, empirical detector moments are formed from
1
and then inverted analytically. For graphlike supports, pair and boundary probabilities can be recovered from low-order detector moments; for supports up to size four, one defines 2 and uses hierarchical inversion formulas of the form
3
followed by a downward recursion from larger supports to smaller ones (Takou et al., 9 Jun 2026).
In this fixed-support setting, the support is not reconstructed from scratch. The question is whether DEM event probabilities learned directly from syndrome history on a fixed reference detector-logical support serve as a competitive decoder prior. The method uses only detector-event statistics and inherited support information; it does not use final logical success or failure outcomes, does not perform supervised fitting to logical labels, and does not optimize a separate likelihood objective over probabilities (Takou et al., 9 Jun 2026).
A more general algebraic program estimates DEMs from syndrome histories by transforming detector data into polarizations and depolarizations. When all 4 polarizations are available,
5
so individual DEM event probabilities are exactly reconstructible in principle. For large systems, one instead estimates aggregated event classes on small detector subsets or uses sparse recovery schemes based on low-weight parities and class-lattice pruning (Blume-Kohout et al., 20 Apr 2025).
Recent work on Google hardware systematizes both moment-based and parity-based estimation. It treats the inverse problem as learning the hypergraph structure 6 and rates 7 from syndrome data alone, without using a decoder. The exact transform
8
is tractable only for small detector sets, so large-scale inference relies on local moments, local parities, clique growth, and low-cardinality search (Arms et al., 11 Dec 2025).
5. Structure learning, comparison, and reduced statistics
When the DEM support is not known, the central problem becomes topology recovery. CAHR addresses this by treating the DEM as a detector hypergraph and using exact correlation identities together with top-down concurrent pruning. For detector subset 9,
0
depends only on hyperedges containing 1, which enables recursive estimation of candidate hyperedge probabilities from high degree downward. The method first builds a pruned pair-correlation graph, enumerates cliques up to an assumed 2, and then infers candidate hyperedges in descending order while pruning immediately when inferred probabilities fall below threshold (Ye et al., 15 Jun 2026).
A different but related question is when two DEMs should be regarded as equivalent. A recent equational theory models DEMs as a term language with XOR semantics on detector and observable targets, provides rewrite rules such as same-target fusion
3
and proves that every DEM term has a unique normal form up to same-scope permutation. The associated static equivalence procedure runs in quasilinear time 4, where 5 is the number of instructions and 6 bounds target-set size (Rennela, 12 Jun 2026).
Not every detector-derived quantity is a DEM. The average detector likelihood,
7
is the mean probability that selected bulk detectors click. It can be derived from detector samples or from a DEM, and it can be used to define an effective flat-noise parameter
8
but it is only a scalar summary statistic. It discards detector identity, pairwise and higher-order correlations, hyperedge structure, space-time anisotropy, and logical-observable information, and is therefore not a full detector error model (Hesner et al., 2024).
6. Empirical behavior, applications, and limitations
On real surface-code memory data, syndrome-estimated DEMs can improve decoding relative to baseline device-informed DEMs. For Google Willow and IBM ibm_miami, re-estimating DEM event probabilities from syndrome data while keeping the reference support fixed improved decoded logical error probabilities relative to baseline priors, typically at the 9 level, with larger gains in some IBM cases and a largest reported reduction of about 0 for 1 in IBM 2-memory without dynamical decoupling; the abstract reports a largest fractional reduction of about 3 for a single syndrome-extraction cycle (Takou et al., 9 Jun 2026).
The distinction between syndrome fidelity and decoder utility is now explicit. On Google’s Willow data, syndrome-trained DEMs estimated directly from observed syndromes matched held-out syndrome distributions more closely than RL-trained DEMs, while RL-trained DEMs could still be slightly better decoder priors in logical memory experiments. In a tractable 4, 5 held-out likelihood comparison, the learned-structure parity DEM achieved the best 6 and 7, whereas RL-trained priors remained competitive or superior for downstream decoding (Arms et al., 11 Dec 2025).
For topology recovery, shot count matters sharply. In CAHR benchmarks at physical error rate 8, a 9 rotated surface code with 0 and 1 required 2 shots for perfect support recovery, while a dense 8-body 3 2D color code required 4 shots. The same work identifies a variance cascade: absolute statistical variance accumulates from high-degree parent mechanisms into lower-degree estimates, making support recovery easier than stable continuous parameter recovery in dense DEMs (Ye et al., 15 Jun 2026).
The limitations are equally central. DEM estimation from syndrome data is identifiable only on the assumed detector support or on the restricted detector subsets actually queried. If multiple DEM events share the same detector support but differ in logical support, detector moments alone do not separate them (Takou et al., 9 Jun 2026). Fixed-support methods cannot recover detector-logical signatures absent from the reference DEM (Takou et al., 9 Jun 2026). Exact inversion becomes unstable when polarizations approach zero, and sparse recovery depends on low-cardinality, sparse-hypergraph structure (Blume-Kohout et al., 20 Apr 2025, Arms et al., 11 Dec 2025). Non-Markovian effects, leakage, strong coherent correlations, or nonstationary artifacts can violate the independent-event assumption (Hines et al., 19 Mar 2026, Takou et al., 9 Jun 2026).
Hardware studies also show phenomena that are not well modeled by DEMs. On Google repetition-code data, two artifacts were identified as outside the DEM framework: correlated flipping of pairs of adjacent detectors for many consecutive rounds, described as TLS-like events, and signatures consistent with radiation events occurring more frequently than previously reported. These are temporally extended, nonstationary processes rather than stationary iid Bernoulli excitations (Arms et al., 11 Dec 2025). More generally, beyond leading order, exact detector statistics under non-Pauli noise can require negative DEM event rates to represent anticorrelations, demonstrating that standard positive-rate DEMs are effective perturbative surrogates rather than universally exact models (Hines et al., 19 Mar 2026).