Skip to main content
KetQat

Appearance

Topic · advanced

Quantum Decoders

How a classical algorithm turns the syndrome of a quantum code into a correction. The optimal rule compares cosets of errors and is intractable in general; matching, union-find, belief propagation with post-processing, tensor networks and neural networks approximate it under a real-time constraint.

ExpositionMachine-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.

Overview

A quantum error-correcting code produces a syndrome: the outcomes of its check measurements. The syndrome says that something went wrong and constrains what, but it does not name the error. A decoder is the classical algorithm that reads the syndrome and decides which correction to apply, or, in a computation, how to reinterpret later logical measurement outcomes.

Three facts shape the subject.

  1. Many errors share each syndrome, and errors that differ by a stabilizer have the same effect on the encoded state. The right question is which class of errors most probably occurred, not which error.
  2. Answering that question exactly is computationally intractable for general codes, so practical decoders exploit the structure of a code family or accept an approximation.
  3. A decoder for a running computer must process syndrome data at least as fast as the hardware produces them.

This page states the decoding problem and its complexity, describes the main algorithms and what each one computes exactly, and explains the real-time constraint. Surface codes and quantum LDPC codes are treated on their own pages. For a survey restricted to surface codes see deMarti iOlius et al..

Intuition

Think of a repetition code protecting one bit against flips. Checks compare neighbouring bits, and a check "fires" when its two bits disagree. A single flip in the middle of the chain fires the two checks on either side of it; a run of adjacent flips fires only the two checks at the ends of the run. The syndrome therefore shows the end points of chains of errors, and the decoder has to guess how the end points were joined. If each flip is unlikely, short chains are more likely than long ones, so the natural guess joins the end points in the cheapest way. That guess is minimum-weight matching.

Surface codes work the same way in two dimensions, with one twist that has no classical counterpart. Two different chains with the same end points that together enclose a region differ by a product of checks, and such a product does nothing to the encoded state. The decoder does not need to choose between them, and should add their probabilities. A decoder that looks for the single likeliest chain throws that information away.

Measurements are themselves faulty, so one syndrome cannot be trusted. Checks are measured repeatedly and the decoder looks at changes between rounds. Time becomes a third dimension of the problem: a measurement error looks like a chain running in the time direction. The lesson Decoding with minimum-weight perfect matching builds this picture step by step.

Prerequisites

Stabilizer codes, syndromes and logical operators (stabilizer codes); the surface code (surface codes); graphs and shortest paths; probability at the level of Bayes' rule. Belief propagation is introduced under classical error-correcting codes.

Mathematical Definitions

DefinitionDegenerate maximum-likelihood decodingEstablished definition

Let S\mathcal{S} be the stabilizer group of an [[n,k]][[n, k]] stabilizer code, generated by independent commuting Pauli operators g1,…,gn−kg_1, \dots, g_{n-k}, and let N(S)N(\mathcal{S}) be its normalizer in the Pauli group. Phases are ignored throughout, so a Pauli error is an element of F22n\F_2^{2n}. The syndrome of an error EE is σ(E)∈F2n−k\sigma(E) \in \F_2^{n-k}, whose ii-th bit is 1 exactly when EE anticommutes with gig_i. Let Pr⁡\Pr be a probability distribution on errors.

Fix, for every syndrome ss, one Pauli TsT_s with σ(Ts)=s\sigma(T_s) = s. The errors with syndrome ss are exactly the elements of Ts N(S)T_s\, N(\mathcal{S}), and this set splits into 4k4^k cosets TsL ST_s L\, \mathcal{S}, one for each logical class L∈N(S)/SL \in N(\mathcal{S})/\mathcal{S}. Two errors in the same coset differ by a stabilizer and act identically on every code state.

  • Most-likely-error decoding returns E^(s)∈arg⁡max⁡E: σ(E)=sPr⁡[E]\hat E(s) \in \arg\max_{E :\, \sigma(E) = s} \Pr[E].
  • Degenerate maximum-likelihood decoding returns any element of the coset TsL^(s) ST_s \hat L(s)\, \mathcal{S}, where
L^(s)  ∈  arg⁡max⁡L∈N(S)/S  ∑S∈SPr⁡[ Ts L S ].\hat L(s) \;\in\; \arg\max_{L \in N(\mathcal{S})/\mathcal{S}} \;\sum_{S \in \mathcal{S}} \Pr\big[\, T_s\, L\, S \,\big] .

The sum has 2n−k2^{n-k} terms. A decoder is a map from syndromes to corrections; it succeeds when the correction lies in the same coset as the error. If it picks the coset C(s)C(s) for syndrome ss, its success probability is ∑sPr⁡[E∈C(s)]\sum_s \Pr[E \in C(s)], which is maximised term by term by the rule above. Degenerate maximum-likelihood decoding therefore has the smallest logical failure probability of any decoder for the given code and noise. The two rules coincide when every coset contains at most one error of non-negligible probability, as for a non-degenerate code at low noise, and differ in general; the formulation follows Hsieh and Le Gall and Iyer and Poulin.

Holds when
  • A stabilizer code on nn qubits with stabilizer group S\mathcal{S} and kk logical qubits, and a probability distribution on nn-qubit Pauli errors taken up to phase.
  • The syndrome is measured without error. With faulty measurements the same definition applies to the detectors of a space-time circuit.

The difference between the two rules is the difference between an energy and a free energy. For independent noise of strength pp an error of weight ww has probability proportional to (p/(1−p))w(p/(1-p))^w, so a coset containing many errors of moderate weight can outweigh a coset containing the single lightest error. Dennis, Kitaev, Landahl and Preskill made this precise for the toric code: the coset probabilities are partition functions of a random-bond Ising model on the Nishimori line, and the threshold of optimal decoding is its phase transition.

DefinitionDetector error modelEstablished definition

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.

