Papers
Topics
Authors
Recent
Search
2000 character limit reached

Detector Error Model (DEM) in QEC

Updated 5 July 2026
  • 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.

Section 2: Mathematical representations and transforms

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 maF2m_a\in\mathbb F_2, a detector is a parity check of a selected subset of those outcomes with a known noiseless reference value,

viexp=biaDima,v_i^{\mathrm{exp}}=b_i\oplus\bigoplus_{a\in D_i} m_a,

and a detector event occurs when viexp=1v_i^{\mathrm{exp}}=1. In repeated surface-code memory experiments with reset, the typical detector is the parity of two consecutive measurements of the same stabilizer,

vj,texp=mj,t1mj,t,v_{j,t}^{\mathrm{exp}}=m_{j,t-1}\oplus m_{j,t},

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 M={e}\mathcal M=\{e\} of elementary detector-level mechanisms with

e(pe,he,e),e\mapsto (p_e,\mathbf h_e,\boldsymbol\ell_e),

where pep_e is the event probability, heF2M\mathbf h_e\in\mathbb F_2^M is the detector-flip vector, and e(pe,he,e)e \mapsto (p_e,h_e,\ell_e)0 is the logical-observable flip vector. The pair e(pe,he,e)e \mapsto (p_e,h_e,\ell_e)1 is the event’s detector-logical signature (Takou et al., 9 Jun 2026). Closely related formalisms describe the DEM as a hypergraph e(pe,he,e)e \mapsto (p_e,h_e,\ell_e)2, with detectors as vertices and fault mechanisms as hyperedges, or equivalently by an incidence matrix e(pe,he,e)e \mapsto (p_e,h_e,\ell_e)3 together with excitation rates e(pe,he,e)e \mapsto (p_e,h_e,\ell_e)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

e(pe,he,e)e \mapsto (p_e,h_e,\ell_e)5

means that an independent fault channel fires with probability e(pe,he,e)e \mapsto (p_e,h_e,\ell_e)6, triggers detectors e(pe,he,e)e \mapsto (p_e,h_e,\ell_e)7, and flips logical observables e(pe,he,e)e \mapsto (p_e,h_e,\ell_e)8 (Rennela, 12 Jun 2026).

2. Mathematical structure

Under the independent DEM semantics, one samples Bernoulli variables e(pe,he,e)e \mapsto (p_e,h_e,\ell_e)9 with maF2m_a\in\mathbb F_20 and forms

maF2m_a\in\mathbb F_21

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 maF2m_a\in\mathbb F_22, then a detector history maF2m_a\in\mathbb F_23 is generated as

maF2m_a\in\mathbb F_24

over maF2m_a\in\mathbb F_25, with independent maF2m_a\in\mathbb F_26 (Blume-Kohout et al., 20 Apr 2025).

Several equivalent transforms are used to analyze DEMs. A standard parity variable is

maF2m_a\in\mathbb F_27

with polarization maF2m_a\in\mathbb F_28 and depolarization

maF2m_a\in\mathbb F_29

For event attenuation

viexp=biaDima,v_i^{\mathrm{exp}}=b_i\oplus\bigoplus_{a\in D_i} m_a,0

the DEM model obeys the linear relation

viexp=biaDima,v_i^{\mathrm{exp}}=b_i\oplus\bigoplus_{a\in D_i} m_a,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

viexp=biaDima,v_i^{\mathrm{exp}}=b_i\oplus\bigoplus_{a\in D_i} m_a,2

defines viexp=biaDima,v_i^{\mathrm{exp}}=b_i\oplus\bigoplus_{a\in D_i} m_a,3 and viexp=biaDima,v_i^{\mathrm{exp}}=b_i\oplus\bigoplus_{a\in D_i} m_a,4, and obtains

viexp=biaDima,v_i^{\mathrm{exp}}=b_i\oplus\bigoplus_{a\in D_i} m_a,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 viexp=biaDima,v_i^{\mathrm{exp}}=b_i\oplus\bigoplus_{a\in D_i} m_a,6 receives matching weight

viexp=biaDima,v_i^{\mathrm{exp}}=b_i\oplus\bigoplus_{a\in D_i} m_a,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 viexp=biaDima,v_i^{\mathrm{exp}}=b_i\oplus\bigoplus_{a\in D_i} m_a,8 with probabilities viexp=biaDima,v_i^{\mathrm{exp}}=b_i\oplus\bigoplus_{a\in D_i} m_a,9, propagates each fault through the noiseless stabilizer circuit, and groups together faults with the same detector-logical signature. If viexp=1v_i^{\mathrm{exp}}=10 is the set of physical faults with a common signature, the effective DEM probability is