With a detector error model the decoding problem keeps its form. The cosets are now classes of error vectors ee with the same detection events HeHe and the same logical effect AeAe, and the optimal decoder returns the value of AeAe with the largest total probability given He=sHe = s.

Theorems

TheoremNP-hardness of decoding general stabilizer codesPeer-reviewed result

Consider the two problems of degenerate maximum-likelihood decoding: given the generators of a stabilizer code on nn qubits and a syndrome, output (i) a most likely error with that syndrome, or (ii) an element of a most likely coset of the stabilizer group.

  1. Hsieh and Le Gall (2011). For the Pauli channel in which every qubit independently suffers an XX error with probability pp and a ZZ error with probability pp, where p<1/2p < 1/2, problems (i) and (ii) are both NP-hard. In particular, taking degeneracy into account does not make decoding easier in the worst case.
  2. Kuo and Lu (2020). For the depolarizing channel, where the XX and ZZ parts of an error are correlated, finding a most likely error and finding a correction that minimises the probability of a decoding error are NP-hard. Bounded-distance decoding of stabilizer codes is NP-hard for every channel model.

Both proofs are polynomial-time reductions from decoding problems for classical binary linear codes, whose NP-completeness is due to Berlekamp, McEliece and van Tilborg. In the reduction of Hsieh and Le Gall a classical parity-check matrix is embedded in a stabilizer code so that, for the constructed instances, the probability of a coset factorises and a most likely coset reveals a minimum-weight solution of the classical problem. Problem (ii) is in fact harder than NP-hard: see the #P-completeness theorem.

Holds when
  • Worst case over all stabilizer codes, specified by their generators, and over all syndromes. Nothing is implied for a particular family such as surface codes.
  • Memoryless Pauli noise with a fixed error rate below 1/21/2, and perfect syndrome measurement.
Theorem#P-completeness of degenerate maximum-likelihood decodingPeer-reviewed result

Let DQMLD be the following problem. The input is a stabilizer code on nn qubits given by n−kn - k independent generators, a memoryless Pauli channel, a syndrome ss and a promise gap Δ\Delta. It is promised that some logical class L⋆L^\star satisfies Pr⁡[L⋆∣s]−Pr⁡[L∣s]≥ΔPr⁡[L⋆∣s]\Pr[L^\star \mid s] - \Pr[L \mid s] \ge \Delta \Pr[L^\star \mid s] for all L≠L⋆L \ne L^\star, where Pr⁡[L∣s]\Pr[L \mid s] is the total conditional probability of the coset labelled by LL as in the definition of degenerate maximum-likelihood decoding. The output is L⋆L^\star.

Theorem (Iyer and Poulin, 2015, Theorem 5.1). On the independent XX–ZZ channel, already for codes with k=1k = 1 and for a promise gap Δ≤2 [2+nλ]−1\Delta \le 2\,[2 + n^{\lambda}]^{-1} with λ=Ω(polylog n)\lambda = \Omega(\mathrm{polylog}\, n), DQMLD is #P-complete up to polynomial-time Turing reductions.

Membership follows because, for a channel in which the probability of an error depends only on its weight (for the independent XX–ZZ channel, on its XX-weight and its ZZ-weight), the probability of a coset is determined by its weight enumerator, the number of its elements of each weight, and counting those elements is a #P problem. Hardness is shown by reducing from the computation of the weight enumerator of a classical binary linear code, which is #P-complete. By Toda's theorem a polynomial-time machine with a #P oracle decides every language in the polynomial hierarchy, so the result places optimal degenerate decoding well above the NP-hard problem of finding a most likely error. The same paper shows that when the promise gap is so large that one error dominates its coset, degenerate and non-degenerate decoding coincide.

Holds when
  • Worst case over stabilizer codes given by n−kn - k independent generators and over syndromes; proved for the independent XX–ZZ channel.
  • The problem carries a promise that the best coset beats every other coset by a stated relative gap; completeness is with respect to polynomial-time Turing reductions, because decoding is not itself a counting problem.

These are worst-case statements about arbitrary stabilizer codes. Specific families escape them when extra structure is present, and the next result is the most important example.

EquationLog-likelihood edge weight for matching decodersEstablished result
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.
TheoremMinimum-weight matching finds a most likely error in a graph-like modelEstablished result

Let (H,p)(H, p) be a graph-like detector error model with decoding graph GG: vertices are the detectors and one boundary vertex bb, and mechanism jj is an edge of weight wj=ln⁡((1−pj)/pj)>0w_j = \ln\big((1 - p_j)/p_j\big) > 0. For vertices u,vu, v let d(u,v)d(u, v) be the weight of a lightest path from uu to vv in GG. Let ss be a syndrome and D={i:si=1}D = \{ i : s_i = 1 \} its set of detection events.

Define the complete graph KDK_D on the vertex set D∪{bu:u∈D}D \cup \{ b_u : u \in D \}, with one private copy bub_u of the boundary for every event, and edge weights

ω(u,v)=d(u,v),ω(u,bu)=d(u,b),ω(bu,bv)=0(u≠v∈D),\omega(u, v) = d(u, v), \qquad \omega(u, b_u) = d(u, b), \qquad \omega(b_u, b_v) = 0 \qquad (u \ne v \in D),

and no edge between uu and bvb_v for u≠vu \ne v. Then

max⁡e : He=sPr⁡[e]  =  (∏j(1−pj)) exp⁡(−min⁡Mω(M)),\max_{e \,:\, He = s} \Pr[e] \;=\; \Big( \prod_j (1 - p_j) \Big)\, \exp\Big( - \min_{M} \omega(M) \Big),

where MM ranges over the perfect matchings of KDK_D. Moreover, if MM is a minimum-weight perfect matching, the sum modulo 2 of lightest paths in GG joining the matched pairs, where a pair {u,bu}\{u, b_u\} is joined by a lightest path from uu to bb and pairs {bu,bv}\{b_u, b_v\} contribute nothing, is a most likely error with syndrome ss.

A minimum-weight perfect matching is found in polynomial time by the blossom algorithm of Edmonds, so the most likely error of a graph-like model is computable efficiently. The reduction is the one used by Dennis, Kitaev, Landahl and Preskill for the surface code.

Holds when
  • A graph-like detector error model, meaning every error mechanism flips one or two detectors, with independent mechanisms of probability 0<pj<1/20 < p_j < 1/2.
  • Every detector is connected to the boundary vertex in the decoding graph, so that every syndrome has at least one explanation.
  • The statement is about the most likely error, not the most likely coset of errors.
Proof · Proof that minimum-weight matching finds a most likely error

Step 1: probability and weight. By the edge-weight identity, Pr⁡[e]=(∏j(1−pj))e−w(e)\Pr[e] = \big(\prod_j (1 - p_j)\big) e^{-w(e)} with w(e)=∑jwjejw(e) = \sum_j w_j e_j. It therefore suffices to show that min⁡{w(e):He=s}=min⁡Mω(M)\min\{ w(e) : He = s \} = \min_M \omega(M) and that the stated construction attains it.

Step 2: explanations are edge sets with prescribed odd vertices. Regard e∈F2Ne \in \F_2^N as a set of edges of GG. Because an edge flips exactly the detectors at its ends, (He)i(He)_i is the parity of the number of edges of ee at detector ii. So He=sHe = s holds exactly when the detectors of odd degree in ee are the elements of DD. The degree of bb is unconstrained.

Step 3: a lemma on trails. Let FF be a finite set of edges and TT the set of vertices of odd degree in FF. Then FF is the disjoint union of ∣T∣/2\abs{T}/2 trails whose end points pair up the vertices of TT, together with closed trails. Indeed, if T≠∅T \ne \emptyset pick u∈Tu \in T and follow unused edges of FF from uu for as long as possible. Each visit to an intermediate vertex uses two of its edges, so the walk can only stop at a vertex with an odd number of unused edges other than uu, that is, at some v∈T∖{u}v \in T \setminus \{u\}. Removing the trail leaves an edge set whose odd vertices are T∖{u,v}T \setminus \{u, v\}, and one repeats. When no odd vertex is left every degree is even and the remaining edges split into closed trails.

Step 4: from an explanation to a matching. Let ee be an explanation of ss of minimum weight. Replace bb by deg⁡e(b)\deg_e(b) copies, each incident to one edge of ee; the odd vertices are now DD and these copies. By Step 3, ee splits into trails pairing them, plus closed trails. A closed trail, or a trail joining two copies of bb, has even degree at every detector, so deleting it gives another explanation of strictly smaller weight, since all weights are positive. Minimality excludes this. Hence ee is a disjoint union of trails, each joining two events u,v∈Du, v \in D or an event uu to bb. Match uu with vv in the first case and uu with bub_u in the second, and match the unused copies bub_u among themselves at weight 0; their number is even because the number of events paired with each other is even. This is a perfect matching MM with ω(M)≤w(e)\omega(M) \le w(e), because a trail from uu to vv weighs at least d(u,v)d(u, v). So min⁡Mω(M)≤min⁡ew(e)\min_M \omega(M) \le \min_e w(e).

Step 5: from a matching to an explanation. Let MM be a perfect matching of KDK_D. For each pair {u,v}⊆D\{u, v\} \subseteq D take a lightest path in GG from uu to vv, and for each pair {u,bu}\{u, b_u\} a lightest path from uu to bb. Let ee be the sum modulo 2 of these paths. A path has odd degree exactly at its two ends, so the detectors of odd degree in ee are exactly the elements of DD, each of which is the end of exactly one path. By Step 2, He=sHe = s. Edges cancelled in the sum only lower the weight, so w(e)≤ω(M)w(e) \le \omega(M), and min⁡ew(e)≤min⁡Mω(M)\min_e w(e) \le \min_M \omega(M).

Steps 4 and 5 give equality, and Step 5 applied to a minimum-weight matching produces an explanation of minimum weight, which by Step 1 is a most likely error. ■\qquad\blacksquare

Worked Examples

Two candidate explanations in a repetition code

Take the distance-5 repetition code with bit-flip probability p=0.1p = 0.1 and checks Z1Z2,Z2Z3,Z3Z4,Z4Z5Z_1Z_2, Z_2Z_3, Z_3Z_4, Z_4Z_5. Suppose the first and last checks fire. Exactly two errors have this syndrome: flips on qubits {1,5}\{1, 5\}, which join each event to its nearer end of the chain, and flips on qubits {2,3,4}\{2, 3, 4\}, which join the events to each other. Their probabilities are

p2(1−p)3=0.00729,p3(1−p)2=0.00081,p^2 (1-p)^3 = 0.00729, \qquad p^3 (1-p)^2 = 0.00081 ,

so the first explanation has posterior probability 0.00729/0.00810=0.90.00729 / 0.00810 = 0.9. In matching language the unit edge weight is ln⁡(0.9/0.1)=2.197\ln(0.9/0.1) = 2.197; pairing both events with the boundary costs 2×2.1972 \times 2.197 and pairing them with each other costs 3×2.1973 \times 2.197. Here every coset contains one error and the most likely error is also the optimal answer.

Coset probabilities in the distance-3 surface code

Number the qubits of the rotated [[9,1,3]][[9, 1, 3]] surface code 0,…,80, \dots, 8 row by row on a 3×33 \times 3 grid. Take the ZZ-type checks Z0Z1Z3Z4Z_0Z_1Z_3Z_4, Z4Z5Z7Z8Z_4Z_5Z_7Z_8, Z2Z5Z_2Z_5, Z3Z6Z_3Z_6, the XX-type checks X1X2X4X5X_1X_2X_4X_5, X3X4X6X7X_3X_4X_6X_7, X0X1X_0X_1, X7X8X_7X_8, and the logical operator Xˉ=X0X3X6\bar X = X_0X_3X_6. Let XX errors occur independently with probability p=0.1p = 0.1, and suppose only Z0Z1Z3Z4Z_0Z_1Z_3Z_4 fires.