viexp=1v_i^{\mathrm{exp}}=11

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,

viexp=1v_i^{\mathrm{exp}}=12

checking whether it commutes with the current tableau, and, in the commuting case, emitting a detector parity

viexp=1v_i^{\mathrm{exp}}=13

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 viexp=1v_i^{\mathrm{exp}}=14. The key step is to decompose viexp=1v_i^{\mathrm{exp}}=15 by detector-event class and approximate

viexp=1v_i^{\mathrm{exp}}=16

If a generator consists entirely of elementary error generators from a single detector-event class viexp=1v_i^{\mathrm{exp}}=17, then viexp=1v_i^{\mathrm{exp}}=18 is modeled by a single DEM event with probability

viexp=1v_i^{\mathrm{exp}}=19

for any representative detector vj,texp=mj,t1mj,t,v_{j,t}^{\mathrm{exp}}=m_{j,t-1}\oplus m_{j,t},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

vj,texp=mj,t1mj,t,v_{j,t}^{\mathrm{exp}}=m_{j,t-1}\oplus m_{j,t},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 vj,texp=mj,t1mj,t,v_{j,t}^{\mathrm{exp}}=m_{j,t-1}\oplus m_{j,t},2 and uses hierarchical inversion formulas of the form

vj,texp=mj,t1mj,t,v_{j,t}^{\mathrm{exp}}=m_{j,t-1}\oplus m_{j,t},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 vj,texp=mj,t1mj,t,v_{j,t}^{\mathrm{exp}}=m_{j,t-1}\oplus m_{j,t},4 polarizations are available,

vj,texp=mj,t1mj,t,v_{j,t}^{\mathrm{exp}}=m_{j,t-1}\oplus m_{j,t},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 vj,texp=mj,t1mj,t,v_{j,t}^{\mathrm{exp}}=m_{j,t-1}\oplus m_{j,t},6 and rates vj,texp=mj,t1mj,t,v_{j,t}^{\mathrm{exp}}=m_{j,t-1}\oplus m_{j,t},7 from syndrome data alone, without using a decoder. The exact transform

vj,texp=mj,t1mj,t,v_{j,t}^{\mathrm{exp}}=m_{j,t-1}\oplus m_{j,t},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 vj,texp=mj,t1mj,t,v_{j,t}^{\mathrm{exp}}=m_{j,t-1}\oplus m_{j,t},9,

M={e}\mathcal M=\{e\}0

depends only on hyperedges containing M={e}\mathcal M=\{e\}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 M={e}\mathcal M=\{e\}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

M={e}\mathcal M=\{e\}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 M={e}\mathcal M=\{e\}4, where M={e}\mathcal M=\{e\}5 is the number of instructions and M={e}\mathcal M=\{e\}6 bounds target-set size (Rennela, 12 Jun 2026).

Not every detector-derived quantity is a DEM. The average detector likelihood,

M={e}\mathcal M=\{e\}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

M={e}\mathcal M=\{e\}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 M={e}\mathcal M=\{e\}9 level, with larger gains in some IBM cases and a largest reported reduction of about e(pe,he,e),e\mapsto (p_e,\mathbf h_e,\boldsymbol\ell_e),0 for e(pe,he,e),e\mapsto (p_e,\mathbf h_e,\boldsymbol\ell_e),1 in IBM e(pe,he,e),e\mapsto (p_e,\mathbf h_e,\boldsymbol\ell_e),2-memory without dynamical decoupling; the abstract reports a largest fractional reduction of about e(pe,he,e),e\mapsto (p_e,\mathbf h_e,\boldsymbol\ell_e),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 e(pe,he,e),e\mapsto (p_e,\mathbf h_e,\boldsymbol\ell_e),4, e(pe,he,e),e\mapsto (p_e,\mathbf h_e,\boldsymbol\ell_e),5 held-out likelihood comparison, the learned-structure parity DEM achieved the best e(pe,he,e),e\mapsto (p_e,\mathbf h_e,\boldsymbol\ell_e),6 and e(pe,he,e),e\mapsto (p_e,\mathbf h_e,\boldsymbol\ell_e),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 e(pe,he,e),e\mapsto (p_e,\mathbf h_e,\boldsymbol\ell_e),8, a e(pe,he,e),e\mapsto (p_e,\mathbf h_e,\boldsymbol\ell_e),9 rotated surface code with pep_e0 and pep_e1 required pep_e2 shots for perfect support recovery, while a dense 8-body pep_e3 2D color code required pep_e4 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).

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Detector Error Model (DEM).