Of the 292^9 possible XX errors, 32 have this syndrome. They form two cosets of the group generated by the four XX-type checks, 16 errors each. Enumerating them by weight:

Coset weight: number of errors total probability at p=0.1p = 0.1
AA, containing X0X_0 1: 2, 3: 3, 5: 8, 7: 3 0.08774
B=AXˉB = A \bar X, containing X3X6X_3X_6 2: 3, 4: 8, 6: 3, 8: 2 0.01482

For example the two lightest elements of AA contribute 2p(1−p)8=0.08612p(1-p)^8 = 0.0861. The optimal decoder returns any element of AA and is right with probability 0.08774/0.10256=0.8550.08774 / 0.10256 = 0.855.

The two weight-1 errors in AA are X0X_0 and X1X_1. They differ by the check X0X1X_0X_1, so they are the same error as far as the code is concerned. A minimum-weight decoder picks either and succeeds. A decoder based on single-qubit marginals does not: given this syndrome, the exact posterior probability that qubit 0 carries an error is 0.428, and the same for qubit 1, while every other qubit has probability at most 0.1. No qubit is more likely flipped than not, so thresholding the exact marginals yields the empty correction, which does not even reproduce the syndrome. This is the smallest instance of the failure of belief propagation described below.

Algorithms and Implementations

Matching and union-find

DecoderMinimum-weight perfect matching decoderExposition

Input and output. A graph-like detector error model with edge weights wj=ln⁡((1−pj)/pj)w_j = \ln((1 - p_j)/p_j) and a set of detection events. The output is a set of edges whose end points, counted modulo 2, are the detection events, together with the logical observables that set flips.

Procedure. Compute lightest-path distances between detection events and from each event to the boundary, find a minimum-weight perfect matching of the events with the blossom algorithm, and return the union modulo 2 of the lightest paths between matched pairs. Implementations such as PyMatching explore the graph outward from the events instead of computing all pairwise distances first.

What it is exact for. By the matching theorem the output is a most likely error of the graph-like model. It is not the most likely coset: the decoder ignores how many errors of similar weight lie in each coset. It is also not exact for the true noise when one physical fault flips more than two detectors. A YY error on a surface-code qubit flips two XX-type and two ZZ-type detectors; decoding the two graphs separately discards that correlation.

Complexity. Polynomial in the number of detection events; this is Edmonds' theorem. In the regime of interest the cost is dominated by local exploration of the graph. The sparse blossom implementation decodes both bases of distance-17 surface-code circuits at 0.1% circuit-level depolarising noise in under one microsecond per round on one core. Fusion Blossom is a second fast implementation designed for parallel execution.

Accuracy. For the toric code with independent bit-flip noise and perfect syndrome measurement the matching threshold is the zero-temperature critical point of the random-bond Ising model, p=0.1031±0.0001p = 0.1031 \pm 0.0001, below the optimal value near 0.1090.109 obtained on the Nishimori line; with measurement errors of the same probability (phenomenological noise) it is 0.0293±0.00020.0293 \pm 0.0002 (Wang, Harrington and Preskill, following Dennis et al.). Under circuit-level depolarising noise reported thresholds lie between about 0.7% and 0.8%, depending on the circuit and noise details: 0.70% in Tan et al. and 0.82% in Higgott et al..

Variants. Correlated matching reweights one graph using the matching found in the other, to recover part of the XX–ZZ correlation (Fowler). Belief-matching sets the edge weights from a belief-propagation pass over the full hypergraph and raises the circuit-level threshold from 0.82% to 0.94% in the same study (Higgott et al.).

Holds when
  • Applies to graph-like detector error models, in which every error mechanism flips at most two detectors. Surface, toric and repetition codes under independent X and Z noise have this property; colour codes and general quantum LDPC codes do not.
DecoderUnion-find decoderExposition

Input and output. A decoding graph, a set of detection events and optionally a set of erased edges. The output is a set of edges whose end points, modulo 2, are the detection events.

Procedure (Delfosse and Nickerson).

  1. Syndrome validation. Start with one cluster per detection event; erased edges belong to clusters from the beginning. A cluster is odd when it contains an odd number of events and does not touch the boundary. Repeatedly grow every odd cluster by half an edge in all directions and merge clusters that meet, keeping track of membership with a union-find data structure. Stop when no odd cluster is left.
  2. Peeling. Treat the grown clusters as an erasure and run the peeling decoder of Delfosse and Zémor: build a spanning forest of each cluster and remove leaves one at a time, adding the leaf edge to the correction whenever the leaf vertex is a detection event.

Complexity. O(n α(n))O(n\, \alpha(n)) in the worst case, with nn the number of physical qubits and α\alpha the inverse Ackermann function, which is at most 3 for any realistic input.

What it is exact for. The original paper proves that the decoder corrects every error of weight up to (d−1)/2(d - 1)/2 and every erasure of up to d−1d - 1 qubits, where dd is the distance. For erasures alone no growth is needed and the peeling step is a maximum-likelihood decoder for surface codes. For Pauli noise the result is an approximation to matching: growth is by graph distance and does not minimise total weight.

Accuracy. For the toric code the reported thresholds are 9.9% with perfect syndrome measurement and 2.6% with faulty measurements, compared with 10.3% and 2.9% for matching. Growing clusters at rates set by the edge weights raises the circuit-level threshold of the toric code from 0.38% to 0.62% in the study of Huang, Newman and Brown; Tan et al. report 0.55% for the surface code in their circuit model, against 0.70% for matching.

Holds when
  • Stated for topological codes with graph-like error models (surface and toric codes); Pauli errors, erasures, or both.

Belief propagation and why it struggles

Belief propagation passes messages along the Tanner graph of the check matrix and outputs an estimate of each error mechanism's marginal probability. On classical LDPC codes it is close to optimal. On quantum codes two structural facts work against it (Poulin and Chung; MacKay, Mitchison and McFadden).

  • Short cycles are unavoidable. Every XX-type check must overlap every ZZ-type check on an even number of qubits, so a Tanner graph that treats XX, YY and ZZ errors together contains cycles of length four. The algorithm's assumption that incoming messages are independent fails from the first iterations.
  • Degeneracy splits the belief. A quantum LDPC code has stabilizer generators of constant weight ww, far below its distance. An error covering part of a generator is equivalent to the complementary part, so the posterior distribution has several equally good modes. The marginals average over the modes, as in the worked example, and the hard decision is not a valid explanation of the syndrome. A sharply peaked coset distribution does not imply sharply peaked bit marginals.

Remedies keep belief propagation as a source of soft information and add a step that restores consistency.

DecoderBelief propagation with ordered-statistics decoding (BP+OSD)Exposition

Input and output. A check matrix HH, prior probabilities pjp_j and a syndrome ss in the column space of HH. The output is a vector e^\hat e with He^=sH \hat e = s.

Stage 1: belief propagation. Messages are exchanged along the edges of the Tanner graph of HH for a fixed number of iterations. With log-likelihood ratios λj=ln⁡((1−pj)/pj)\lambda_j = \ln((1 - p_j)/p_j), the check-to-variable message of the sum-product rule is

mi→j=(−1)si  2artanh⁡∏j′∈N(i)∖jtanh⁡ ⁣(mj′→i/2),mj→i=λj+∑i′∈N(j)∖imi′→j,m_{i \to j} = (-1)^{s_i}\; 2 \operatorname{artanh} \prod_{j' \in N(i) \setminus j} \tanh\!\big( m_{j' \to i} / 2 \big), \qquad m_{j \to i} = \lambda_j + \sum_{i' \in N(j) \setminus i} m_{i' \to j} ,

and the posterior estimate for mechanism jj is Λj=λj+∑i∈N(j)mi→j\Lambda_j = \lambda_j + \sum_{i \in N(j)} m_{i \to j}. If the hard decision e^j=[Λj<0]\hat e_j = [\Lambda_j < 0] satisfies He^=sH \hat e = s, it is returned.

Stage 2: ordered-statistics decoding. Otherwise order the columns of HH from most to least likely to be in error (increasing Λj\Lambda_j) and, going through them in that order, select a maximal linearly independent set BB of rank⁡H\operatorname{rank} H columns. Order-0 OSD returns the unique solution of HB eB=sH_B\, e_B = s with ej=0e_j = 0 outside BB. Higher orders also try low-weight patterns on some columns outside BB, solve for eBe_B each time, and keep the candidate of largest prior probability. The method adapts the classical algorithm of Fossorier and Lin and was introduced for quantum codes by Panteleev and Kalachev.

Complexity. Each belief-propagation iteration costs time proportional to the number of non-zero entries of HH. Stage 2 is Gaussian elimination, O(N3)O(N^3) bit operations in the worst case, and dominates when it is invoked.

What it is exact for. Sum-product marginals are exact when the Tanner graph is a tree; the Tanner graphs of quantum codes are generally loopy (Poulin and Chung). OSD guarantees that the output reproduces the syndrome, not that it is the most likely error or lies in the most likely coset. The decoder is a heuristic whose accuracy is established numerically.

Accuracy. Post-processing improves the logical error rate of plain belief propagation on quantum LDPC codes by several orders of magnitude in the examples of Panteleev and Kalachev. Roffe et al. find thresholds for several families of hypergraph product codes and 9.9±0.2%9.9 \pm 0.2\% for the toric code. BP+OSD on the circuit-level hypergraph is the decoder used to establish the threshold of the bivariate bicycle codes.

Holds when
  • A check matrix H∈F2m×NH \in \F_2^{m \times N} of an error model with independent mechanisms and prior probabilities pjp_j; no restriction on column weight.

Belief propagation can also feed a matching decoder: its posteriors replace the prior edge weights (Criger and Ashraf; Higgott et al.).

Approximating the optimal decoder

DecoderTensor-network (matrix-product-state) decoderExposition

Input and output. A planar stabilizer code, single-qubit Pauli error probabilities and a syndrome. The output is the logical class with the largest estimated coset probability, as required by degenerate maximum-likelihood decoding.

Idea. Fix an error ff with the observed syndrome. The probability of its coset is ∑S∈SPr⁡[fS]\sum_{S \in \mathcal{S}} \Pr[f S]. Writing SS as a product of generators turns the sum into a sum over one binary variable per generator, and because each qubit is touched by a bounded number of generators and the noise is a product over qubits, the summand is a product of local factors. The sum is therefore the contraction of a tensor network laid out like the code, with one tensor per qubit and per check. The decoder evaluates this contraction for ff, fXˉf \bar X, fYˉf \bar Y and fZˉf \bar Z and returns the largest.

Procedure (Bravyi, Suchara and Vargo). Contract the network column by column. The boundary of the contracted region is stored as a matrix product state, and after absorbing each column it is truncated back to bond dimension χ\chi.

Complexity. O(nχ3)O(n \chi^3) for nn qubits. The method of Chubb for arbitrary two-dimensional stabilizer and subsystem codes costs O(nlog⁡n+nχ3)O(n \log n + n \chi^3).

What it is exact for. The contraction is exact when χ\chi is not truncated, which in general needs a bond dimension exponential in the linear size. For the surface code with independent bit-flip and phase-flip noise, Bravyi, Suchara and Vargo give a different, exact maximum-likelihood algorithm with running time O(n2)O(n^2), by reduction to the simulation of matchgate circuits. For other noise, such as depolarising noise, the matrix-product-state contraction is an approximation controlled by χ\chi; in their benchmarks the logical error probability is already significantly below that of matching for χ≥4\chi \ge 4.

Use. Because it estimates coset probabilities, the decoder serves as an accuracy reference for faster decoders and for threshold estimates of tailored codes, for example the 43.7(1)% threshold of a tailored surface code under pure dephasing (Tuckett, Bartlett and Flammia). A tensor-network decoder was also the most accurate decoder in the surface-code scaling experiment of Google Quantum AI. The cost grows quickly with the third (time) dimension required by faulty measurements, which confines the method to offline analysis.

Holds when
  • Two-dimensional codes with geometrically local checks, Pauli noise that is independent between qubits, and perfect syndrome measurement.

Renormalisation-group decoders estimate coset probabilities by coarse-graining the lattice and reach a running time logarithmic in the linear size when parallelised (Duclos-Cianci and Poulin).

Neural decoders

A neural decoder is a function from syndromes to logical classes whose parameters are fitted to examples. Torlai and Melko trained a Boltzmann machine on the toric code with phase-flip errors. Baireuther et al. showed that a recurrent network trained only on experimentally accessible data outperforms matching on the surface code because it learns the correlation between XX and ZZ errors, and keeps its accuracy over many rounds. The recurrent transformer decoder of Bausch et al. outperformed the algorithmic decoders it was compared with on experimental data from distance-3 and distance-5 surface codes, and on simulated data up to distance 11 with cross-talk, leakage and analogue readout signals. The cost is training data that grows with the code size, inference speed, and the absence of a guarantee on any individual output.

Correlated decoding

Matching the XX and ZZ graphs of a surface code separately treats a YY error as two unrelated events. Using one matching to reweight the other recovers part of the lost information (Delfosse and Tillich; Fowler). With belief-propagation weights, Criger and Ashraf obtain a depolarising code-capacity threshold of 17.76±0.02%17.76 \pm 0.02\% for the rotated surface code, against 14.88±0.02%14.88 \pm 0.02\% for earlier matching decoders and an upper bound near 18.9%.

Windowed and real-time decoding

A computation does not end before decoding starts. The syndrome stream is cut into overlapping windows. In a sliding-window decoder (Dennis et al.) each window is decoded as a whole, the corrections in its older part are committed, and the newer part, the buffer, is decoded again in the next window, so that no committed decision depends on a chain cut by the window's edge.

EquationBacklog growth for a decoder slower than syndrome generationPeer-reviewed result
Δk  =  f k Δ0,f=rgenrproc\Delta_k \;=\; f^{\,k}\,\Delta_0, \qquad f = \frac{r_{\mathrm{gen}}}{r_{\mathrm{proc}}}

Let Δk\Delta_k be the wall-clock time for which syndrome data have accumulated, undecoded, when the kk-th decoder-dependent operation is reached. Decoding that backlog takes fΔkf \Delta_k. The quantum computer cannot idle without protection, so it keeps producing syndrome data during the wait, and at the next such operation the undecoded data cover at least fΔkf \Delta_k. Hence Δk+1≥fΔk\Delta_{k+1} \ge f \Delta_k and Δk≥fkΔ0\Delta_k \ge f^k \Delta_0. For f>1f > 1 the running time grows exponentially in the number of decoder-dependent operations; for f<1f < 1 the backlog shrinks geometrically and the decoder keeps up. The argument is given by Terhal, and Skoric et al. show that decoding overlapping windows in parallel removes the constraint on a single decoder's speed.

Holds when
  • Syndrome data are generated at a constant rate rgenr_{\mathrm{gen}} and decoded sequentially at a constant rate rprocr_{\mathrm{proc}}.
  • The computation contains operations, such as the Clifford correction that follows a magic-state injection, that cannot start until all earlier syndrome data have been decoded; error correction continues while the computation waits.

The backlog argument makes throughput a hard requirement. Sequential windows cannot meet it at large distance if the time per window grows faster than the window. Skoric et al. and Tan et al. decode non-adjacent windows simultaneously and reconcile them in a second pass; the latter report circuit-level thresholds of 0.68% and 0.55% with matching and union-find as inner decoders, almost identical to decoding the whole history at once. Bombín et al. split the decoding of a lattice-surgery circuit along its logical blocks and prove that the fault distance is preserved when a buffer condition holds.

Computational Complexity

Problem or algorithm Cost Exact for
Most likely error, general stabilizer code NP-hard —
Most likely coset, general stabilizer code #P-complete (Turing reductions) —
Minimum-weight perfect matching polynomial most likely error, graph-like models
Union-find O(n α(n))O(n\,\alpha(n)) erasures up to d−1d - 1, errors up to (d−1)/2(d-1)/2
BP+OSD O(N3)O(N^3) worst case nothing in general; output always matches the syndrome
Matchgate maximum likelihood O(n2)O(n^2) most likely coset, surface code, independent XX/ZZ noise, perfect measurement
Matrix-product-state contraction O(nχ3)O(n \chi^3) most likely coset as χ→∞\chi \to \infty

Here nn is the number of qubits and NN the number of error mechanisms. Sources are given in the embedded records.

Limitations and Common Pitfalls

  • A threshold belongs to a decoder and a noise model. The same code has a code-capacity threshold of 10.3% under matching and about 10.9% under optimal decoding, 2.9% with phenomenological measurement noise, and below 1% under circuit noise. Quote all three ingredients together; see Logical error rates and thresholds.
  • Leaving out time-like edges. A decoding graph without edges between rounds interprets every measurement error as a data error. The symptom is a logical error rate that does not improve with distance. Derive the detector error model from the circuit, as Stim does, instead of writing the graph by hand.
  • Weights from the wrong noise model. A decoder minimises the weight it is given. If the assumed probabilities differ from the device's, the "most likely" error is most likely only in the model.
  • Polynomial time is not fast enough. What matters is the ratio of processing rate to syndrome rate, in the worst case over a long run and not on average (Battistel et al.).
  • Most likely error versus most likely coset. The two agree at low error rates on codes with little degeneracy and diverge for highly degenerate codes; the gap is the reason for post-processing in BP+OSD and for tensor-network decoders.
  • Hardness theorems are worst-case. They do not say that decoding a surface code or a particular LDPC family is hard.

The capstone lesson Benchmarking a decoder puts these checks into practice.

State of the Art

As of 2026-11, decoding in real time has been demonstrated alongside a below-threshold memory: Google Quantum AI report a distance-5 surface code operated with a real-time decoder at an average latency of 63 μs over up to a million cycles of 1.1 μs. In software, sparse blossom reaches one microsecond per round on a single core at distance 17 and 0.1% circuit noise, and Fusion Blossom reports a million measurement rounds per second up to distance 33 at the same noise strength. On accuracy, the neural decoder of Bausch et al. is the most accurate published decoder for the experimental surface-code data it was tested on, but not a real-time one. These statements summarise the cited papers and are not a complete survey.

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. Min-Hsiu Hsieh, Francois Le Gall (2011). NP-hardness of decoding quantum error-correction codes. Physical Review A 83, 052331. doi:10.1103/PhysRevA.83.052331arXiv:1009.1319
  3. Pavithran Iyer, David Poulin (2015). Hardness of Decoding Quantum Stabilizer Codes. IEEE Transactions on Information Theory 61, 5209-5223. doi:10.1109/TIT.2015.2422294arXiv:1310.3235
  4. Craig Gidney (2021). Stim: a fast stabilizer circuit simulator. Quantum 5, 497. doi:10.22331/q-2021-07-06-497arXiv:2103.02202
  5. David Poulin, Yeojin Chung (2008). On the iterative decoding of sparse quantum codes. Quantum Information and Computation 8, 986-1000. doi:10.26421/QIC8.10-8arXiv:0801.1241
  6. David J. C. MacKay, Graeme Mitchison, Paul L. McFadden (2004). Sparse-Graph Codes for Quantum Error Correction. IEEE Transactions on Information Theory 50, 2315-2330. doi:10.1109/TIT.2004.834737arXiv:quant-ph/0304161
  7. Pavel Panteleev, Gleb Kalachev (2021). Degenerate Quantum LDPC Codes With Good Finite Length Performance. Quantum 5, 585. doi:10.22331/q-2021-11-22-585arXiv:1904.02703
  8. Sergey Bravyi, Martin Suchara, Alexander Vargo (2014). Efficient algorithms for maximum likelihood decoding in the surface code. Physical Review A 90, 032326. doi:10.1103/PhysRevA.90.032326arXiv:1405.4883
  9. Guillaume Duclos-Cianci, David Poulin (2010). Fast Decoders for Topological Quantum Codes. Physical Review Letters 104, 050504. doi:10.1103/PhysRevLett.104.050504arXiv:0911.0581
  10. Giacomo Torlai, Roger G. Melko (2017). Neural Decoder for Topological Codes. Physical Review Letters 119, 030501. doi:10.1103/PhysRevLett.119.030501arXiv:1610.04238
  11. Paul Baireuther, Thomas E. O'Brien, Brian Tarasinski, Carlo W. J. Beenakker (2018). Machine-learning-assisted correction of correlated qubit errors in a topological code. Quantum 2, 48. doi:10.22331/q-2018-01-29-48arXiv:1705.07855
  12. Johannes Bausch, Andrew W Senior, Francisco J H Heras, … et al. (2024). Learning high-accuracy error decoding for quantum processors. Nature 635, 834-840. doi:10.1038/s41586-024-08148-8arXiv:2310.05900
  13. Nicolas Delfosse, Jean-Pierre Tillich (2014). A decoding algorithm for CSS codes using the X/Z correlations. 2014 IEEE International Symposium on Information Theory (ISIT), 1071-1075. doi:10.1109/ISIT.2014.6874997arXiv:1401.6975
  14. Austin G. Fowler (2013). Optimal complexity correction of correlated errors in the surface code. arXiv preprint. arXiv:1310.0863
  15. Ben Criger, Imran Ashraf (2018). Multi-path Summation for Decoding 2D Topological Codes. Quantum 2, 102. doi:10.22331/q-2018-10-19-102arXiv:1709.02154
  16. Oscar Higgott, Thomas C. Bohdanowicz, Aleksander Kubica, … Earl T. Campbell (2023). Improved Decoding of Circuit Noise and Fragile Boundaries of Tailored Surface Codes. Physical Review X 13, 031007. doi:10.1103/PhysRevX.13.031007arXiv:2203.04948
  17. Barbara M. Terhal (2015). Quantum error correction for quantum memories. Reviews of Modern Physics 87, 307-346. doi:10.1103/RevModPhys.87.307arXiv:1302.3428
  18. Luka Skoric, Dan E. Browne, Kenton M. Barnes, … Earl T. Campbell (2023). Parallel window decoding enables scalable fault tolerant quantum computation. Nature Communications 14, 7040. doi:10.1038/s41467-023-42482-1arXiv:2209.08552
  19. Xinyu Tan, Fang Zhang, Rui Chao, … Jianxin Chen (2023). Scalable Surface-Code Decoders with Parallelization in Time. PRX Quantum 4, 040344. doi:10.1103/PRXQuantum.4.040344arXiv:2209.09219
  20. Héctor Bombín, Chris Dawson, Ye-Hua Liu, … Sam Roberts (2023). Modular decoding: parallelizable real-time decoding for quantum computers. arXiv preprint. arXiv:2303.04846
  21. Francesco Battistel, Christopher Chamberland, Kauser Johar, … Muhammad Usman (2023). Real-time decoding for fault-tolerant quantum computing: progress, challenges and outlook. Nano Futures 7, 032003. doi:10.1088/2399-1984/aceba6arXiv:2303.00054
  22. 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
  23. Yue Wu, Lin Zhong (2023). Fusion Blossom: Fast MWPM Decoders for QEC. 2023 IEEE International Conference on Quantum Computing and Engineering (QCE), 928-938. doi:10.1109/QCE57702.2023.00107arXiv:2305.08307
  24. Google Quantum AI and Collaborators (2025). Quantum error correction below the surface code threshold. Nature 638, 920-926. doi:10.1038/s41586-024-08449-yarXiv:2408.13687
  25. Antonio deMarti iOlius, Patricio Fuentes, Román Orús, … Josu Etxezarreta Martinez (2024). Decoding algorithms for surface codes. Quantum 8, 1498. doi:10.22331/q-2024-10-10-1498arXiv:2307.14989
  26. Kao-Yueh Kuo, Chung-Chin Lu (2020). On the hardnesses of several quantum decoding problems. Quantum Information Processing 19, 123. doi:10.1007/s11128-020-02622-8arXiv:1306.5173
  27. E. Berlekamp, R. McEliece, H. van Tilborg (1978). On the inherent intractability of certain coding problems. IEEE Transactions on Information Theory 24 (3), 384-386. doi:10.1109/TIT.1978.1055873
  28. Jack Edmonds (1965). Paths, Trees, and Flowers. Canadian Journal of Mathematics 17, 449-467. doi:10.4153/CJM-1965-045-4
  29. Chenyang Wang, Jim Harrington, John Preskill (2003). Confinement-Higgs transition in a disordered gauge theory and the accuracy threshold for quantum memory. Annals of Physics 303, 31-58. doi:10.1016/S0003-4916(02)00019-2arXiv:quant-ph/0207088
  30. Oscar Higgott (2022). PyMatching: A Python Package for Decoding Quantum Codes with Minimum-Weight Perfect Matching. ACM Transactions on Quantum Computing 3, 16. doi:10.1145/3505637arXiv:2105.13082
  31. Nicolas Delfosse, Naomi H. Nickerson (2021). Almost-linear time decoding algorithm for topological codes. Quantum 5, 595. doi:10.22331/q-2021-12-02-595arXiv:1709.06218
  32. Nicolas Delfosse, Gilles Zémor (2020). Linear-time maximum likelihood decoding of surface codes over the quantum erasure channel. Physical Review Research 2, 033042. doi:10.1103/PhysRevResearch.2.033042arXiv:1703.01517
  33. Shilin Huang, Michael Newman, Kenneth R. Brown (2020). Fault-tolerant weighted union-find decoding on the toric code. Physical Review A 102, 012419. doi:10.1103/PhysRevA.102.012419arXiv:2004.04693
  34. Marc P. C. Fossorier, Shu Lin (1995). Soft-decision decoding of linear block codes based on ordered statistics. IEEE Transactions on Information Theory 41, 1379-1396. doi:10.1109/18.412683
  35. Joschka Roffe, David R. White, Simon Burton, Earl T. Campbell (2020). Decoding across the quantum low-density parity-check code landscape. Physical Review Research 2, 043423. doi:10.1103/PhysRevResearch.2.043423arXiv:2005.07016
  36. Sergey Bravyi, Andrew W. Cross, Jay M. Gambetta, … Theodore J. Yoder (2024). High-threshold and low-overhead fault-tolerant quantum memory. Nature 627, 778-782. doi:10.1038/s41586-024-07107-7arXiv:2308.07915
  37. Christopher T. Chubb (2021). General tensor network decoding of 2D Pauli codes. arXiv preprint. arXiv:2101.04125
  38. David K. Tuckett, Stephen D. Bartlett, Steven T. Flammia (2018). Ultrahigh Error Threshold for Surface Codes with Biased Noise. Physical Review Letters 120, 050505. doi:10.1103/PhysRevLett.120.050505arXiv:1708.08474
  39. Google Quantum AI (2023). Suppressing quantum errors by scaling a surface code logical qubit. Nature 614, 676-681. doi:10.1038/s41586-022-05434-1arXiv:2207.06431

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)

    Topic's own text checked; embedded records carry their own states. Worked examples re-computed: repetition-code posteriors (0.00729, 0.00081, 0.9, ln 9 = 2.197); distance-3 surface-code example brute-forced over all 2^9 X errors (checks commute; 32 errors with the syndrome; coset weight profiles 1:2, 3:3, 5:8, 7:3 and 2:3, 4:8, 6:3, 8:2; probabilities 0.08774 and 0.01482; success 0.855; exact marginals 0.428 on qubits 0 and 1, at most 0.1 elsewhere). Statements compared with arXiv abstracts or full texts: Criger-Ashraf 1709.02154 (17.76 +- 0.02% vs 14.88 +- 0.02%, bound ~18.9%), Duclos-Cianci-Poulin 0911.0581 (log L time), Torlai-Melko 1610.04238, Baireuther et al. 1705.07855, Bausch et al. 2310.05900 (Sycamore d = 3, 5; simulated up to d = 11 with cross-talk, leakage, analogue readout), Tan et al. 2209.09219 (0.68%, 0.55%), Skoric et al. 2209.08552, Bombin et al. 2303.04846 (buffer condition preserves fault distance), Google Quantum AI 2408.13687 (d = 5 real-time decoding, 63 us latency, up to a million cycles of 1.1 us), Sparse Blossom 2303.15933, Fusion Blossom 2305.08307 (a million rounds per second up to d = 33 at 0.1%), Wang-Harrington-Preskill quant-ph/0207088 (10.3%, 2.9%, ~10.9%), Poulin-Chung 0801.1241. Delfosse-Tillich, Battistel et al. and deMarti iOlius et al. checked by title only.

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 1d114d91ab27da28. Source file knowledge/records/topic/quantum-decoders.md in the content repository (readable there once it is public).