Manuscript Offprint
arXiv:2608.31040Fast Fault-Tolerant Decoders for Hypergraph Product and Lifted-Product Codes
Asit Kumar Pradhan, Nithin Raveendran, David Declercq and Bane Vasić
Department of Electrical and Computer Engineering, The University of Arizona, Tucson, AZ, 85721 USA
Email: asitpradhan@arizona.edu, {nithin, daviddeclercq}@arizona.edu, vasic@ece.arizona.edu
Abstract—We design low-complexity, fault-tolerant decoders for quantum low-density parity-check (QLDPC) codes with the goal of reducing decoding latency. We target two major bottlenecks of decoding under the circuit-level noise model: (i) post-processing via order-statistics decoding (OSD), and (ii) the large number of auxiliary variable nodes commonly introduced to represent CNOT-induced correlations during syndrome extraction. Our key observation is that propagating CNOT faults (hook errors) create stabilizer-induced trapping sets (TSs) that are intrinsic to hypergraph-product (HGP) and lifted-product (LP) constructions. Therefore, instead of modeling each such fault with an explicit correlation node and relying on OSD to clean up the resulting failures, we design message-passing decoders that resolve the corresponding stabilizer-induced TSs directly. We obtain these decoders by deriving QLDPC decoders from decoders for the parent classical LDPC codes and using them collectively to correct broad families of stabilizer-induced TSs. For CNOT faults that manifest primarily as syndrome errors, we show that their effect is equivalent to a data error together with syndrome-bit measurement errors. Consequently, given repeated measurements and a decoding graph that already includes nodes representing syndrome-bit errors, no distinct variable node is needed for each CNOT fault. Using a phenomenological Tanner graph with nodes representing only data errors and syndrome-bit errors, simulations on the LP codes show a reduction in, or comparable, logical error rates relative to BP+OSD, at substantially lower decoding complexity.
I. INTRODUCTION
Quantum information is intrinsically fragile, so quantum error-correcting codes (QECCs) must reliably extract error syndromes using low-depth circuits. Low-depth syndrome extraction is essential to prevent additional faults from accumulating during each error-correction cycle. Achieving such shallow circuits requires sparse parity-check matrices, so that each check acts on only a small number of qubits. For robust error correction, the code distance should grow with the total number of physical qubits while preserving sparsity. Topological codes, such as surface codes [1], meet both of these criteria—sparse checks and increasing distance—but suffer from a vanishing rate: the ratio of logical to physical qubits approaches zero as the system size increases. As a result, they incur very large qubit overheads for large-scale quantum algorithms.
These limitations have motivated the development of quantum low-density parity-check (QLDPC) codes, which aim to combine sparse parity checks with a non-vanishing rate and a distance that scales with system size. Constructions such as hypergraph-product (HGP) [2], balanced-product [3], lifted-product (LP) [4], and quantum Tanner codes [5] represent significant progress toward this goal.
Realizing constant-overhead fault-tolerant quantum computation with QLDPC codes faces several remaining challenges that can be grouped into three main categories: (1) code–architecture co-design, (2) efficient and scalable decoding, and (3) parallel logical gates. In code–architecture co-design, QLDPC codes and hardware architectures must be developed jointly so that (i) the inherently nonlocal connectivity of the codes can be efficiently embedded in the physical device and (ii) syndrome extraction can be accelerated through highly parallel gate execution, particularly when gate times are relatively low. In efficient and scalable decoding, decoders should achieve error-correction performance that improves with increasing code distance, while also running faster than the syndrome-extraction process so that decoding does not become the bottleneck of the error-correction cycle. In parallel logical gates, one must implement highly parallel, low-overhead, fault-tolerant logical gate operations on QLDPC codes. The co-design of codes and architectures has been explored in several works. For instance, the challenge of limited local connectivity in superconducting qubits is addressed in [6], while the issue of slow gate times in neutral-atom platforms is tackled in [7]. Low-overhead, fault-tolerant implementations of logical gates are studied in [8], [9], and their parallel execution is investigated in [10].
In this work, we focus on efficient and scalable decoding of QLDPC codes. The importance of fast decoding is emphasized in [11], which shows that a decoder significantly slower than syndrome extraction can negate the advantages of quantum algorithms. This point is further illustrated in [12], where increasing the error-correction cycle from 1 to 100 microseconds (with decoding time as the dominant contribution) increases the number of physical qubits required to break RSA in one week from about to , assuming a physical error rate of .
called trapping sets (TSs) [13], [14]. The most harmful TSs are often induced by a subset of variable nodes on the support of a low-weight codewords. Such induced subgraphs contain fewer odd-degree check nodes than variable nodes, a property that often leads to decoding failure when the error is confined to that subgraph.
In classical LDPC codes, error floors due TS-related decoding failures are typically mitigated in two steps. First, code constructions such as progressive-edge growth [15] reduce the number of short cycles, which in turn reduces the number of harmful TSs. Second, failures caused by the remaining TSs are mitigated by modifying the message-passing rules [16], [17]. For QLDPC codes, this strategy is fundamentally limited: because the two defining classical LDPC codes are dual-containing, the parity checks of one code are codewords of the other. As a result, subgraphs induced by their support inevitably act as TSs; these are referred to as stabilizer-induced TSs [18].
In [19], TS-related failures are reduced using a post-processing order-statistics decoder (OSD) applied after message passing. While OSD can reduce the decoding-failure rate, it substantially increases complexity. Specifically, it requires solving a linear system whose size scales with the blocklength, yielding cubic complexity. In addition, increasing the OSD order enlarges the greedy search over candidate error patterns, leading to exponential growth in complexity with the order. Consequently, OSD-based post-processing is typically impractical for QLDPC decoding.
To overcome this limitation, several low-complexity variants of OSD have been proposed in [20]–[22], which reduce implementation cost without significantly degrading error-correction performance. Another approach, proposed in [23], eliminates the exponential search step by detecting from the decoder dynamics when the error lies in a TS. In [24], [25], the authors adapt techniques such as normalization and bias optimization, which modify message-passing rules to mitigate TS-related failures without relying on post-processing. In particular, the decoding algorithm in [24] employs multiple decoders that differ in their message-update rules at the variable nodes to reduce decoding failures.
Neural-network-based approaches have also been investigated. In [26], [27], neural networks are trained to learn message-passing rules that resolve TS-related failures. Building on a more detailed understanding of the decoding dynamics within stabilizer-induced TSs, [28] proposes a scheduled message-passing decoder designed to avoid TS-induced failures under a certain technical condition. This scheduled decoder can be combined with other decoders that do not depend on post-processing to further boost their performance. For example, in the approach of [24], the number of parallel decoders needed to achieve a target logical error rate can be reduced by optimizing the scheduled decoder, rather than relying solely on a fully parallel decoder.
The decoding approaches discussed so far assume an error-free syndrome extraction circuit and focus exclusively on optimizing decoders to avoid TS-related failures. Although this helps to clarify how TS-related decoding failures arise and how to prevent them, it is not sufficient for realistic hardware, where the syndrome extraction circuit itself can be faulty and introduce additional errors. The errors introduced during the syndrome extraction process fall into two main categories: (1) errors that propagate through the circuit and create correlated data errors, and (2) errors that do not propagate but instead corrupt the measured syndrome by effectively flipping some of the bits of the syndrome vector. To account for these errors, additional variable nodes are added to the decoding graph. For propagating errors, these nodes represent the resulting correlations and provide additional information to the decoder. For non-propagating errors that appear as flipped syndrome bits, they allow the decoder to identify error patterns that are consistent with the faulty syndrome, helping it converge. However, these additional nodes can also exacerbate non-convergence of BP decoding: they introduce many short cycles in the decoding graph, and combinations of these cycles can create new TSs beyond those already present in the code's original Tanner graph. As in the case of perfect syndrome extraction, many decoding algorithms handle these failures using a post-processing OSD step, at the cost of increased complexity. In the imperfect syndrome extraction setting, this complexity increase is even more significant: the performance of the message-passing decoder is further degraded by the newly introduced short cycles, so the OSD must correct more residual errors. Moreover, the OSD complexity scales cubically with the number of variable nodes, which has now grown. This complexity growth can be mitigated by using more efficient OSD implementations [20]–[22], as in the perfect syndrome extraction setting. Decoding approaches that completely avoid post-processing can also be adapted to the imperfect syndrome extraction case. In [29], the authors design several neural-network-based decoders, each parameterized by a different bias (i.e., a different initial channel LLR), and run them in parallel to collectively reduce decoding failures. In [30], it is shown that running these decoders sequentially—feeding the output of one decoder as the input to the next—can further reduce decoding failures; this sequential strategy is known as relay BP. Although these decoders avoid post-processing, running many of them sequentially still increases the decoding time, as reported in [30], even if the overhead can be substantially smaller than that of post-processing. Other list-based strategies also avoid post-processing while improving robustness. In [31], the decoder runs a small number of BP iterations, identifies the least reliable variable node (e.g., the node with the smallest-magnitude LLR), fixes its value, and then runs two BP instances corresponding to the two possible fixed values. This branching is repeated within each BP instance until the number of active instances reaches a preset list size; at that point, instances with the least reliable scores are pruned. The process continues until one of the remaining BP instances converges. The beam-search decoder avoids the sequential strategy considered in relay BP, but (like relay BP) relies on additional nodes representing CNOT faults for convergence. In [32], the authors consider list decoding on the code trellis, aggregating the probabilities of error candidates that correspond to the same syndrome.
Both approaches report improved performance compared to BP+OSD, while avoiding explicit OSD-style post-processing. Unlike the message-passing decoders discussed above, this trellis-based decoder approximates coset decoding. While it maintains a decoding complexity that is linear in blocklength (as in BP), it can have a large constant factor due to the larger state space of the trellis.
B. Limitations of Existing Decoders and Motivation for Our Approach
The discussion in Section I-A highlights that many existing decoders focus on reducing or eliminating the additional complexity introduced by post-processing, rather than reducing the complexity of the underlying message-passing decoder. When the syndrome-extraction circuit is faulty, post-processing becomes more complex because the decoding graph must include extra variable nodes, as explained earlier. These additional Tanner-graph nodes represent faults during syndrome extraction and increase the cost of both OSD and message passing. Although they do not change the asymptotic scaling of message passing, they can significantly increase the constant factor, and thus the practical decoding cost.
To quantify this overhead, consider the syndrome-extraction circuit of a QLDPC code from [6]. A failed CNOT gate can induce one of 15 two-qubit Pauli error operators; modeling these possibilities typically requires adding 15 variable nodes per potentially faulty CNOT. The total number of CNOT gates scales with the number of check nodes (proportional to the blocklength) times the check degree . Hence, the number of additional variable nodes scales as blocklength. For the bivariate-bicycle codes in [6], which have , this corresponds to a factor- increase in the number of variable nodes. This substantial overhead directly impacts the decoding cost and, consequently, the overall runtime of quantum algorithms and the physical-qubit estimates reported in [12].
In this work, we ask whether it is possible to (i) avoid adding extra nodes that account for circuit faults and (ii) avoid reliance on post-processing for resolving decoding failures. The main contributions of this paper are summarized as follows.
-
In Section III-A, we connect propagating circuit faults (hook errors) to stabilizer-induced TSs and explain why introducing nodes that represent hook errors can substantially reduce the OSD order needed to correct such faults.
-
In Section IV, we characterize broad families of stabilizer-induced TSs in HGP and LP codes in terms of TSs in their parent classical codes, extending the characterization in [28] beyond products of tree-like subgraphs. We also relate these structures to circuit-level faults by quantifying how many CNOT failures suffice to induce them, which helps identify the dominant TSs that determine the slope of the logical error-rate curve in the error-floor regime. Our TS enumeration can also be used to sample error patterns to train neural-network decoders such as those in [33].
-
In Section VI, we show that CNOT faults that manifest as syndrome errors can be reinterpreted as data errors together with syndrome measurement errors. Consequently, given repeated measurements and a decoding graph that already includes nodes representing syndrome measurement errors, one does not need a distinct variable node for each such CNOT failure to retain the same error-correction capability.
-
In Section IV, we derive design principles to avoid stabilizer-induced TS-related decoding failures without adding explicit nodes to represent CNOT failures, given decoders that resolve TSs in the parent classical codes. In Section VII, we validate this approach by deriving QLDPC decoders from decoders of the parent codes that resolve the corresponding classical TSs.
II. PRELIMINARIES
A. Notations
We use bold lowercase and uppercase letters to denote vectors and matrices, respectively. The -th entry of a vector is written as , and the -th entry of a matrix is written as . The -th row and -th column of are denoted by and , respectively. The Hamming weight of a vector , defined as the number of nonzero entries, is denoted by . Calligraphic letters are used to denote sets; the cardinality of a set is denoted by . Script letters are used to denote graphs and subgraphs. Set-theoretic operations, such as intersection and union between two graphs, refer to applying these operations to the underlying node and edge sets that define the graphs or subgraphs.
B. Linear Codes
A -binary linear code is a -dimensional subspace of the -dimensional vector space , specified as the null space of a binary matrix , called the parity-check matrix. The associated codespace is
The minimum distance of U is defined as the minimum Hamming weight of any nonzero codeword, i.e.,
A parity-check matrix can be represented by a bipartite graph known as a Tanner graph [14]. Let the Tanner graph corresponding to the parity-check matrix H be denoted by , where is the set of variable nodes (corresponding to the columns of H), is the set of check nodes (corresponding to the rows of H), and is the set of edges of . The set of check nodes connected to a variable node is denoted by , and the set of variable nodes connected to a check node is denoted by . An edge exists between a check node and a variable node if the -th entry of H is 1. An example of a Tanner graph is shown in Figure 1. The dual of the linear code , denoted by , is defined as

Fig. 1: An example of a Tanner graph. Circular nodes represent variable nodes, and rectangular nodes represent check nodes. Each check node imposes a linear constraint on its neighboring variable nodes. For instance, check node is connected to variable nodes and , which implies that in any valid codeword .
the code whose codewords are orthogonal to that of U with associated codebook
C. Pauli Group
The set of Pauli matrices , where
forms a group [34]. The Pauli group acts on the 2-dimensional complex Hilbert space . Larger groups can be formed by taking the -fold tensor products of Pauli matrices, for . We denote this by . The group acts on a -dimensional complex vector space.
D. Stabilizer Codes
Let be an Abelian subgroup of , generated by , with each . The codespace is defined as the subspace of on which all elements of act trivially, for [35]. Thus, is the simultaneous +1 eigenspace of the operators in , and has dimension . Elements of are called stabilizers. For operators and , we say that they commute if and anticommute if . An operator in that maps any codeword to another codeword is called a logical operator. The set of logical operators, denoted by , is
Equivalently, can be characterized as the subset of consisting of operators that commute with every stabilizer.
The stabilizer group S is a normal subgroup of L, and the quotient group L/S describes the operators that act nontrivially on (at least) one codeword. Because any two elements of either commute or anticommute, whether an operator maps a codeword to another codeword can be determined from its commutation relations with the stabilizers. Any operator in L/S acts non-trivially on the codespace while remaining undetectable by the stabilizers. The minimum distance of the code defined by S is the minimum weight of a non-trivial element of L/S. There is an isomorphism between the single-qubit Pauli group and under component wise addition, given by
This induces a binary representation of n-qubit Pauli operators and, in particular, a matrix representation of the stabilizer generators. The binary representation of the stabilizer generators is called the parity-check matrix and is written as
where and are binary matrices corresponding to the X- and Z-type stabilizer generators, respectively, in the binary description of the stabilizer generators. Since the stabilizer generators commute, the parity-check matrix satisfies
E. CSS Codes
Consider stabilizer codes whose stabilizer generators can be divided into two groups such that the generators in one group are n-fold tensor products of I and X, while the generators in the other group are n-fold tensor products of I and Z. The binary representations of the stabilizer generators of these codes have the form
The commutativity condition in (1) reduces to
which makes it possible to derive stabilizer codes from two classical codes that satisfy this condition. These are called CSS codes, after Calderbank, Shor, and Steane, who first highlighted the connection between stabilizer codes and classical codes [36]. Let and denote the classical codes with parity-check matrices and , respectively. Since the Pauli logical operators must commute with the stabilizers, the binary representations of the X-type and Z-type logical operators are, respectively,
where and are the dual codes of and , respectively. The minimum distance of a CSS code is
where
Example 1. Consider the five-qubit stabilizer code characterized by the stabilizer group S, generated by . In the shorthand notation, represents the five-fold tensor product , where indicates the i-th element and identity operators are omitted. Since the stabilizer group generators of S have either X or Z operators, the code associated with it is a CSS code. In the binary representation, the X and Z parity-check matrices of the CSS code are given by
The binary forms of the logical Pauli operators are represented by the row space of
Since there are no weight-one vectors in the row spaces of and , and there exists a vector of weight two, the code defined by the stabilizer group S has distance two.
F. Quantum LDPC Codes
QLDPC codes are a class of CSS codes whose stabilizer weights do not scale with blocklength. There exists several families of QLDPC codes that offer different trade-offs between distance, rate, and connectivity constraints. Although the results in this paper are qualitatively applicable to most QLDPC code families, they are formally derived and validated only for HGP [2] and LP [4] codes. HGP and LP codes are constructed from two classical codes, so we first provide a brief overview of classical LDPC codes before detailing their construction.
-
Classical quasi-cyclic LDPC Codes: Since LP codes are constructed from two classical quasi-cyclic LDPC codes, we restrict the discussion to quasi-cyclic LDPC codes. The parity-check matrices of quasi-cyclic codes admit a compact matrix representation, referred to as a base matrix. The elements of a base matrix take values from the quotient polynomial ring . It is important to note that the quotient polynomial ring is isomorphic to the ring of binary circulant matrices of dimension . The parity-check matrix associated with a base matrix is obtained by substituting each entry of with its corresponding circulant-matrix representation. The base matrix has a graphical representation similar to that of a parity-check matrix, called the base graph. Let be the graphical representation of the base matrix , where and are the sets of left and right nodes of , corresponding to the columns and rows of the base matrix, respectively. To distinguish them from the nodes and edges of the Tanner graph, the nodes and edges of the base graphs are denoted with an underline. There is an edge between and if is a nonzero element of . To obtain the Tanner graph for a code from a base matrix , we first expand into its associated parity-check matrix and then follow the procedure described in Section II-B to construct the Tanner graph. Alternatively, the Tanner graph can be obtained directly from the base graph using the copy-and-permute operation [37]. The copy-and-permute operation involves two steps. In the copy step, the base graph is copied times. Denote the -th copy of the base graph by and its left nodes, right nodes, and edges by , , and , respectively. During the permutation step, the edges of the base-graph copies are rearranged. Specifically, an edge that connects the variable node to the check node becomes an edge (which we still denote by ) connecting the variable node to the check node , where is a cyclic permutation of determined by the circulant-matrix representation of . For a detailed description of the copy-and-permute operation, see [37].
-
Lifted-product Codes: Given two base matrices and corresponding to two classical LDPC codes, the LP construction, introduced by Panteleev and Kalachev [4], produces two base matrices and given by
where and, for any ,
Since each nonzero ring element used in and corresponds to a circulant-permutation matrix, its inverse is equal to its transpose. Define , , and . The parity-check matrices and corresponding to the base matrices and satisfy the condition in (2). Therefore, together define a CSS code. When the elements of , for , are chosen from instead of , the matrices can be interpreted as parity-check matrices of linear codes. In this case, the two matrices in (3) can be interpreted as parity-check matrices of two classical codes that satisfy the CSS criterion in (2). This modified construction of QLDPC codes is called the hypergraph product (HGP) construction, introduced by Tillich and Zémor [2]. Equivalently, LP codes can be constructed by taking the graph product of the Base graphs of the two classical LDPC codes. Since some aspects of the decoder behavior are easier to explain using the graph product viewpoint, we next describe the formulation of LP codes as a graph product.
Graphical description: The graph product of two base graphs, and , yields a third graph whose left nodes are given by
and whose right nodes are given by
Nodes and edges of the base graphs are distinguished by their corresponding superscripts. Moreover, we use a prime on subscripts (e.g., i', j') for indices associated with the first base graph , while indices associated with the second base graph are written without a prime. Left-side nodes of the form , with and , are called VV-type variable nodes, while those of the form , with and , are called CC-type variable nodes. Right-side nodes of the form , with and , are called X-stabilizers or X-checks, while those of the form , with and , are called Z-stabilizers or Z-checks. The collections of X-checks and Z-checks are denoted by and , respectively. From (6), it follows that

Fig. 2: Node types in the Tanner graphs of HGP/LP codes. VV-type variable nodes are depicted with a circle inside another circle because they are obtained by multiplying two variable nodes, each represented by a single circle. Analogously, CC-type variable nodes, X-checks, and Z-checks are represented, respectively, by a square inside another square, a circle inside a square, and a square inside a circle.
In the product graph , there is an edge between an X-check and a VV-type variable node if and . Similarly, there is an edge between an X-check and a CC-type variable node if and . Therefore, the set of neighboring variable nodes of the X-check is given by
\mathcal{N}_{\underline{{c}}_{\mathrm{i}}^{\prime},\underline{{v}}_{\mathrm{j}}^{2}}=\left(\mathcal{N}_{\underline{{c}}_{\mathrm{i}}^{\prime}}^{1}\times\underline{{v}}_{\mathrm{j}}^{2}\right)\cup\left(\underline{{c}}_{\mathrm{i}}^{\prime}^{1}\times\mathcal{N}_{\underline{{v}}_{\mathrm{j}}^{2}}\right).Similarly, the set of neighboring variable nodes of a Z-type check is given by
Definition 1. The subgraph induced by a set of nodes in a graph consists of those nodes, their neighboring nodes, and all edges connecting the inducing nodes to their neighbors.
Let the subgraphs induced by and in be denoted by and , respectively. Observe that and are base graphs corresponding to the base matrices and given in (3), assuming and are base graphs corresponding to the base matrices and , respectively. The product of two nodes, one from and the other from , is illustrated in Figure 2.
G. Syndrome Measurement Circuit
Encoded states lie in the +1 eigenspace of the stabilizers, so checking whether a faulty state is in the codespace amounts to verifying that it lies in the +1 eigenspace. The circuit used to test whether a quantum state is in the +1 eigenspace of a given stabilizer generator is called a detector. A detector outputs +1 for states in the +1 eigenspace and -1 for states in the -1 eigenspace. Taken together, the detectors corresponding to all stabilizer generators of a code form the syndrome measurement circuit [34].
To understand the structure and operation of a measurement circuit, consider the stabilizer group , which stabilizes the trivial state . Prepare an ancilla qubit in the state and apply a CZ gate between the encoded qubit and the ancilla. If the encoded qubit is in the +1 eigenstate—here, the state —the CZ gate leaves the ancilla unchanged, and the joint state is . Otherwise, the CZ gate

(a) Measurement of Z stabilizer (b) Measurement of X operator that stabilizes the state. that stabilizes the state.
Fig. 3: Measurement of stabilizers that acts on one qubit.

Fig. 4: Measurement of the operator.
flips the phase of the ancilla, producing . Note that after applying the CZ gate, the encoded qubit and ancilla remain in a product state rather than becoming entangled. Thus, by applying a Hadamard gate to the ancilla qubit and then measuring it in the Z basis, one can determine whether the encoded state lies in the codespace. The corresponding measurement circuit is shown in Figure 3 (a). To extend the above notion of syndrome measurement for Z-stabilizers from a single qubit to multiple qubits, recall that a stabilizer is the tensor product of Pauli matrices and the encoded state is the tensor product of the eigenvectors of these Pauli matrices such that the product of their respective eigenvalues equals one. Therefore, to identify whether a faulty encoded state belongs to the +1 eigen space, initially apply CZ gates sequentially between the ancilla, prepared in the state, and the qubits on which the Z stabilizer acts non-trivially. Then measure the ancilla. Figure 4 illustrates the measurement circuit for the stabilizer generator from the stabilizer group S in Example 1. Analogously, it can be shown that the measurement of a X stabilizer involves initializing an ancilla qubit in the state , followed by applying CNOT gates sequentially between the ancilla and each qubit that the X stabilizer affects non-trivially, with the ancilla qubit acting as the control qubit. The measurement of the eigenvalue corresponding to the X operator is shown in Figure 3b.
H. Detector-Error Matrix
Given a specified set of fault locations together with all possible errors associated with each location, the detector–error matrix indicates whether a given error causes the codeword states to exit the codespace. Let denote the set of fault locations in a circuit, and let for denote the error at the -th location, with taking the values in the set .
The error detector matrix associated with the syndrome-measurement circuit for R rounds of measurement is a

Fig. 5: Propagation of errors through CNOT and CZ gates.
binary matrix of dimension , where the rows correspond to the detectors and the columns correspond to errors in the circuit. The -th entry of the error–detector matrix is 1 if the error corresponding to the j-th column causes the i-th detector to output -1. To determine whether a specific error changes a detector output from +1 to -1, one must consider the detector output when only that error is present and no other errors occur in the circuit. This can be done by propagating the error through the controlled gates according to the following rules [34]. For CNOT, we use the convention that the tensor-product ordering is , consistent with Fig. 5:
The above propagation rules are illustrated in Figure 5. Note that an ancilla error can propagate to multiple data qubits. Such errors are referred to as hook errors [34]. In Figure 4, an X error on the ancilla propagates to qubits , , and , manifesting as Z errors on these qubits. The error–detector matrix has Rr rows, where r denotes the number of generators of the stabilizer group and R is the number of rounds of syndrome measurement. Each stabilizer-generator measurement is associated with a single detector. Consequently, for R rounds of syndrome measurement there are rR detectors in total. The Tanner graph associated with the error–detector matrix is commonly referred to as the circuit-level Tanner graph (or detector–error Tanner graph).
Definition 2. The effective minimum distance is the smallest number of physical faults whose propagation through the entire syndrome extraction circuit results in a nontrivial logical Pauli operator.
Example 2. Consider the syndrome measurement circuit corresponding to the code in Example 1, in which the X stabilizer is measured once and the Z stabilizers are measured twice (see Figures 6 and 7). The fault locations are shown as a set of random gates for . Each takes values in according to a specified probability distribution. The error-detector matrix corresponding to the detectors associated with the Z stabilizers is given by
The column labeled represents the detector outputs when the error at the -th location is , i.e., when . Note that when , the outputs of the detectors associated with the stabilizers do not change; hence, errors with are omitted from the error-detector matrix in (12). The first two rows correspond to detectors linked to the first round of measurements of the stabilizers and , respectively. The third and fourth rows correspond to their measurements in the second round. Figure 7 illustrates how to determine the entries of a column by inserting an fault at the 6-th location and propagating it to the end of the circuit. Since an error at the 6-th location flips the outputs of the first and third detectors, the corresponding entries are 1 in the column labeled . In contrast, an error at the 7-th location is not detected. Consequently, the column labeled consists entirely of zeros. This implies that the effective distance of the circuit is strictly less than two. An alternative representation of the error-detector matrix in (12) is
In this alternative representation, the first two rows are identical to those in (12). The third row is the modulo-two sum of the measurement outcomes for from the first and second rounds, and the fourth row is the modulo-two sum of the measurement outcomes for from the two rounds. The minimum effective distance is the same for both representations, as they have the same null space [38]. However, the alternative representation is sparser, which makes it more amenable to iterative decoding.
I. Noise Models and Decoders
We consider three noise models: (1) capacity-error model, (2) phenomenological noise model, and (3) circuit-level noise model [39]. In the capacity-error model, each data qubit independently undergoes a Pauli error X, Y, or Z with probability p/3, while all gates and syndrome measurements are assumed to be perfect. In the phenomenological noise model, each data qubit independently undergoes a Pauli error X, Y, or Z with probability p/3, and each measurement outcome is independently flipped with probability p; there are no CNOT gate errors.
In the circuit-level noise model, each data qubit independently undergoes a Pauli error X, Y, or Z with probability

Fig. 6: Syndrome measurement circuit for the CSS code in 1: The fault locations are shown as a set of random gates , for , which are Pauli matrices with fixed probabilities. The X stabilizer is measured once, and the Z stabilizers are measured twice.

Fig. 7: Determination of the group of detectors whose outputs vary when in the circuit shown in Figure 6: The errors on the inputs and outputs of the controlled Z and CNOT gates are displayed, except in the cases where both inputs are identity. All measurements are performed in the Z basis. Observe that error propagates to qubits , , , and is detected by the second and fourth detectors. These detectors are associated with the measurements of stabilizer from Example 1.
p/3. Each CNOT gate independently fails with probability p; conditioned on failure, it applies one of the nontrivial two-qubit Pauli errors 15 uniformly at random (so each occurs with probability p/15). Finally, each measurement outcome is independently flipped with probability p. We primarily focus on the circuit-level noise model, and refer to the capacity-error and phenomenological noise models only when needed for comparison.
Under these noise model, the primary aim of the decoder, given the detector outputs, also referred to as the syndrome vector, is to accurately estimate the error vector on the data qubits up to the stabilizer group. Should the decoder be unable to do so, a decoding failure is declared.
III. WHY DOES OSD WORK BETTER ON DETECTOR-ERROR TANNER GRAPHS?
The detector-error Tanner graph facilitates the convergence of BP+OSD by introducing additional variable nodes that represent faults during syndrome measurement, which can substantially reduce the logical error rate. These extra nodes allow the decoder to capture correlations induced by the measurement circuit, but they also dramatically increase decoding complexity. This raises a central question: are nodes representing faults essential for achieving a low decoding-failure rate, or can one design decoders that operate on a smaller Tanner graph (without a dedicated variable node for every fault) while retaining comparable performance? To answer this, we first ask how the additional nodes help BP+OSD: do they improve BP, OSD, or both, and through what mechanism? Here, we focus on failures in which the decoder converges to a logical error. We separate the discussion by fault type: (i) CNOT faults that introduce hook errors (propagating data errors) and (ii) CNOT faults that introduce syndrome-bit errors together with a non-propagating data error.
A. CNOT faults and stabilizer-induced TSs
In the capacity error model, as discussed in Section I-A, BP decoders can fail to converge on QLDPC codes due to stabilizer-induced trapping sets [18], [28]. Here, we connect this phenomenon to hook errors during syndrome measurement. Consider the measurement of an X-type stabilizer generator of an HGP code in Fig. 8a, where CNOTs are applied in the order indicated on the edges. If the CNOT associated with edge label 3 fails and introduces an X error on the ancilla, that error propagates to the data qubits , , , and (Fig. 8b). The resulting data-error pattern is supported on the stabilizer-induced TS associated with , and BP is unlikely to converge. This mechanism makes stabilizer-induced TSs particularly harmful in the circuit-level error model: a single gate fault can activate a stabilizer-induced TS.
Next, we examine the factors that contribute to the improved decoding failure rate of the BP+OSD decoder when it is run on the detector-error Tanner graph. To this end, we first delineate the working principles of the BP+OSD decoder. Let the number of columns in the detector-error parity-check matrix be denoted by N and its rank by r. In the BP+OSD decoding framework, the BP decoder is first run for a specified number of iterations on the detector-error Tanner graph to produce a soft value (e.g., an LLR) for each of the N variable nodes. The variable nodes are then ranked by reliability, e.g., by the magnitude of their soft values. The order-t OSD step next permutes the columns of the detector-error parity-check matrix according to this reliability ordering and performs Gaussian elimination to obtain a full-rank systematic form. Using this systematic form, OSD enumerates all test patterns of weight at most t on a subset of less-reliable positions; for each test pattern, it computes the corresponding values on the remaining r positions so that the resulting length-N error estimate satisfies the measured syndrome. This generates candidate solutions. Finally, OSD selects the candidate with the largest a priori probability (equivalently, the best metric with respect to the BP soft values).
With the above explanation of the BP+OSD decoding approach, let us re-examine the trapping-set example depicted in Figure 8. This scenario helps to clarify the advantage of adding additional variable nodes to handle hook errors during the decoding process. To simplify the discussion, assume that the variable nodes that form the TS are not part of the r variable nodes with the highest soft values. This is reasonable because the error estimate tends to oscillate between iterations when the support of the error pattern lies within a stabilizer-induced TS. In cases where the error pattern contains only one hook error, as illustrated in Figure 8c, it is likely to become a candidate solution for OSD-1. However, if no additional node representing the hook error is present, the true error pattern is considered as a candidate solution only when the OSD order is three or greater. An OSD of order three is sufficient, as there exists a corresponding weight-3 error pattern that matches the syndrome, although the hook error in Figure 8b spreads to four qubits.
Note that stabilizer generators alone are not the only source of TSs; their linear combinations can also induce them [28]. As the size of such linear combinations grows, the required OSD order to resolve the corresponding TSs increases in both cases—whether or not additional nodes are included to account for hook errors. In particular, this increase is much faster when additional variable nodes representing hook errors are absent. The resulting increase in decoder complexity is illustrated in Fig. 9a through an example in which a pair of hook errors creates a TS induced by two stabilizer generators.
Consider the TS formed by two X-type stabilizer generators, as shown in Fig. 9a. Assume that the CNOT operations associated with the edges labeled 3 fail during the syndrome measurement and introduce X errors in the corresponding ancilla qubits. These X errors subsequently propagate to data qubits , and , collectively forming an error pattern that activates the TS depicted in Fig. 9a. This shows that, in the circuit-level error model, the TS in Fig. 9a can be triggered by just two hook errors, instead of the six data errors required in the capacity error model. In Fig. 9c, the two blue variable nodes represent these X-type errors, which arise after the CNOT operations. A variable node associated with

(a) TS induced by the X-type stabilizer generator , i.e., the graph product of check node and variable node . Dotted lines indicate the edges connecting to its neighboring variable nodes, and the annotations specify the order in which the corresponding CNOT gates are applied during syndrome measurement. Solid lines show the induced subgraph within .

(b) A hook error activating the stabilizer-induced TS in Figure 8a. The CNOT gate corresponding to the edge with label 3 fails and introduces an X error in the ancilla. This X error subsequently spreads to the data qubits , , , and , which is enough to induce the TS [28].

(c) The TS induced by incorporates an extra variable node (colored blue) symbolizing an X-error in the ancilla following the execution of the CNOT associated with the edge labeled 3. The inner shapes of the checks that do not satisfy the measured syndrome are depicted in black. OSD-1 is capable of addressing this TS caused by a hook error.
Fig. 8: Example illustrating of how a hook error activates stabilizer-induced TSs.
a hook error is adjacent to a check node if that check node can detect the corresponding hook error. Thus, the adjacent check nodes of these variable nodes are determined by whether the check node detects the associated hook error. Running the OSD-2 decoder on the Tanner graph, which includes the two blue variable nodes for hook errors, is likely to produce candidate solutions that include the true error pattern. However, omitting these nodes from the Tanner graph would require an OSD decoder of order six or higher to resolve the TS. Given the exponential increase in OSD complexity with order, it is advantageous to incorporate variable nodes that capture correlations from hook errors.
Figure 9 illustrates how CNOT faults that create hook errors propagate to correlated data errors and thus activate a stabilizer-induced TS in the detector-error Tanner graph. The above discussion explains why fault-representing nodes help the OSD stage: by explicitly modeling the hook-error correlations, the true error pattern can appear at much lower OSD order. However, adding these nodes can also worsen the convergence of the BP because it introduces additional short cycles [40], [41]. These nodes representing faults become unnecessary if BP itself is modified to resolve the corresponding stabilizer-induced TSs. An approach in this direction is [28], which characterizes the TSs of HGP/LP codes as graph products of parent-code subgraphs and shows that alternating VV/CC message updates can ensure convergence when the relevant subgraphs are cycle-free. Since good classical codes typically contain many cycles, this guarantees convergence only for a restricted class of TSs [42]. Here, we propose decoders that resolve a broader class of stabilizer-induced TSs by leveraging decoders for the underlying parent-code, thereby avoiding the need to add a fault node for every correlation-inducing event.
B. CNOT Faults and Syndrome-Measurement Errors
In this section, we discuss CNOT faults that occur during stabilizer measurement and do not propagate to other data qubits, but nevertheless corrupt the measured syndrome. In detector-error Tanner graphs, such faults are often modeled by introducing additional variable nodes.
Whenever a stabilizer generator acts nontrivially on a data qubit, the measurement circuit applies a two-qubit gate (e.g., a CNOT) between that qubit and an ancilla. If a data error is introduced midway through the measurement circuit, it is detected only by those stabilizer checks whose relevant two-qubit gates occur after the error. As a result, the measured syndrome can differ from the syndrome of the final data-error pattern. We illustrate this effect using the Steane code in Fig. 10. Assume all CNOT gates are perfect except the gate between data qubit and ancilla , and that this faulty CNOT induces a Z error on . In the first round, this error is detected by only the first and third stabilizers, even though a pre-existing Z error on would be detected by all three. Feeding such an inconsistent syndrome to a decoder can lead to miscorrection; in this example, a maximum-likelihood decoder would apply a correction on , turning a single-qubit error into a two-qubit error.

(a) An example of a TS created by two X-type stabilizers, formed through the graph product of the subgraph induced by two check nodes of one parent classical code and the subgraph induced by a variable node from the other parent classical code. The dotted edges showed the edges connected to the X-type stabilizers. Solid lines denote the edges of the subgraph induced by these X-type stabilizer generators. The labels on these dotted lines indicate the order in which the CNOT operations associated with them are carried out during the stabilizer measurement.

(b) Hook errors activating the TS shown in Fig. 9a. Both CNOT gates corresponding to the edges labeled 3 in Fig. 9a fail, causing X errors in the respective ancillas. These X errors then propagate to the data qubits that participate in later CNOT operations with those ancillas. Here, the X-error that propagated from ancilla to data is canceled by the X error that propagates from ancilla to data .

(c) detector-error Tanner graph featuring two additional variable nodes (colored blue) to represent the X errors introduced after the faulty execution of CNOTs corresponding to the edges labeled 3 in Figure 9a. The inner shapes of the checks that do not satisfy the measured syndrome are depicted in black.
Fig. 9: Example illustrating how a combination of hook errors induce TSs.
The corresponding detector-error matrix is
where the cyan block corresponds to the first round of stabilizer measurement. In that round, the eighth column (the Z error introduced after the faulty CNOT) coincides with the fifth column, so these two faults are indistinguishable from a single-round syndrome; in particular, adding explicit fault nodes alone does not resolve the ambiguity when the code is not single-shot. Repeating the measurement mitigates this issue. In (14), the two highlighted blocks together correspond to two rounds, and the eighth column becomes unique, allowing an optimal decoder to identify the correct fault. This motivates the use of nodes to represent such faults together with repeated measurements. We next ask whether one can handle these CNOT-failure induced syndrome errors without introducing explicit fault nodes; we return to this question in Section VI.
IV. STABILIZER-INDUCED TSS WITH MULTIPLE COPIES OF TSS FROM A PARENT CODE
Iterative message-passing decoders fail in the error-floor region of classical LDPC codes due to short cycles and their combinations in the Tanner graph, known as classical TSs. An HGP/LP code inherits these structures from its parent classical codes, resulting in multiple isomorphic copies of each classical TS in the derived HGP/LP code. Certain collections of these isomorphic copies form large stabilizer-induced TSs that arise from linear combinations of stabilizer generators. Hook errors during the measurement of these stabilizer generators can introduce errors in multiple copies simultaneously, increasing the likelihood that enough copies become active (in the sense

Fig. 10: Circuit errors leading to an erroneous syndrome (and why repeating the measurement helps): A faulty CNOT between and introduces a Z error on during syndrome extraction, so in the first round it is detected only by the first and third stabilizers; in contrast, a pre-existing Z error on (present before measurement) would be detected by all three generators. Repeating the syndrome measurement in a second round makes the syndrome history distinguish this CNOT-induced fault from data errors that were present before measurement.
defined below) to cause a decoding failure. It is therefore crucial to analyze the decoding dynamics of these large stabilizer-induced TSs and to design decoders that can avoid decoding failures caused by them. In this section, we focus on stabilizer-induced TSs that contain multiple copies of a TS from one of the parent classical LDPC codes. Due to the similarity between the TSs induced by Z-type and X-type stabilizer generators, we restrict our attention to those induced by the X-type stabilizer generators. This extends the study of stabilizer-induced TSs considered in [28], which focused only on TSs that are the graph product of tree-like subgraphs from the Tanner graphs of the parent classical LDPC codes, by allowing one of the subgraphs involved in the graph product to have cycles. Next, we formally define these TSs and provide an example to illustrate our approach.
Definition 3. An TS of an LDPC code is a subgraph of the Tanner graph induced by a set of a variable nodes that contains b odd-degree check nodes. The critical number of a TS (with respect to a given iterative decoder) is the smallest number of variable nodes that must initially be in error to cause a decoding failure.
Remark 1. (Active TSs) Throughout this section, we view TSs as candidate failure mechanisms for a specific iterative decoder. A classical TS is said to be active if the number of erroneous variable nodes it contains is at least its critical number.
Example 3. Consider the product of a degree-four check node, , from with a classical TS, , from , as shown in Figure 11a. To simplify the pictorial representation, X-type (or CV-type) generators and their edges have been omitted. Since has degree four, the graph contains four identical copies of . These isomorphic copies are denoted by for . In each copy, the variable nodes from are transformed into VV-type variable nodes, while the check nodes are transformed into VC-type check nodes. The edges are therefore represented as edges between VV-type variable nodes and VC-type check nodes. This observation is formalized in Part 1 of Lemma 1, described later in this section. Furthermore, note that two isomorphic copies of do not share nodes or edges; this is formalized in Part 2 of Lemma 1.
The graph in Figure 11a is induced by X-type stabilizer generators (CV-type checks) , , , and . This can be verified by checking that the variable nodes in the graph coincide exactly with those present in the subgraphs induced by these generators. To facilitate this verification, the nodes in the figure are color-coded, since the X-type stabilizer generators themselves are not shown in Figure 11a. As an example, consider the subgraph induced by the X-type stabilizer generator , shown in Figure 11b. In this subgraph, the outer circle in the representation of VV-type variable nodes is derived from the four neighboring variable nodes of , represented as , , and . The inner circle is derived from , represented by . Similarly, the outer rectangle in the representation of CC-type variable nodes is derived from , represented as , and the inner rectangle is derived from one of the three neighboring check nodes of , represented as , , and . From this, one can verify that the variable nodes connected to are in , which is shown in Figure 11a. Although not explicitly stated for brevity, the analogous properties hold for variable nodes connected to X-type stabilizers , , and . These can be used to confirm that these four X-type stabilizer generators indeed induce the graph in Figure 11a. This observation is formalized in Part 3 of Lemma 1. Finally, observe that every CC-type

(a) The figure shows how the graph product of a degree-four check node, , from and a TS, , from results in a graph that has four identical copies of TS . These identical copies are given by for . Note that part of the resulting graph from the graph product that contains only Z-stabilizers is shown. This graph is induced by CV-type stabilizer generators , , and within . To see that indeed the graph is induced by these stabilizer generators, the subgraphs induced by X-type stabilizer generators and within are explicitly shown in Figure 11b. As this TS is induced by four X-type stabilizer generators, it can be induced by hook errors introduced during their measurement. Similar to how the CC-type variable node is shown to connect with two stabilizer generators in Figure 11b, other CC-type variable nodes in the upper part of the figure can also be shown to connect with two stabilizer generators among those that induce this subgraph.
(b) Stabilizer-induced TSs induced by the X-type stabilizer generators and within . All variable nodes in these two induced subgraphs also appear in Fig. 11a. The CC-type variable node represented by is common to both subgraphs.
Fig. 11: Illustration of a stabilizer-induced TS containing multiple copies of a classical TS from .
variable node is connected to one VC-type check node in each of the isomorphic copies of , as formalized in Part 6 of Lemma 1.
When a stabilizer-induced TS contains multiple isomorphic copies of a classical TS, we call a copy active if it contains at least the critical number of errors for that underlying classical TS. We call the overall stabilizer-induced TS active if at least of these copies are active (and analogously, in the dual case, if at least copies are active for the relevant variable node ). Intuitively, decoders derived from the parent-code decoders can resolve such stabilizer-induced TSs without modification as long as the number of active copies is strictly less than (resp., ); when this threshold is met or exceeded, the derived decoder may fail and additional measures are needed. The following lemma formalizes the observations made in Example 3 about how multiple instances of a given TS arise in HGP codes, inherited from their parent classical LDPC codes.
Lemma 1. Consider an HGP code constructed from the graph product of two classical LDPC codes, represented by regular Tanner graphs and . Let denote a subset of variable nodes of , and let be the subgraph induced by these nodes. For a check node in , denote by the subgraph it induces. The subgraph induced by CV-type stabilizer generators that are obtained from and is defined as
where is the Tanner graph corresponding to the Z-stabilizer generators.
-
The subgraph contains pairwise isomorphic copies of , one for each neighboring variable node . For a fixed , each variable node corresponds to the VV-type variable node , and each check node corresponds to the VC-type check node .
-
These isomorphic copies do not share any common vertices, i.e., for all with .
-
The subgraph is induced by the CV-type stabilizer generators contained in .
-
Assume that is a TS in the Tanner graph . Then there exists a measurement schedule such that a single CNOT failure in the measurement circuit of each CV-type stabilizer generator in the set can corrupt all variable nodes in of the isomorphic copies of contained in , for some .
-
Let denote the set of check nodes that have an odd degree in . The stabilizer support (i.e., the set of variable nodes on which the corresponding stabilizer vector is nonzero) generated by linear combinations of stabilizer generators in then contains all VV-type variable nodes in , as well as all CC-type variable nodes in .
-
Each CC-type variable node is connected to the VC-type check node in the isomorphic copy
Proof. 1) Consider a VV-type variable node in subgraph , where and . The neighborhood of in is identical to the neighborhood of in because the set of check nodes adjacent to in is given by . Consequently, for each , the subgraph is isomorphic to , yielding , such isomorphic copies in .
-
From the definition of the graph product, it follows that the subgraphs and have no common vertices whenever . Hence, .
-
To show that the subgraph is induced by the CV-type check nodes in , it suffices to verify that the set of variable nodes adjacent to these check nodes coincides with the set of variable nodes in the subgraph. From the construction of the subgraph, variable nodes within subgraph are given by
Rewriting this as a union over yields
By construction, the variable nodes described in (16) are precisely the neighbors of the check nodes in . Comparing (16) with (15) shows that this set of neighbors coincides with the set of variable nodes of . Hence is exactly the subgraph induced by the check-node set .
- We want to show that there exists a measurement schedule such that a single CNOT failure in the measurement circuit of each CV-type stabilizer generator in the set can corrupt all VV-type variable nodes in isomorphic copies of . Fix distinct neighbors . Consider a stabilizer generator of the form with . Its measurement circuit consists of an ancilla qubit and CNOT gates from the ancilla to all variable nodes connected to it. Since the order of these CNOTs can be chosen arbitrarily, we may choose a schedule in which the CNOT gates
are executed last. Assume that exactly one CNOT in the measurement circuit for this stabilizer generator fails and introduces an X-error on the ancilla immediately before these last CNOTs. Then, by the hook-error propagation rule from Section III-A, this X-error is copied to the data qubits . Now repeat this construction for every stabilizer generator in the set . For each , choose the same type of schedule (with the CNOTs to executed last) and assume one such CNOT failure. Therefore, after performing the measurement of all these stabilizer generators, the full set of erroneous VV-type variable nodes is
which is the union of VV-type variable nodes in isomorphic copies of contained in .
- Consider the set of CV-type stabilizer generators in
The stabilizer support generated by linear combinations of these generators is the set of variable nodes that appear in the support of an odd number of generators in . Fix any . The VV-type variable nodes in the support of the generator are , i.e., the VV-type variable nodes of the form with . Now take two stabilizer generators and in , with . Their VV-type supports,
are disjoint. Hence, no VV-type variable node in can appear in more than one stabilizer generator in . Therefore, each VV-type variable node in appears in exactly one generator of , and thus appears in the support of an odd number of generators. It follows that the stabilizer support contains all VV-type variable nodes present in . We now determine the CC-type variable nodes in that lie in the support of an odd number of generators in . A CC-type variable node in has the form , where is a check node in . Such a node belongs to the support of a generator if and only if the check node is adjacent to in the Tanner graph of the second code, i.e.,
Equivalently, the number of generators in whose support contains is exactly the degree of in . Thus, is contained in the support of an odd number of these stabilizer generators if and only if the degree of in is odd. By definition, the set of such check nodes is . Therefore, a CC-type variable node lies in the stabilizer support if and only if . This characterizes completely which VV- and CC-type variable nodes are in the stabilizer support, with the role of VV-nodes determined by the non-intersecting support of stabilizer generators and the role of CC-nodes determined by odd-degree check nodes in .
- The set of VC-type check nodes connected to the CC-type variable node is . Recall that the isomorphic copies of within are given by
Since the check node is contained in , it follows that for each , the VC-type check node belongs to the corresponding isomorphic copy .
Remark 2. Part 4 of Lemma 1 analyzes a fixed syndrome-measurement schedule and shows that the number of CNOT failures needed to activate multiple isomorphic copies of an inherited TS does not grow with the number of copies. A natural question is whether this non-scaling is an artifact of that particular schedule. In fact, there are many other schedules with the same behavior. It is unclear whether there exists a schedule for which the minimum number of CNOT failures required to activate a fixed number of inherited TS copies grows with the number of available copies; we do not know the answer. Even if schedules exist that suppress the activation of certain inherited TSs, optimizing a single schedule to avoid activating all inherited TSs is challenging: a schedule that suppresses activation of one inherited TS may inadvertently activate a different one, and each parent code typically contains many distinct TSs. Accordingly, in this work we do not attempt to optimize the measurement schedule. Instead, we design decoders that resolve inherited TSs when they appear in , making schedule optimization unnecessary to avoid these structures in our setting. We also note that for HGP codes, the effective distance is invariant under the choice of the measurement schedule [43]. Consequently, by resolving stabilizer-induced TSs directly, the decoders considered in this work provide error-correction capabilities that grow with the effective distance.
In an HGP code, the Tanner graphs and associated with the X- and Z-stabilizer generators arise as graph products of two parent LDPC codes with Tanner graphs and . Lemma 1 shows that a classical TS from can reappear inside a subgraph induced by an X-type stabilizer in , due to the presence of multiple isomorphic copies of in . Similarly, also appears multiple times in , so isomorphic copies of a classical TS from can occur within an X-type stabilizer-induced TS. The difference between stabilizer-induced TSs that contain multiple copies inherited from and those inherited from lies in the role of the variable nodes: for TSs inherited from , the variable nodes of the classical TS become VV-type nodes and CC-type nodes connect different copies, whereas for TSs inherited from the roles are reversed. These observations are formalized in Appendix A.
To illustrate this, consider Figure 12a, which depicts the graph product of the classical TS from with a variable node from . We denote this graph by . The graph contains three isomorphic, pairwise disjoint copies, namely for . It is generated by CV-type stabilizer generators , , and (see Example 3 for a color-coded verification). These properties are formally stated in Lemma 6 in Appendix A. Analogous structural results for stabilizer-induced TSs extend to LP codes and can be established by a similar argument combined with [28, Lemma 4]. Lemma 1 quantifies, for the families considered there, how many CNOT failures during syndrome measurement are required to induce the corresponding stabilizer-induced TSs. As discussed in Section III, addressing such large stabilizer-induced structures via OSD can require increasing the OSD order with the number of inducing stabilizer generators, which is not viable for HGP/LP decoding.
Next, we illustrate a decoding approach that builds on good decoders for the parent LDPC codes and can resolve TSs like the one shown in Fig. 12a without relying on OSD and without requiring optimization of the measurement schedule.
A. Deriving QLDPC Decoders from Parent Code Decoders
We first describe properties of HGP/LP codes that allow us to derive decoders from those of the parent classical codes. Recall that the Tanner graph of an HGP (respectively, LP) code contains (respectively, ) disjoint copies of (respectively, ). As in Part 2 of Lemma 1, these copies of (respectively, ) are pairwise disjoint, and the union of their variable nodes is exactly the full set of VV-type variable nodes of . Every check node in is adjacent to at least one VV-type variable node. Thus, we can apply a parent-code decoder , originally defined on , independently to each embedded copy of to estimate errors at the corresponding VV-type variable nodes. Equivalently, this defines a decoder acting on the subgraph of induced by VV-type variable nodes, denoted . We denote this decoder by . Similarly, starting from a decoder defined on , we obtain a decoder that acts on the subgraph of induced by CC-type variable nodes, denoted . We view and as functions, written and , that take a syndrome vector as input and output error estimates on VV-type and CC-type variable nodes, respectively. A decoder for is then obtained by running on and on alternately until the estimated syndrome matches the measured syndrome.
This alternating procedure is effective only under the following condition: if an error pattern has support on both VV-type and CC-type variable nodes, then no check node is adjacent to both a VV-type variable node in the support of the error and a CC-type variable node in the support of the error. When decoding the TSs considered in this section, we enforce this condition by preprocessing (Steps 6–12 and Steps 18–24) that flips selected variable-node estimates so that every check node is adjacent exclusively to VV-type nodes in support of the error or exclusively to CC-type nodes in support of the error, but never to both. The next three lemmas formalize (i) when such a purely-VV syndrome (or purely-CC) compatible representative of the error pattern exists, and (ii) why the preprocessing steps in Algorithm 1 guarantee their existence for the stabilizer-induced TS families studied here. The decoding procedure is summarized in Algorithm 1. Following construction in (3), the error associated with the VV-type variable node is the -th entry of the error vector e. Similarly, the error associated with the CC-type variable node is the -th entry of e.

(a) The figure shows how the graph product of a TS from with a degree-three variable node from results in a graph that contains three isomorphic copies of the TS. These copies are for . To reduce clutter, only the part of the resulting graph containing Z-stabilizers is shown. The same graph is induced in by the X-type stabilizer generators , , and ; see Fig. 12b for two induced subgraphs. Since this structure is induced by CV-type stabilizer generators, it can be activated by hook errors introduced during their measurement.

(b) stabilizer-induced subgraphs generated by the CV-type stabilizer generators and within . Observe that all variable nodes in these induced subgraphs also appear in Fig. 12a. The CC-type variable node represented by is shared by both induced subgraphs.
Fig. 12: Illustration of a stabilizer-induced TS containing multiple copies of a classical TS from .
Figure 13 illustrates, by means of an example, the operation of the decoder described in Algorithm 1. These ideas are formalized in Lemmas 2 and 3. In particular, Part 2 of Lemma 2 shows that Steps 7 and 19 are sufficient to determine whether there exists an error pattern exclusively on VV-type or CC-type variable nodes that is consistent with the measured syndrome. When such an error pattern does not exist, Lemma 3 shows that the preprocessing steps in Steps 8–12 or Steps 20–24 ensure the existence of such an error pattern. The decoder then resolves the TSs considered in Lemma 1 and Lemma 6.
Lemma 2. Consider the stabilizer-induced TS in the Tanner graph of the HGP/LP code defined in Lemma 1, where is a check node in the parent Tanner graph , and is a subset of variable nodes in the parent Tanner graph . Furthermore, consider an error pattern consider as representative of its equivalent case in , where is the number of qubits (variable nodes) and is the row space of . Assume that does not fully contain the support of any logical operator. We ask whether there exists an error pattern and a vector such that and lies exclusively on the VV-type variable nodes.
-
If there exists at least one variable node such that all checks in are satisfied (i.e., there is no unsatisfied check in ), then such an error pattern exists.
-
If no such error pattern exists, then for every variable node there is at least one unsatisfied check node of the form , for some .
Proof. Let denote the support of the error pattern . Divide into two disjoint subsets and such that contains only VV-type variable nodes while contains only CC-type variable nodes. In Part 2 of Lemma 1, we have seen that each VV-type variable node of is contained in exactly one subgraph of the form for some , and that these subgraphs are pairwise disjoint, i.e.,
This implies that can be further divided into disjoint subsets, say for , such that is contained in the subgraph . Recall that we want to establish a condition that guarantees there is an error pattern whose support lies entirely on VV-type variable nodes and that is consistent with the measured syndrome. If , the claim is trivial. Therefore, in the remainder of the proof, we assume that .
Let us examine the conditions under which there exists a subgraph , for some , that does not have unsatisfied check nodes. Since , there exists at least one erroneous CC-type variable node. From Part 6 of Lemma 1, we know that any CC-type variable node in is connected to exactly one check node in for each . Moreover, if , then the only possible sources of unsatisfied check nodes in are erroneous CC-type variable nodes. Consequently, if contains at least one erroneous CC-type variable node and , then must contain at least one unsatisfied check node. So the possibility of

(a) Iteration 1: In the first two classical TSs (from the left), all VV-type variable nodes are in error; in the third, only the two VV-type variable nodes are in error; in the fourth, none are in error. The decoder is initialized with the estimated error vector set to zero, so the mismatched and measured syndromes coincide. For each , there is at least one unsatisfied check in . Hence, the decoder selects a neighbor of (say ) and flips the CC-type variable nodes connected to unsatisfied checks of form (i.e., the unsatisfied checks in ). The outer boundary of the CC-type variable nodes to be flipped is highlighted in red.

(b) Iteration 2: In the first iteration, only CC-type variable nodes connected to unsatisfied checks in the structure are flipped. Except for the one in the lower part, these nodes are not actually erroneous and thus become part of the mismatched error (inner black shapes), together with the VV-type variable nodes that are part of mismatched error in the first iteration. Flipping them toggles the status of their neighboring checks: previously satisfied checks become unsatisfied and vice versa. After this step, only the third copy of the classical TS has no unsatisfied checks. By Part 1 of Lemma 2, this implies the existence of an error pattern supported solely on VV-type variable nodes whose syndrome equals the mismatched syndrome. In the second iteration, a decoder that can correct any error pattern within a classical TS is applied to the VV-type variable nodes. Consequently, for each structure , with , the decoder estimates an error pattern on VV-type nodes (indicated by red borders) whose support matches the mismatched syndrome within that structure.

(c) Convergence to a stabilizer: In iteration 2, the variable nodes with a red outer border are identified as erroneous. Among these nodes, we update the set of estimated errors by removing those that belong to the mismatched error set and adding those that do not belong to it. From Part 5 of Lemma 1, it follows that the variable nodes in the mismatched error form a stabilizer, which shows that the decoder has converged to a stabilizer.
Fig. 13: Decoding iterations are shown for the stabilizer-induced TS in Fig. 11a, which contains multiple classical TSs. The decoder consists of two classical LDPC decoders: a decoder that acts on CC-type variable nodes and a second decoder that acts on VV-type variable nodes. The latter takes as input the mismatched syndrome (discrepancies between the measured and estimated syndromes) produced by the first decoder and is derived from a decoder designed to resolve classical TSs in the underlying classical LDPC code. Variable nodes with mismatched errors (discrepancies between actual and estimated errors) are shaded gray, as are the check nodes associated with mismatched syndromes.
Algorithm 1: Decoder that resolves TSs containing multiple copies of a TS inherited from a parent code.
Input: Measured syndrome , Maximum number of iterations Maxiter
Output: Error estimate
Data: Tanner graph , Decoders and .
Variables: Intermediate error estimate on VV-type (respectively, CC-type) variable nodes (respectively, ), Intermediate error estimate , Mismatched syndrome , Estimated syndrome
Initialization: ,
1 Run decoder on Tanner graph to obtain error estimate given syndrome , i.e., .
2 Update the estimated error .
3 Compute the updated mismatched syndrome .
4 if then
5 Declare that decoding is successful and Exit
6 for each do
7 if there exist more than variable nodes such that, for each of these nodes, there exists at least one VC-type check of the form , for some , that is unsatisfied (i.e., ) then
8 Randomly choose an unsatisfied VC-type check of the form for and
9 for each do
10 if then
11 Flip the error estimate on CC-type variable node , i.e., .
12 Update the syndrome vector accordingly
.
13 Run decoder on Tanner graph to obtain error estimate given syndrome , i.e., .
14 Update the estimated error .
15 Compute the updated mismatched syndrome .
16 if then
17 Declare that decoding is successful and Exit
18 for each do
19 if there exist more than check nodes such that, for each of these nodes, there exists at least one VC-type check of the form , for some , that is unsatisfied (i.e., ) then
20 Randomly choose an unsatisfied VC-type check of the form for and
21 for each do
22 if then
23 Flip error estimate on , i.e., .
24 Update syndrome
.
25 Repeat Steps 1 to 5.
is ruled out when does not have any unsatisfied check nodes. In what follows, we consider the case .
Now consider the case where has no unsatisfied check nodes and . Define an error pattern with non-empty support such that . Since we consider the full syndrome in , a zero-syndrome pattern must be a stabilizer or a logical operator. By assumption, cannot be a logical operator. Moreover, is contained in the single subgraph , and this subgraph does not contain a CV-type stabilizer: by the definition of the neighbor set of a CV-type check node, any CV-type stabilizer involves VV-type variable nodes with more than one value of the first coordinate. Hence, the syndrome corresponding to is non-zero. Next, we examine how erroneous variable nodes that are not contained in , but are contained in , alter the set of unsatisfied check nodes associated with the error pattern . The unsatisfied check nodes caused by the error vector can be written as , where is the subset of check nodes in whose parity-check equations are violated by the VV-type errors in . As for any distinct , , erroneous variable nodes in do not affect the number of unsatisfied check nodes in . This further implies that, given the error pattern , the set of unsatisfied check nodes in depends only on (i) the VV-type variable nodes in the subgraph and (ii) the CC-type variable nodes in , and is unaffected by VV-type variable nodes in for any with . Each check node in , for , has only one CC-type variable node as a neighbor, namely . This follows from the fact that the CC-type neighbors of in are of the form . Moreover, has only one neighbor in subgraph . Therefore, for subgraph to have no unsatisfied check nodes, all CC-type variable nodes in must be erroneous. Moreover, the fact that does not have any unsatisfied check nodes implies that the only erroneous CC-type variable nodes in are those in . Any other CC-type variable node outside this set would create an additional unsatisfied check node in , which would contradict the assumption that this subgraph has no unsatisfied check nodes.
Define the projection of onto , denoted by , as
Recall that . Now consider the stabilizer induced by CV-type stabilizer generators
Let s be the binary representation of this induced stabilizer. From Part 5 of Lemma 1, it follows that the set of CC-type variable nodes in is . We have shown earlier that . Therefore, the support of the vector contains only VV-type variable nodes, which proves the claim in Part 1. Since the statement in Part 2 is exactly the contrapositive of the statement in Part 1, its validity follows immediately and does not require a separate proof.
Using arguments similar to those in the proof of Lemma 2, we can derive conditions that guarantee the existence of an error pattern supported only on CC-type variable nodes within the stabilizer-induced TS , where and
. In particular, if there exists a check node such that there are no unsatisfied check nodes in , then there exists an error pattern, supported only on the CC-type variable nodes in , that matches the measured syndrome.
Lemma 3. Let be the Z-Tanner graph of an HGP/LP code obtained from the parent Tanner graphs and . Fix and , and assume that a decoder on successfully decodes every error pattern whose support is contained in the TS . Then, for any error pattern supported within the stabilizer-induced TS , Algorithm 1 (with preprocessing Steps 6–12) produces a syndrome-compatible error pattern supported only on the VV-type variable nodes in this TS, and a subsequent run of (derived from ) corrects the error.
Similarly, fix and , and assume that a decoder on successfully decodes every error pattern whose support is contained in the TS . Then, for any error pattern supported within , preprocessing Steps 18–24 produces a syndrome-compatible error pattern supported only on the CC-type variable nodes, and one subsequent run of (derived from ) corrects the error.
Proof. We prove the lemma for the case ; the case is analogous. According to Lemma 2, to complete the proof, it suffices to show that, after the preprocessing steps (6–12) in Algorithm 1, there exists a node such that all checks of the form , with , are satisfied. Indeed, by that lemma, the existence of such a node is equivalent to the existence of an error pattern supported only on VV-type variable nodes that is compatible with the measured syndrome. Moreover, since the error patterns considered here are supported within , the syndrome is zero outside this induced subgraph; for the decoders considered, this implies that no variable nodes outside this induced subgraph are flipped, and hence preprocessing does not create unsatisfied VC-type checks outside .
We now verify that the preprocessing steps (6–12) guarantee the existence of such a node. In Step 7, the algorithm examines whether there exist more than variable nodes such that, for each such variable node, there exists at least one unsatisfied VC-type check node of the form , with . If there are at most such variable nodes, then there exists a node for which all checks are satisfied, and we are done. Otherwise, assume that there are more than variable nodes such that, for each such variable node, there exists at least one unsatisfied VC-type check node of the form , with . Note that this subsumes the condition in Part 2 of Lemma 2 concerning the non-existence of error patterns solely supported on VV-type variable nodes. In this case, the algorithm proceeds to Step 8: it randomly selects an unsatisfied VC-type check node for . Fix the variable node , and for each unsatisfied check of the form , Step 11 flips the corresponding CC-type variable node . By Part 6 of Lemma 1, for each fixed and each , the CC-type variable node is adjacent to exactly one VC-type check node of the form in . Since flipping a variable node toggles the parity of every incident check node, flipping toggles the syndrome of , and it does not affect any check of the form with . (Such a flip may toggle checks of the form for , but this is irrelevant for our goal, which is to ensure the existence of at least one —namely —for which all checks are satisfied.) Therefore, since Step 11 flips for every unsatisfied check , after all these flips are performed, all checks of the form are satisfied. Thus, after preprocessing, for the specific node , chosen in Step 8, there are no unsatisfied checks of the form . Equivalently, after preprocessing there always exists a node , namely , such that no check is unsatisfied. By Lemma 2, the existence of this node implies the existence of an error pattern supported only on VV-type variable nodes that is compatible with the measured syndrome. By the assumption of the lemma, the decoder corrects any such error pattern within . Therefore, once preprocessing has produced such a node , Algorithm 1 will successfully correct every error pattern in . This completes the proof.
Remark 3. Lemma 3 is stated for a single decoder that resolves every error pattern supported on . When no single decoder achieves this property, the lemma extends directly with replaced by a set of decoders, under the assumption that every such error pattern is resolved by at least one member of the set. The preprocessing steps are executed once and the resulting estimates are shared across each decoder in the set. Then the member decoders in the set run on each of the embedded copies of the parent code's Tanner graph in . The guaranties of this section, and the adversarial results reported in Table I, are with respect to this assumption.
Next, we study stabilizer-induced TSs of the form . Here, is a subgraph of with , and is a subgraph of with . We first analyze the case in which is a tree in and is a TS in . This setting reduces to cases studied above when (i.e., ) or when (i.e., ). We now explain why these TSs must be analyzed. In the low-error regime, the slope of the logical error-rate curve is governed by the smallest TS on which the decoder fails to converge. Suppose that we wish to guarantee correction of every TS induced by an error pattern of weight at most (including both gate failures and data errors due to decoherence). Part 4 of Lemma 1 implies that any weight- error pattern that induces in also induces a weight- error pattern supported on in . We showed above that Algorithm 1 resolves for any , provided that we have a decoder that resolves in . However, this condition is necessary but not sufficient to guarantee correction of all TSs induced by error patterns of weight at most . For example, for some , if is induced in by an error pattern of weight less than , then by an argument analogous to Part 4 of Lemma 1 the TS can be induced by error patterns of weight less than . Such TSs are not addressed in Lemma 3. We must therefore analyze the more general product TS . Fortunately, Algorithm 1, with an amended Step 8, can correct these error patterns when is a tree. We prove this formally in the following Lemma 4. Before that, we discuss the intuition behind the need to amend Step 8 and how the amendment enables the decoder to correct such TSs. In the next section, we consider the case where is not a tree.
Recall the role of Steps 6–7 in Algorithm 1. For each check node , Step 7 bounds the number of subgraphs of the form that contain at least one unsatisfied check by . If this bound is not satisfied, Step 8 selects one such subgraph, and the subsequent steps toggle the error estimate on the CC-type variable nodes so that the selected subgraph has no unsatisfied checks. Under this condition, Lemma 2 implies that the syndrome is consistent with an error pattern supported only on VV-type variable nodes. This implication is the key step used in Lemma 3 to prove the correction of errors supported on .
For a TS of the form with a tree, one would like to apply the same argument by focusing on a leaf check node . This leaf check node has exactly one neighbor that is also adjacent to another check node in the tree. Because lies in both and , the syndrome on this shared slice can be influenced by errors in either of the subgraphs. Consequently, even if this shared subgraph has no unsatisfied checks after flipping CC-type variable nodes, Lemma 2 need not apply.
To address this, we amend Step 8 as follows. In the pass of the outer loop corresponding to a leaf check node (with shared neighbor ), instead of choosing a single unsatisfied VC-type check, we choose two distinct unsatisfied VC-type checks of the form and with , if they exist. For , we perform the preprocessing steps (Steps 8–12) using , then run , and test whether all VC-type checks in are satisfied, i.e., whether is zero on those checks. If the test fails for , we revert the CC-type flips performed in this attempt and repeat the procedure for . In the setting of Lemma 4, the second attempt always succeeds. Similarly, Step 20 can be amended to show the convergence of the decoder when is a TS and is a tree.
Lemma 4. Consider the Tanner graph obtained by the HGP/LP construction in Lemma 3. Define
where and are subgraphs in and , respectively.
Assume that one of these two subgraphs is a tree.
-
If is a tree and is a TS, assume that every has degree at least 5 in , i.e., , and that resolves . Then Algorithm 1, with the proposed amendment to Step 8, successfully decodes .
-
If is a tree and is a TS, assume that every has degree at least 5 in , i.e., , and that resolves . Then Algorithm 1, with the analogous amendment in Step 20, successfully decodes .
Proof. We prove only Part (1) of the lemma; Part (2) follows by symmetry, swapping the roles of the two factors and using the analogous amendment to Step 20.
Let be a tree in , and let be a leaf check node in this tree. Then there exists a unique shared neighbor such that is also adjacent to some other check node in . Moreover, every is not adjacent to any other check node in . Fix the pass of the outer loop in Steps 6–12 of Algorithm 1 indexed by . We claim that after this pass and the subsequent run of , all VC-type checks of the form with and are satisfied. We divide the proof into two cases depending on whether the condition in Step 7 is met.
If the condition in Step 7 is met, then by definition there are at most nodes that participate in an unsatisfied check of the form with . In particular (and using from the lemma assumptions), there exists at least two such that all checks with are satisfied. Moreover, since only the check nodes in can be affected by errors coming from , we can choose such a ; otherwise, every would participate in an unsatisfied check, forcing the condition in Step 7 to fail.
For such a choice of , the subgraph does not have unsatisfied VC-type checks. Moreover, since is not shared with any other check node in , the syndrome on this slice is not affected by errors in . Thus, Lemma 2 when applied to yields a syndrome-consistent error pattern supported only on VV-type variable nodes within . Since resolves , the subsequent run of corrects this pattern. In particular, all VC-type checks in are satisfied.
Otherwise, when the condition in Step 7 fails, we apply the amended Step 8. Specifically, we choose two unsatisfied VC-type checks of the form and with distinct . We first perform the preprocessing steps (Steps 8–12) using . If, after this preprocessing and the subsequent run of , all VC-type checks in are satisfied, then we are done. Otherwise, we revert the CC-type flips performed in this attempt and repeat the same procedure using . We now argue that the second attempt succeeds. Since the condition in Step 7 fails, at least nodes in participate in an unsatisfied check of the form with . Because , we have . Therefore, we can choose two unsatisfied checks of the forms and with distinct and , and hence select two distinct unsatisfied VC-type checks with endpoints and .
After the preprocessing steps (Steps 8–12) using , the slice has no unsatisfied VC-type checks (by construction of Steps 8–12). If , then the syndrome on this slice is unaffected by errors in since is not shared with any other check node in . Thus Lemma 2 applied to yields a syndrome-consistent error pattern supported only on VV-type variable nodes within . Since resolves , the subsequent run of corrects this pattern, and in particular all VC-type checks in become satisfied. Therefore, if the first attempt fails, we must have . Since is the unique shared neighbor of in the tree and , it follows that . In the second attempt we have , so the syndrome on is unaffected by errors in . Therefore, the same application of Lemma 2 and the subsequent run of show that all VC-type checks in become satisfied. We have thus shown that, after completing the pass corresponding to the leaf check node , including the subsequent run of , all VC-type checks incident to are satisfied. Hence, all VC-type checks within become satisfied, and we can peel from . Iterating this peeling argument over the strictly smaller remaining tree shows that the decoder is successful on all of , which completes the proof.
In Lemma 3 and Lemma 4, we showed that, under the stated degree/tree hypotheses, and using Algorithm 1 with the amended Step 8 and Step 20 when needed, decoders derived from the parent classical decoders can resolve certain stabilizer-induced TSs that contain multiple copies of a classical TS, provided the parent decoder already resolves the underlying classical TS. Thus, at least for this family of large stabilizer-induced structures, one can avoid decoder failures without designing an entirely new decoder from scratch. This is notable because in the circuit-level error model considered here, such large TSs can be induced by a small number of CNOT failures despite involving many variable nodes.
V. TSs in HGP and LP Codes from TSs of Two Parent LDPC Codes
Up to this point, we have focused on large TSs that arise when multiple copies of the same TS appear in a single parent LDPC code, and we have shown how to avoid the decoding failures they cause. Fixing these failures improves the logical error rate, but does not change its scaling with the physical error rate, because that scaling is determined by the lowest-weight error patterns. These lowest-weight error patterns can also come from composite TSs that combine trapping-set structures from both parent codes. In general, such composite TSs cannot be eliminated simply by reusing decoders inherited from the parent codes, especially when those decoders are not robust to noise in the syndrome. It is enough to concentrate on failures caused by TSs that contain TSs from one or both parent codes, because the analysis in [28] shows that all other error patterns can be corrected with an appropriate scheduled decoder (e.g., a left–right scheduled decoder). The following lemma describes several families of composite TSs that contain copies of TSs from each parent classical LDPC code and characterizes their structure.
Lemma 5. Let an HGP/LP code be constructed from two classical LDPC codes with Tanner graphs and . Let and denote the graphs obtained from and , respectively, by exchanging the roles of the variable and the check nodes. Denote by and the Tanner graphs corresponding to the X- and Z-stabilizer generators of the quantum code. Consider a TS in and a TS in . Similarly, consider a TS in and a TS in . Here, and are subsets of check nodes, and and are subsets of variable nodes, in and , respectively. (In Parts 1–3 below we only use and ; the other two TSs are introduced for symmetry.)
-
The subgraphs and , for and , in the Tanner graph have only one common node, namely the VC-type check node .
-
Define the subgraph
inside , where
-
is chosen as a subset of the variable nodes in such that no two nodes in share a common neighboring check node in , and
-
is chosen as a subset of the check nodes in such that no two nodes in share a common neighboring variable node in .
Then, the support of no X-type stabilizer generators or CV-type check contains more than one variable node of , implying that the number of CNOT faults required to induce is equal to the number of data errors required to induce it.
- Define the subgraph
inside , where and . The following statements hold.
(a) The subgraph is induced by the CV-type checks (i.e., X-type) in the set .
(b) There exist syndrome-measurement schedules (in general, different ones for different expressions) such that the number of CNOT faults required to induce
is upper-bounded by the minimum of the following quantities:
where denotes the number of data errors required to induce the trapping set in the Tanner graph .
Proof. To complete the proof of Part 1, we must show that for any and any , the subgraphs
intersect in only in the VC-type check node . First, consider the variable nodes. By construction, all variable nodes in the subgraph are of VV-type, while all the variable nodes in the subgraph are of CC-type. Hence, these two subgraphs do not share any variable nodes. Next, consider the check nodes. In subgraph , each check node has the form with . In subgraph , each check node has the form with . Therefore, the only check node that can possibly lie in the intersection of these two subgraphs is . Finally, since the variable node belongs to and the check node belongs to , the check node actually lies in both and . Thus, these two subgraphs intersect exactly in this VC-type check node, which completes the proof of Part 1.
Now consider two VV-type variable nodes, say and from . From the construction of it follows that . Furthermore, the lemma assumes that no two variable nodes in have a common check node as neighbor, which implies that the variable nodes and do not have a common check node as neighbor. A CV-type check node, say , can have both and as neighbors only if (since a CV-type check fixes the second coordinate) and the check node is a neighbor of both and , that is, . This is impossible because it contradicts the assumption of the lemma that no two variable nodes in share a common check-node neighbor.
An analogous argument applies to two CC-type variable nodes in , using the assumption that no two check nodes in share a common neighboring variable node in . Using this fact and following the same type of argument as in the proof of Part 5 of Lemma 1, we conclude that none of the variable nodes in is present in the support of more than one CV-type checks of the form with and . So any error during the measurement of these checks does not propagate to more than one variable nodes in . Consequently, the number of CNOT failures required to induce is equal to the number of data errors required to induce it, completing the proof of Part 2.
To show that the subgraph , defined in Part 3, is exactly the subgraph induced by the CV-type checks in
we must prove the following two statements: 1) Every variable node that appears in the support of a CV-type check from belongs to . 2) Conversely, every variable node in appears in support of at least one CV-type check from the above set. Proving both directions shows that the set of variable nodes of coincides exactly with the set of variable nodes that is in the support of these CV-type checks. Therefore, is the subgraph induced by these checks. The detailed argument is analogous to the proof of Part 3 of Lemma 1, so we do not repeat it here. Using a counting argument similar to that in the proof of Part 4 of Lemma 1, one can show that there exist syndrome-measurement schedules (in general, different ones for different expressions) such that the number of CNOT failures required to induce is upper-bounded by the minimum of the four quantities listed in Part 3(b). More explicitly, for each of the four expressions in Part 3(b), the schedule construction of Part 4 of Lemma 1 applies columnwise to the starred factor: for every node of the starred set, a schedule exists in which the required copies of the non-starred TS are corrupted using faults, and the stated multiplier counts the columns. The minimum over the four expressions follows because any single such construction suffices to induce . This completes the proof of Part 3.
Part 1 of Lemma 5 explains how TSs inherited from the two parent codes can combine to form a composite TS in an HGP/LP code. In particular, when the TSs from both parents are simultaneously active, decoders derived from the parent-code decoders can fail even if each parent decoder corrects its own TS in isolation. The reason is that the two component TSs can share check nodes. In that case, the syndrome bit at a shared check is determined jointly by errors from both components, so the syndrome pattern of the composite TS need not decompose into the syndrome patterns of the two parent TSs. The same mechanism underlies the composite TS families in Parts 2 and 3. Parts 2 and 3 further distinguish composite TSs that can be induced by a number of CNOT failures equal to the number of data errors required to induce them from those for which these numbers can differ (depending on the measurement schedule). This distinction is useful when designing decoders that provably eliminate all error patterns up to a target Hamming weight, which in turn fixes the slope of the logical error-rate curve in the error-floor regime.
We now illustrate the conclusions of Lemma 5 using the composite trapping-set examples in Fig. 14 and Fig. 15. In particular, Fig. 14a shows a TS in , and Fig. 14b shows a TS in . The composite TS in Fig. 14c illustrates Part 1: it contains one copy of each parent TS, and these two copies share the VC-type check node . When both copies are active, the parity bit at the shared check can

(a) A subgraph, denoted by , of the Tanner graph induced by . Subgraph behaves as a TS when the roles of variable and check nodes are interchanged.

(b) A subgraph, denoted by , of the Tanner graph induced by .

(c) Combination of the two classical TSs shown in (a) and (b), given by . In this combination, the copy of and the copy of share the check node . Erroneous variable nodes are shown with black inner shapes, as are unsatisfied checks. When the variable nodes of both and are in error, the shared check becomes satisfied. A decoder for the HGP code derived from the decoders that resolve these TSs when used to decode the classical components is not guaranteed to decode such combined TSs, since the sets of unsatisfied checks in the component TSs change when they are combined.
Fig. 14: Combining two TSs, each taken from a different parent code, to obtain a TS in the resulting HGP code.
change (or even cancel), so the composite syndrome no longer decomposes into the two component syndromes. Figure 15 illustrates the structural characterization in Parts 2–3: the composite TS contains multiple interconnected copies of the parent TS, and can be described as the subgraph induced by an explicit set of CV-type checks (equivalently, by a set of X-type stabilizer generators). This induced-subgraph viewpoint is what enables schedule-dependent counting arguments for how many CNOT faults are needed to realize such structures. Even when constructing decoders that fully resolve composite TSs directly from classical decoders is challenging, using decoders derived from the parent codes as an initial design step significantly simplifies the process. When run as described in Algorithm 1, these derived decoders already eliminate many decoding failures, thereby reducing the number of remaining cases that must be addressed explicitly in our decoder design.
The results of Sections IV-A and V together yield a design procedure targeting the dominant failure configurations in the error-floor regime. Given the operating regime of interest: (i) enumerate the TSs of the parent codes with small critical number; (ii) the arguments in Sections IV-A–V bound the number of circuit faults required to induce the corresponding product and composite TS families, and thereby identify which families can arise with few faults—families requiring substantially more faults, or error weights whose probability is negligible in the operating regime, require no treatment; (iii) design decoders for the dominant families via Lemmas 3 and 4; (iv) verify by adversarial error injection as in Section VII-A. We note that decoding approaches relying on post-processing or ensemble diversity possess no analogue of Step (ii). Without such a characterization of the failure mechanisms, one cannot identify which configurations dominate or certify that they have been addressed.
VI. HANDLING CNOT-FAILURE-INDUCED SYNDROME ERRORS WITHOUT ADDITIONAL NODES
The previous two sections connected CNOT faults to TSs and showed how to avoid the decoding failures they cause without adding extra nodes to the Tanner graph during decoding. Here we ask whether CNOT faults that introduce syndrome measurement errors (in addition to data errors), as described in Section III-B, can also be handled without introducing additional nodes. To illustrate the issue, consider the circuit in Fig. 10 for two rounds of X-stabilizer measurement. Suppose a faulty CNOT between data qubit and ancilla qubit introduces a Z error on . If the readout of the syndrome can also be faulty, a natural way to model this is to add explicit nodes that represent measurement errors (syndrome-bits), which yields the phenomenological Tanner graph in Fig. 16. A key observation is that a Z error on introduced during measurement has the same measured syndrome as a Z error present before measurement together with a syndrome-bit error on . More generally, a CNOT failure that manifests as a measurement error can often be reinterpreted as a data error plus one or more syndrome-bit errors. This suggests that explicit CNOT-fault nodes might be avoidable, but only at the cost of an increased effective rate of symptom noise. This tradeoff is different from the hook-error case, where explicit CNOT-fault nodes can be removed without increasing the effective noise. If measurement-induced CNOT faults are absorbed into syndrome-bit errors, then the decoder must tolerate additional syndrome noise, which typically requires increased temporal

Fig. 15: The stabilizer-induced trapping set , where and are TSs in and , respectively, is a check node in , is a variable node in , and , denote the subgraphs induced by these single nodes. Because has degree 3 in , the first product term contributes three copies of ; because has degree 4 in , the second contributes four copies of . These copies are interconnected through the check nodes adjacent to (i) the CC-type variable nodes with , and (ii) the VV-type variable nodes with . To reduce clutter, only the nodes connecting the copies of to those of are labeled. By arguments analogous to Part 3 of Lemma 1, is induced by the CV-type stabilizer generators in .
First round of syndrome measurement
Second round of syndrome measurement

Fig. 16: Tanner graph for two rounds of X-stabilizer measurements. Unfilled circles represent data-qubit errors, and rectangles represent X-stabilizer generators. The blue node indicates a possible Z error caused by a faulty CNOT between data qubit and ancilla in the first round, while gray nodes indicate measurement errors in the recorded syndromes. The syndrome pattern resulting from a CNOT failure between and is identical to the pattern produced by an initial Z error on together with a measurement error on , so the explicit CNOT-failure node is redundant. This figure is based on a CSS code rather than a QLDPC code, so the usual variable-node and check-node conventions for QLDPC Tanner graphs are not followed. The discussion applies to any CSS code, not only to QLDPC codes.

Fig. 17: TSs in the phenomenological Tanner graph. The nodes corresponding to data qubits and stabilizer generators are shown as white circles and rectangles, respectively. The nodes corresponding to the syndrome are shown in gray. The erroneous variable nodes and unsatisfied checks are shown in black. Note that two distinct error patterns can match the same set of unsatisfied checks: (1) one includes the data-qubit nodes that are originally in error, and (2) the other includes additional (non-data) nodes corresponding to syndrome-bit errors in addition to data-qubits that are not in error. Due to the existence of multiple explanations of the same syndrome, a message-passing decoder might fail to converge.
redundancy (more rounds) or increased spatial redundancy (a lower-rate data–syndrome code [44]–[46]). If, instead, one keeps explicit CNOT-fault nodes, the resulting graph typically contains additional short cycles (in particular, 4-cycles) that can degrade iterative-decoder performance; post-processing can mitigate this but increases decoding complexity and latency.
The phenomenological Tanner graph contains multiple time-slice copies of the stabilizer-measurement Tanner graph (see Fig. 16). Consequently, for a given measured syndrome, there can be multiple distinct error patterns consistent with that syndrome, which can prevent message-passing decoders from converging (Fig. 17). To reduce the risk of such failures, we run the decoder for a fixed number of iterations on one time slice, then switch to another time slice, and repeat, carrying over the current variable-node beliefs rather than reinitializing. Proceeding sequentially through time slices encourages the decoder to commit to a single consistent explanation of the syndrome rather than trying to satisfy multiple competing explanations simultaneously.
VII. SIMULATION RESULTS
In this section, we first validate our earlier claims using adversarial simulations: we inject errors confined to a specific TS and verify that the decoder, designed according to the principles in the previous sections, successfully avoids the corresponding decoding failure. We then simulate the logical error rate under stochastic noise to compare the proposed decoder with the state-of-the-art BP+OSD and beam search decoders. For these simulations, we use two LP codes, a [[1054, 140, ]] code and a [[775, 43, ]] code, both constructed via (3). The [[1054, 140, ]] LP code is obtained by using
while the LP code is obtained by using
in (3). Let us denote the classical Tanner graph obtained by lifting the base matrix B by G, and the Tanner graph obtained by exchanging the roles of variable and check nodes in G by . In general, LP and HGP codes are built from two (possibly different) classical codes, so we used superscripts to distinguish nodes belonging to each code's Tanner graph. In this section, however, we take both classical codes to be the same. Consequently, the superscripts are no longer necessary, and we omit them from the notation in what follows.
A. Adversarial noise model
We next consider stabilizer-induced TSs, which arise from the graph product of tree-like subgraphs of the parent code's Tanner graph. In the Tanner graph corresponding to the Z-type stabilizer generators, we enumerate error patterns supported on TSs induced by one, two, or three X-type stabilizer generators, restricting each pattern to lie either entirely on the VV-type qubits or entirely on the CC-type qubits. For two or more generators, we define the support as the union of their supports, i.e., a qubit is included if it is covered by at least one generator; qubits common to multiple stabilizer generators are therefore retained. We restrict each adversarial pattern to VV-type or CC-type variable nodes because, for the stabilizer-induced TS families illustrated in Section III, these two restrictions capture the two canonical degenerate failure modes: the erroneous variables lie entirely on one side (among VV and CC) of and all checks in the TS are unsatisfied.
We compare against a flooding-schedule min-sum decoder with OSD-CS post-processing of order 10. Its performance strongly depends on the soft output passed to OSD-CS. Using the a posteriori LLRs from the iteration with the fewest unsatisfied checks is the most favorable choice; even then, min-sum + OSD-CS (10) leaves approximately two fifths of the error patterns supported on a single stabilizer generator, and roughly one quarter of the error patterns supported on three stabilizer generators, uncorrected for the [[1054, 140, ]] code. Passing instead the LLRs after a fixed budget of 50 iterations is markedly worse: on the same code, essentially none of the error patterns supported on a single stabilizer generator and only 1% of the error patterns supported on three stabilizer generators are corrected. Similar failure rates are also observed for the [[775, 43, ]] code.
In contrast, a min-sum decoder run under the alternating (VV/CC) message-update schedule of [28] corrects all of these error patterns on both codes, without post-processing, and typically within two iterations. The beam-search decoder proposed in [31] would converge better if it were run with this alternating schedule on the phenomenological Tanner graph, which can resolve these stabilizer-induced TSs without needing additional rounds. The correlations introduced during syndrome extraction can alternatively be represented by augmenting the decoding matrix with one variable node per hook error—the correlated multi-qubit error left by a single ancilla fault. As discussed in Section III, this kind of augmentation is expected to improve convergence because it makes previously correlated faults explicit in the decoding graph. This also corrects every pattern considered, but at a considerably higher cost: the augmentation multiplies the number of variable nodes and raises the check degrees, increasing the complexity of both message passing and when used the Gaussian elimination and combination sweep in OSD. The alternating schedule reaches the same outcome on the unmodified graph and with no post-processing at all.
Next, we consider decoding failures in the Tanner graph caused by TSs of the forms and (see Section IV). Here, and are TSs in and , respectively, while and denote a check node and a variable node in . In the adversarial setting, we test Algorithm 1 using the derived decoders and constructed in Section IV-A. For TSs of the form , we take to be the min-sum decoder and use, as , a set of decoders derived from parent-code decoders. For TSs of the form , the roles of and are swapped, as in Section IV-A. For our experiments, we select to be the , , and TSs in for both LP codes and . In our experiments, it suffices to fix the check node in and to vary only . The reason is that the rule in Step 10, together with (derived from a parent-code decoder that resolves ), resolves the resulting TS independently of the specific choice of . We use the finite-alphabet iterative decoders (FAIDs) [17], described in Appendix B, to construct 4-bit decoders that avoid decoding failures in induced by these TSs. When ten 4-bit FAIDs are run as a set, they correct all enumerated error patterns for the code; for the code, a two-decoder FAID set suffices. The decoder-set sizes reported in this section (two for the code and ten for the code) reflect the differing TS neighborhood of the two parent Tanner graphs used to construct these two LP codes, not the blocklengths. Because the ability of a finite-precision decoder to resolve a TS depends on the neighborhood in which the TS is embedded, the search must be repeated for each code; it is, however, performed entirely offline and contributes nothing to decoding latency. For comparison, Table I reports success rates for BP (implemented here as flooding min-sum) combined with OSD-CS(10) under four variants: decoding on the original graph vs. the detector-error Tanner graph, and passing to OSD either the best a posteriori LLRs (early stopping—fewest unsatisfied checks) or the final-iteration LLRs . We contrast these baselines with the proposed decoder (FAID set + Algorithm 1), which requires neither decoding on the detector-error Tanner graph nor post-processing. We also compare the success rates of the beam-search decoder when its internal min-sum decoder is implemented using the alternating VV/CC schedule proposed in [28].
Table I highlights four takeaways consistent with the design principles developed in Sections III–V. First, on the code-level Tanner graph, BP+OSD can fail on these stabilizer-induced TS families, and the outcome can depend strongly on whether OSD is fed the final-iteration LLRs or the best-so-far LLRs . Second, decoding on the detector-error Tanner graph typically improves BP+OSD by making correlations due to hook errors explicit, although it does not uniformly dominate in every setting. Third, the proposed decoder achieves 100% success throughout the table because it is designed to avoid these failures, following the principles established in Section IV-A. Fourth, beam search achieves performance comparable to min-sum+OSD-CS, despite operating on the phenomenological Tanner graph (without additional variable nodes representing CNOT faults), consistent with its ability to mitigate failures associated with classical TSs.
We now consider decoding failures in the Tanner graph caused by combined TSs.
introduced in Section V. Unlike the TSs considered previously, Algorithm 1 is not guaranteed (see Section V) to avoid failures on these combined structures, even when and are derived from parent-code decoders that individually correct all error patterns on and . As discussed in Section V, the combined TS is still resolved if the underlying parent-code decoder used to derive or remains robust on or , respectively, even in the presence of a single erroneous syndrome bit. For the TSs that live in the transpose Tanner graph , we find empirically that min-sum is already robust to a single syndrome-bit error. We attribute this to the high row rank of the transpose parity-check matrix (for the parent codes underlying the LP constructions studied here) and the large minimum distance of the transpose code. For example, for the [155, 64, 20] parent code underlying the [[1054, 140, ]] LP code, the transpose code has only four codewords and minimum distance 62, and does not exhibit small harmful TSs that cause the min-sum decoder to fail on . Systematically enumerating TSs in is difficult, so we instead test elementary candidates built from a small number of overlapping cycles (which typically have a larger number of unsatisfied checks than comparable TSs on the side). We verify convergence by running the min-sum directly on , including with one flipped syndrome bit, without designing a specialized FAID for the transpose side. Therefore, as described in Section V, Algorithm 1 resolves TS of the form . Apart from this, we tested that these composite TSs get resolved in the presence of a one-bit syndrome error when we start with a round of followed by a round of . Both and are derived from min-sum decoders. This observation would help us minimize the number of decoders while using an ensemble
TABLE I: Decoding success rates (%) for error patterns supported inside a stabilizer-induced trapping set of an LP code, as a function of the number of simultaneously active copies of the classical TS , the error weight within each active copy, and the number of erroneous CC-type variable nodes drawn from the same TS. MS denotes the min-sum decoder, run with a flooding schedule for 50 iterations. For each TS, decoding success rate is reported for only the error patterns with and . circuit-level denotes decoding on the detector-error Tanner graph; code-level denotes decoding on the code Tanner graph itself. and denote the posteriori LLRs passed to the post-processor, taken respectively from the iteration with the fewest unsatisfied checks and from the last iteration. The subscript “cl” marks that the decoder is run on the detector-error Tanner graph. The last column is a scheduled beam decoder, run on the phenomenological detector graph ( rounds) with a layered schedule with beam width 16, and maximum number of rounds 24; a decoding counts as a success only if the returned residual is a stabilizer.
| Code | Weight | Copies | CC err. | MS + OSD-CS(10) | FAID set + Alg. 1 | Scheduled beam | ||||
|---|---|---|---|---|---|---|---|---|---|---|
| code-level | code-level | circuit-level | circuit-level | |||||||
| [[1054, 140]] | (5, 3) | 4 | 1 | 0 | 100.00 | 100.00 | 64.00 | 96.00 | 100.00 | 100.00 |
| 1 | 100.00 | 100.00 | 100.00 | 100.00 | 100.00 | 100.00 | ||||
| 3 | 0 | 100.00 | 92.00 | 100.00 | 76.00 | 100.00 | 100.00 | |||
| 1 | 100.00 | 0.00 | 92.00 | 100.00 | 100.00 | 100.00 | ||||
| 5 | 1 | 0 | 100.00 | 100.00 | 60.00 | 100.00 | 100.00 | 100.00 | ||
| 1 | 100.00 | 20.00 | 100.00 | 100.00 | 100.00 | 100.00 | ||||
| 3 | 0 | 100.00 | 0.00 | 100.00 | 60.00 | 100.00 | 40.00 | |||
| 1 | 100.00 | 0.00 | 80.00 | 60.00 | 100.00 | 50.00 | ||||
| (6, 4) | 5 | 1 | 0 | 97.22 | 29.26 | 48.33 | 98.89 | 100.00 | 100.00 | |
| 1 | 98.52 | 33.89 | 97.59 | 98.89 | 100.00 | 100.00 | ||||
| 3 | 0 | 81.30 | 0.00 | 77.78 | 55.93 | 100.00 | 96.67 | |||
| 1 | 79.07 | 0.19 | 84.26 | 69.07 | 100.00 | 88.33 | ||||
| 6 | 1 | 0 | 100.00 | 16.67 | 22.22 | 100.00 | 100.00 | 90.00 | ||
| 1 | 100.00 | 13.33 | 86.67 | 91.11 | 100.00 | 90.00 | ||||
| 3 | 0 | 83.33 | 0.00 | 41.11 | 12.22 | 100.00 | 10.00 | |||
| 1 | 61.11 | 0.00 | 50.00 | 24.44 | 100.00 | 20.00 | ||||
| (7, 3) | 6 | 1 | 0 | 100.00 | 13.81 | 34.29 | 88.57 | 100.00 | 90.00 | |
| 1 | 100.00 | 5.24 | 89.52 | 88.10 | 100.00 | 87.14 | ||||
| 3 | 0 | 69.05 | 0.00 | 43.81 | 19.05 | 100.00 | 42.86 | |||
| 1 | 61.90 | 0.00 | 64.29 | 38.10 | 100.00 | 30.00 | ||||
| 7 | 1 | 0 | 100.00 | 0.00 | 10.00 | 50.00 | 100.00 | 70.00 | ||
| 1 | 96.67 | 0.00 | 66.67 | 33.33 | 100.00 | 50.00 | ||||
| 3 | 0 | 6.67 | 0.00 | 26.67 | 0.00 | 100.00 | 0.00 | |||
| 1 | 26.67 | 0.00 | 33.33 | 3.33 | 100.00 | 0.00 | ||||
| [[775, 43]] | (5, 3) | 4 | 1 | 0 | 100.00 | 100.00 | 50.00 | 100.00 | 100.00 | 100.00 |
| 1 | 100.00 | 100.00 | 100.00 | 100.00 | 100.00 | 100.00 | ||||
| 3 | 0 | 100.00 | 90.00 | 90.00 | 90.00 | 100.00 | 100.00 | |||
| 1 | 100.00 | 100.00 | 100.00 | 90.00 | 100.00 | 100.00 | ||||
| 5 | 1 | 0 | 100.00 | 100.00 | 50.00 | 100.00 | 100.00 | 100.00 | ||
| 1 | 100.00 | 100.00 | 100.00 | 100.00 | 100.00 | 100.00 | ||||
| 3 | 0 | 100.00 | 100.00 | 100.00 | 100.00 | 100.00 | 0.00 | |||
| 1 | 100.00 | 50.00 | 100.00 | 100.00 | 100.00 | 60.00 | ||||
| (6, 4) | 5 | 1 | 0 | 100.00 | 100.00 | 50.00 | 100.00 | 100.00 | 100.00 | |
| 1 | 100.00 | 99.38 | 99.38 | 99.38 | 100.00 | 100.00 | ||||
| 3 | 0 | 90.74 | 90.74 | 91.98 | 78.40 | 100.00 | 93.33 | |||
| 1 | 93.21 | 93.83 | 95.68 | 88.27 | 100.00 | 81.67 | ||||
| 6 | 1 | 0 | 100.00 | 77.78 | 22.22 | 100.00 | 100.00 | 90.00 | ||
| 1 | 100.00 | 88.89 | 88.89 | 100.00 | 100.00 | 90.00 | ||||
| 3 | 0 | 74.07 | 88.89 | 77.78 | 55.56 | 100.00 | 50.00 | |||
| 1 | 88.89 | 92.59 | 85.19 | 66.67 | 100.00 | 50.00 | ||||
| (7, 3) | 6 | 1 | 0 | 100.00 | 61.90 | 23.81 | 96.83 | 100.00 | 97.14 | |
| 1 | 100.00 | 71.43 | 87.30 | 98.41 | 100.00 | 97.14 | ||||
| 3 | 0 | 85.71 | 84.13 | 73.02 | 47.62 | 100.00 | 30.00 | |||
| 1 | 95.24 | 73.02 | 76.19 | 50.79 | 100.00 | 28.57 | ||||
| 7 | 1 | 0 | 66.67 | 66.67 | 0.00 | 100.00 | 100.00 | 90.00 | ||
| 1 | 66.67 | 33.33 | 66.67 | 88.89 | 100.00 | 90.00 | ||||
| 3 | 0 | 66.67 | 22.22 | 22.22 | 11.11 | 100.00 | 20.00 | |||
| 1 | 66.67 | 33.33 | 55.56 | 44.44 | 100.00 | 20.00 | ||||
of decoders without compromising the logical error rate, as we will see in Section VII-A. This robustness is also true for the BP+OSD results on the detector-error Tanner graph: the OSD post-processor can tolerate a small number of syndrome-bit errors as the detector-error Tanner graph makes the relevant faults explicit.
Motivated by Section VI, we also tested the convergence of the decoder on the phenomenological Tanner graph, which includes nodes for data errors and syndrome-measurement errors but no explicit nodes for CNOT-induced faults. In all of the adversarial settings mentioned above, we flip one quarter of the syndrome bits associated with the TSs and observe that the decoder still converges to the correct estimate.
Remark 4. Classical TSs denoted by in also tend to be easier to resolve in the presence of a small number of syndrome-bit errors because they often involve higher check degrees (here, 4 and 5) and therefore a larger number of odd-degree checks than TSs denoted by in . If had only a small number of odd-degree checks, then one would likely need to optimize both and ; this is most relevant for higher-distance codes at modest blocklengths (a few hundred qubits). Finally, the decoder proposed in Section IV-A relies on the product structure of HGP/LP codes (disjoint isomorphic copies of the parent Tanner graphs). For code families without such parent-code decomposition (e.g., bivariate-bicycle codes [6]), the same high-level principles still apply (TS enumeration, targeted TS-resolving decoder design, and fault-node elimination in Section VI), but a corresponding structural characterization of stabilizer-induced TSs remains an open problem.
B. Stochastic noise model
In this section, we use the circuit-level depolarizing noise model of Section II-I. We perform three rounds of syndrome measurement and assume that the final round is perfect. Faults are sampled via the corresponding detector-error matrix (equivalently, the detector-error Tanner graph) of the measurement circuit. The baseline BP+OSD (min-sum + OSD-0) and the beam-search decoder of [31] run on the detector-error Tanner graph. We also evaluate two decoders that run on the phenomenological Tanner graph (with variable nodes for data-qubit errors and syndrome-bit errors, but without a dedicated variable node for each circuit-fault location): (i) the proposed layered min-sum ensemble decoder and (ii) a layered beam-search decoder. In both phenomenological-graph decoders, message passing uses alternating VV- and CC-type variable-node updates to mitigate decoding failures due to stabilizer-induced TSs. The layered min-sum ensemble uses two schedules: Schedule 1 augments min-sum with a VV-side FAID stage, while Schedule 2 uses a deeper layered min-sum schedule (no FAIDs). The layered beam-search decoder uses the same layered schedule as Schedule 1. In all cases, the variable-node priors are assigned according to the same circuit-level noise model; in particular, when decoding on the phenomenological Tanner graph, these priors depend on the measurement circuit and are obtained by marginalizing the circuit-fault probabilities represented in the detector-error Tanner graph. The beam-search decoder running on the detector-error Tanner graph does not use post-processing and therefore has a lower decoding cost than BP+OSD. However, unlike the layered decoders on the phenomenological Tanner graph, its message-passing step also runs on the detector-error Tanner graph and therefore has a higher per-iteration cost.
The two variants in the proposed ensemble share a layered min-sum decoder on the phenomenological Tanner graph. Here, copies refers to the embedded copies of the code-level Tanner graph. In each min-sum iteration, we use the following layered update order:
(i) all variable nodes representing syndrome-bit errors;
(ii) CC-type variable nodes in the odd copies;
(iii) VV-type variable nodes in the odd copies;
(iv) again, all variable nodes representing syndrome-bit errors;
(v) CC-type variable nodes in the even copies;
(vi) VV-type variable nodes in the even copies.
We run min-sum for 60 iterations under this schedule. This ordering separates message updates between odd and even copies. As discussed in Section VI, a given syndrome can admit distinct explanations across these copies, and alternating odd/even updates helps avoid the associated failures. Within each copy, alternating CC- and VV-type updates mitigates stabilizer-induced TSs (cf. Section V).
a) Schedule 1 (FAID-assisted VV stage): After min-sum, we apply the CC-side flipping (preprocessing) step of Algorithm 1. We then discard the VV-type portion of the current estimate, recompute the residual syndrome, and run the FAID set on each embedded copy of the parent Tanner graph inside (all FAIDs per copy, in parallel). For the [[1054, 140, ]] code, we run 10 FAIDs in parallel with a maximum of 80 iterations; for the [[775, 43, ]] code, we run 2 FAIDs in parallel with a maximum of 100 iterations. These FAID sets are those constructed in Section VII-A and collectively correct all adversarial error patterns reported in Table I.
b) Schedule 2 (deeper layered min-sum, no FAIDs): The second schedule uses the same layer ordering but performs a small number of sub-iterations within each layer before moving to the next; it does not use specialized parent-code FAIDs.
Compared to Algorithm 1, we use a fixed min-sum iteration budget and then (for Schedule 1) invoke the VV-side FAID stage. This is motivated by our current FAID library: we did not include a single FAID that corrects all error patterns on a TS, and TS-focused FAIDs can fail or diverge when additional errors occur in the TS neighborhood. This limitation is not fundamental, and the correctness arguments of Lemma 3 remain unchanged; see Remark 3. More generally, one could design an ensemble in which each member targets a specific TS family, as in Algorithm 1. Such an approach may require a larger ensemble to achieve comparable logical error rates unless designed carefully; we leave this direction for future work. We also simulate the beam-search decoder using the same layered schedule as Schedule 1 on the phenomenological Tanner graph. Since the beam-search decoder is robust to some classical TSs inherited from the parent Tanner code, it does not require a specialized mechanism to avoid TS-induced decoding failures.
In Figures 18a and 18b, we compare the logical error rates of the proposed layered decoders against BP+OSD and the beam-search decoder with the flooding schedule. The FAID-assisted layered decoder achieves a comparable logical error rate while offering substantially lower per-iteration decoding complexity, since it operates on the much smaller phenomenological Tanner graph and requires no post-processing. Among the tested methods, the beam-search decoder on the phenomenological Tanner graph with the proposed layered schedule achieves the best logical error rate. More broadly, these results support the design principle that, once decoding failures due to the dominant inherited (parent-code) trapping-set families are mitigated, running an iterative decoder on the phenomenological Tanner graph under the proposed layered schedule can achieve competitive logical-error-rate performance without decoding on the expanded detector-error Tanner graph. Determining
TABLE II: Iteration counts (latency proxy) for decoding the [[1054, 140, ]] LP code at depolarizing rate , over frames (same frame set for every decoder). We report the mean iteration count over all frames, the mean over the slowest of frames, and the maximum observed. Iterations are counted by treating message updates in different layers as separate iterations; this approximates latency when independent updates can be parallelized. For ensembles, members are assumed to run concurrently and a frame's iteration count is the minimum over members that return a syndrome-consistent estimate.
| Decoder | mean | slowest 0.1% | max |
|---|---|---|---|
| Ensemble 1 (with FAID) | 15.6 | 96 | 432 |
| Layered beam search | 15.6 | 140 | 9000 |
| Ensemble 2 (2× layered beam search) | 15.6 | 99 | 732 |
which decoder is best suited to a given quantum hardware platform requires further study. In particular, it remains to be seen whether beam-search can meet hardware-specific latency constraints and whether it retains comparable performance under finite-precision implementations. Finally, it would be interesting to optimize the FAID stage to close the remaining gap to layered beam-search, since FAIDs are naturally aligned with finite-precision implementations.
Next, we simulate both layered decoders on the [[1054, 140, ]] LP code for frames at depolarizing rate . We report the mean iteration count over all frames and over the slowest of frames. For latency accounting, we count message updates in different layers as separate iterations; this approximates latency when independent updates can be parallelized. The mean iteration count over all frames indicates the expected impact of decoding latency on quantum-algorithm runtime (e.g., for non-Clifford gates that depend on decoding outcomes). The mean iteration count over the slowest of frames indicates whether the decoder can mitigate the syndrome-backlog problem. We emphasize that these iteration counts are latency indicators rather than hardware-accurate latency estimates, since they do not account for implementation constraints (e.g., routing overheads or the cost of aggregating outputs across the ensemble). Both layered decoders converge on all frames. The iteration counts are reported in Table II. However, on the slowest decodable frames, the layered beam-search decoder requires a larger number of iterations under the schedule considered here. This iteration count can be reduced by using an alternative layered beam-search schedule. In particular, for our second layered beam-search configuration, we use the schedule of Section VII-A designed to resolve TS-induced failures. In general, these results suggest that an ensemble of decoders (or schedules) tailored to different TS mechanisms may help meet latency requirements.
VIII. CONCLUSION
This work provides guidelines for designing decoders that operate on phenomenological Tanner graphs, which do not include nodes for correlated errors. This avoids the additional decoding complexity introduced by such nodes. Although the logical error rates of the layered proposed decoders are better than those of BP+OSD, they can be further improved by optimizing the parent code decoders to resolve larger TSs. It would also be interesting to extend these design approaches from the quantum memory setting to the quantum computing setting.
APPENDIX A
STABILIZER-INDUCED TS IN
Lemma 6. Consider an HGP code constructed from two classical LDPC codes with Tanner graphs and . Let denote the Tanner graph of the -checks. Let be a subset of check nodes of , and let be the subgraph of induced by these check nodes (equivalently, the corresponding trapping-set subgraph in ). For a variable node , let be the subgraph it induces. Define
Then:
-
The subgraph contains pairwise isomorphic copies of , one for each . For a fixed , each check node corresponds to the CC-type variable node , and each variable node adjacent to corresponds to the VC-type check node .
-
These isomorphic copies are pairwise disjoint, i.e.,
for all distinct .
-
The subgraph is induced by the CV-type stabilizer generators contained in .
-
Assume that behaves as a TS in . Then there exists a measurement schedule such that a single CNOT failure in the measurement circuit of each CV-type stabilizer generator in can corrupt all variable nodes in of the isomorphic copies of contained in , for some .
-
Let denote the set of variable nodes of that have odd degree in the subgraph . The stabilizer support generated by linear combinations of stabilizer generators in then contains all CC-type variable nodes in , as well as all VV-type variable nodes in .
-
Each VV-type variable node in is adjacent to the VC-type check node in every isomorphic copy , for all .
Proof. Parts 1, 2, 3, and 6 follow from the corresponding parts of Lemma 1 by exchanging the roles of and ; equivalently, by exchanging the roles of VV-type and CC-type variable nodes and of VC-type checks indexed by (variable, check) and (check, variable) pairs. The arguments carry over verbatim under this exchange.
For Part 4, the construction of Part 4 of Lemma 1 applies with the following modification: for each generator , the fault is scheduled among the CNOT gates connecting the ancilla to the data qubits in , i.e., the CC-type portion of , rather than the VV-type portion

(a) Logical error rate as a function of the depolarizing noise rate for the LP code.

(b) Logical error rate as a function of the depolarizing noise rate for the code.
Fig. 18: Comparison of logical error rates under the circuit-level depolarizing noise model. The BP+OSD and beam-search baselines operate on the detector-error Tanner graph. We also consider two layered decoders that operate on the phenomenological Tanner graph (with variable nodes for data-qubit and syndrome-bit errors, but without a dedicated variable node for each circuit-fault location) and use alternating VV/CC variable-node updates to mitigate stabilizer-induced trapping-set failures. The first is the proposed layered min-sum ensemble, which uses two schedules: Schedule 1 augments min-sum with a VV-side FAID stage, while Schedule 2 uses a deeper layered min-sum schedule (no FAIDs). The second is a layered beam-search decoder; its message-passing uses the same layered schedule as Schedule 1 of the min-sum ensemble. In the legend, MS denotes min-sum, and the parenthetical tag (det-er or phen) indicates the Tanner graph on which message passing is performed. In all cases, variable-node priors are assigned from the same circuit-level noise model (with phenomenological-graph priors obtained by marginalizing circuit-fault probabilities from the detector-error graph). We use three rounds of syndrome measurement, with the final round assumed perfect.
used in Lemma 1. Choosing the schedule so that the gates CNOT(ancilla ), , are executed last, a single fault on the ancilla immediately before these gates corrupts the CC-type nodes . Repeating this for every corrupts all CC-type variable nodes in the isomorphic copies .
For Part 5, a VV-type node lies in the support of the generator if and only if ; the number of generators in containing it therefore equals the degree of in , which is odd exactly when . The CC-type supports are pairwise disjoint across distinct , since the first coordinates differ; hence each CC-type variable node of appears in exactly one generator and lies in the stabilizer support.
APPENDIX B FAID
A b-bit FAID, denoted by , is characterized by four parameters , where is the alphabet of possible message values, is the set of possible channel values, is the function that determines the message from variable node to check node based on the incoming messages at , is the function that determines the message from check node to variable node based on the incoming messages at . The message alphabet is defined as
where , for , are non-negative real numbers, and , with the ordering for . For a check node , the outgoing message from to a variable node is given by
where is the set of variable nodes connected to check node , is the sign function, and is the syndrome bit corresponding to check node . For a variable node of degree , the outgoing message from to a check node is given by
where denotes the vector of extrinsic incoming messages to , with and . The function is the quantizer defined as
where is a set of thresholds with for and for any . The coefficient depends on the incoming messages. When is a constant, the decoder reduces to the offset min-sum decoder. At the end of each iteration, the bit estimate associated with each variable node is determined by evaluating the sign of all incoming messages together with the channel value C. At the beginning of the decoding process, all messages from variable nodes to check nodes are initialized to C. In this work, we choose to be constant when v is a CC-type variable node, while it is made dependent on the incoming messages when v is a VV-type variable node.
REFERENCES
[1] S. B. Bravyi and A. Y. Kitaev, “Quantum codes on a lattice with boundary,” 1998. [Online]. Available: https://arxiv.org/abs/quant-ph/9811052
[2] J.-P. Tillich and G. Zémor, “Quantum LDPC codes with positive rate and minimum distance proportional to the square root of the blocklength,” IEEE Transactions on Information Theory, vol. 60, no. 2, pp. 1193–1202, Feb. 2014.
[3] N. P. Breuckmann and J. N. Eberhardt, “Balanced product quantum codes,” IEEE Transactions on Information Theory, vol. 67, no. 10, pp. 6653–6674, Oct. 2021.
[4] P. Panteleev and G. Kalachev, “Quantum LDPC codes with almost linear minimum distance,” IEEE Transactions on Information Theory, vol. 68, no. 1, pp. 213–229, 2022. [Online]. Available: https://doi.org/10.1109/TIT.2021.3119384
[5] A. Leverrier and G. Zémor, “Quantum tanner codes,” in 2022 IEEE 63rd Annual Symposium on Foundations of Computer Science (FOCS). IEEE, 2022, pp. 872–883. [Online]. Available: https://doi.org/10.1109/FOCS54457.2022.00117
[6] S. Bravyi, A. W. Cross, J. M. Gambetta, D. Maslov, P. Rall, and T. J. Yoder, “High-threshold and low-overhead fault-tolerant quantum memory,” Nature, vol. 627, no. 8005, pp. 778–782, 2024. [Online]. Available: https://doi.org/10.1038/s41586-024-07107-7
[7] Q. Xu, J. P. Bonilla Ataides, C. A. Pattison, N. Raveendran, D. Bluvstein, J. Wurtz, B. Vasić, M. D. Lukin, L. Jiang, and H. Zhou, “Constant-overhead fault-tolerant quantum computation with reconfigurable atom arrays,” Nature Physics, vol. 20, no. 7, pp. 1084–1090, 2024. [Online]. Available: https://doi.org/10.1038/s41567-024-02479-z
[8] L. Z. Cohen, I. H. Kim, S. D. Bartlett, and B. J. Brown, “Low-overhead fault-tolerant quantum computing using long-range connectivity,” Science Advances, vol. 8, no. 20, p. eabn1717, 2022. [Online]. Available: https://doi.org/10.1126/sciadv.abn1717
[9] H. Zhou, C. Zhao, M. Cain, D. Bluvstein, N. Maskara, C. Duckering, H.-Y. Hu, S.-T. Wang, A. Kubica, and M. D. Lukin, “Low-overhead transversal fault tolerance for universal quantum computation,” Nature, vol. 646, no. 8084, pp. 303–308, 2025. [Online]. Available: https://doi.org/10.1038/s41586-025-09543-5
[10] Q. Xu, H. Zhou, G. Zheng, D. Bluvstein, J. P. B. Ataides, M. D. Lukin, and L. Jiang, “Fast and parallelizable logical computation with homological product codes,” Physical Review X, vol. 15, no. 2, p. 021065, 2025. [Online]. Available: https://doi.org/10.1103/PhysRevX.15.021065
[11] B. M. Terhal, “Quantum error correction for quantum memories,” Reviews of Modern Physics, vol. 87, no. 2, pp. 307–346, Apr. 2015. [Online]. Available: https://doi.org/10.1103/RevModPhys.87.307
[12] P. Webster, L. Berent, O. Chandra, E. T. Hockings, N. Baspin, F. Thomsen, S. C. Smith, and L. Z. Cohen, “The pinnacle architecture: Reducing the cost of breaking rsa-2048 to 100 000 physical qubits using quantum LDPC codes,” 2026. [Online]. Available: https://arxiv.org/abs/2602.11457
[13] S. K. Chilappagari, S. Sankaranarayanan, and B. Vasić, “Error floors of LDPC codes on the binary symmetric channel,” in 2006 IEEE International Conference on Communications, vol. 3, 2006, pp. 1089–1094. [Online]. Available: https://doi.org/10.1109/ICC.2006.254892
[14] B. Vasić, D. V. Nguyen, and S. K. Chilappagari, Failures and Error Floors of Iterative Decoders. Oxford: Academic Press, 2014, ch. 6, pp. 299–341.
[15] X.-Y. Hu, E. Eleftheriou, and D.-M. Arnold, “Progressive edge-growth Tanner graphs,” in GLOBECOM’01. IEEE Global Telecommunications Conference (Cat. No.01CH37270), vol. 2, 2001, pp. 995–1001. [Online]. Available: https://doi.org/10.1109/GLOCOM.2001.965567
[16] J. Chen, A. Dholakia, E. Eleftheriou, M. P. C. Fossorier, and X.-Y. Hu, "Reduced-complexity decoding of LDPC codes," IEEE Transactions on Communications, vol. 53, no. 8, pp. 1288–1299, 2005. [Online]. Available: https://doi.org/10.1109/TCOMM.2005.852852
[17] D. Declercq, B. Vasić, S. K. Planjery, and E. Li, “Finite alphabet iterative decoders—part ii: Towards guaranteed error correction of LDPC codes via iterative decoder diversity,” IEEE Transactions on Communications, vol. 61, no. 10, pp. 4046–4057, 2013. [Online]. Available: https://doi.org/10.1109/TCOMM.2013.090513.120444
[18] N. Raveendran and B. Vasić, “Trapping sets of quantum LDPC codes,” Quantum, vol. 5, p. 562, Oct. 2021. [Online]. Available: https://doi.org/10.22331/q-2021-10-14-562
[19] J. Roffe, D. R. White, S. Burton, and E. Campbell, “Decoding across the quantum low-density parity-check code landscape,” Physical Review Research, vol. 2, no. 4, p. 043423, Dec. 2020. [Online]. Available: https://doi.org/10.1103/PhysRevResearch.2.043423
[20] P. Panteleev and G. Kalachev, “Degenerate quantum LDPC codes with good finite length performance,” Quantum, vol. 5, p. 585, 2021. [Online]. Available: https://doi.org/10.22331/q-2021-10-19-585
[21] J. Roffe, D. R. White, S. Burton, and E. Campbell, “Decoding across the quantum low-density parity-check code landscape,” Physical Review Research, vol. 2, no. 4, p. 043423, Dec. 2020. [Online]. Available: https://doi.org/10.1103/PhysRevResearch.2.043423
[22] T. Hillmann, L. Berent, A. O. Quintavalle, J. Eisert, R. Wille, and J. Roffe, “Localized statistics decoding for quantum low-density parity-check codes,” Nature Communications, vol. 16, no. 1, p. 8214, 2025. [Online]. Available: https://doi.org/10.1038/s41467-025-63214-7
[23] J. Du Crest, M. Mhalla, and V. Savin, “Stabilizer inactivation for message-passing decoding of quantum LDPC codes,” in 2022 IEEE Information Theory Workshop (ITW), 2022, pp. 488–493. [Online]. Available: https://doi.org/10.1109/ITW54588.2022.9965902
[24] D. Chytas, N. Raveendran, and B. Vasić, “Enhanced min-sum decoding of quantum codes using previous iteration dynamics,” 2025. [Online]. Available: https://arxiv.org/abs/2501.05021
[25] K.-Y. Kuo and C.-Y. Lai, “Refined belief propagation decoding of sparse-graph quantum codes,” IEEE Journal on Selected Areas in Information Theory, vol. 1, no. 2, pp. 487–498, 2020. [Online]. Available: https://doi.org/10.1109/JSAIT.2020.3011758
[26] A. K. Pradhan, N. Raveendran, N. Rengaswamy, X. Xiao, and B. Vasić, "Learning to decode trapping sets in QLDPC codes," in 2023 12th International Symposium on Topics in Coding (ISTC). IEEE, 2023, pp. 1–5. [Online]. Available: https://doi.org/10.1109/ISTC57237.2023.10273526
[27] S. Miao, A. Schnerring, H. Li, and L. Schmalen, “Neural belief propagation decoding of quantum LDPC codes using overcomplete check matrices,” 2023. [Online]. Available: https://arxiv.org/abs/2212.10245
[28] A. K. Pradhan, N. Raveendran, N. Rengaswamy, and B. Vasić, “Linear time iterative decoders for hypergraph-product and lifted-product codes,” 2025. [Online]. Available: https://arxiv.org/abs/2504.01728
[29] J. Chen, Z. Yi, Z. Liang, and X. Wang, “Improved belief propagation decoding algorithms for surface codes,” IEEE Transactions on Quantum Engineering, 2025. [Online]. Available: https://doi.org/10.1109/TQE.2025.3577769
[30] T. Müller, T. Alexander, M. E. Beverland, M. Bühler, B. R. Johnson, T. Maurer, and D. Vandeth, “Improved belief propagation is sufficient for real-time decoding of quantum memory,” 2025. [Online]. Available: https://arxiv.org/abs/2506.01779
[31] M. Ye, D. Wecker, and N. Delfosse, “Beam search decoder for quantum LDPC codes,” 2025. [Online]. Available: https://arxiv.org/abs/2512.07057
[32] A. Leverrier and R. Urbanke, “Approximating optimal decoding of quantum LDPC codes with narrow frontiers,” 2026. [Online]. Available: https://arxiv.org/abs/2606.20513
[33] A. Gu, J. Ataides, M. D. Lukin, and S. F. Yelin, “Scalable neural decoders for practical fault-tolerant quantum computation,” 2026. [Online]. Available: https://arxiv.org/abs/2604.08358
[34] M. A. Nielsen and I. L. Chuang, Quantum Computation and Quantum Information: 10th Anniversary Edition, 10th ed. Cambridge: Cambridge University Press, 2010.
[35] D. Gottesman, “Stabilizer codes and quantum error correction,” Ph.D. dissertation, California Institute of Technology, 1997.
[36] A. R. Calderbank and P. W. Shor, “Good quantum error-correcting codes exist,” Physical Review A, vol. 54, no. 2, pp. 1098–1105, 1996.
[37] D. Divsalar, C. Jones, S. Dolinar, and J. Thorpe, “Protograph based LDPC codes with minimum distance linearly growing with block size,” in Proceedings of IEEE GLOBECOM 2005, 2005.
[38] P.-J. H. S. Derks, A. Townsend-Teague, A. G. Burchards, and J. Eisert, "Designing fault-tolerant circuits using detector error models," 2024. [Online]. Available: https://arxiv.org/abs/2407.13826
[39] E. Dennis, A. Kitaev, A. Landahl, and J. Preskill, “Topological quantum memory,” Journal of Mathematical Physics, vol. 43, no. 9, pp. 4452–4505, 2002.
[40] M. Pacenti, N. Raveendran, and B. Vasic, “Trapping sets of detector error models,” arXiv preprint arXiv:2608.11516, 2026.
[41] S. Bhatnagar, M. Pacenti, N. Raveendran, D. Declercq, and B. Vasić, "Impulse decoding of quantum ldpc codes: Equivalence of degeneracy and code-shortening," arXiv preprint arXiv:2606.18240, 2026.
[42] T. Richardson and R. Urbanke, Modern Coding Theory. Cambridge: Cambridge University Press, 2008.
[43] A. G. Manes and J. Claes, “Distance-preserving stabilizer measurements in hypergraph product codes,” Quantum, vol. 9, p. 1618, 2025. [Online]. Available: https://doi.org/10.22331/q-2025-08-13-1618
[44] A. Ashikhmin, C.-Y. Lai, and T. A. Brun, “Quantum data-syndrome codes,” IEEE Journal on Selected Areas in Communications, vol. 38, no. 3, pp. 449–462, 2020. [Online]. Available: https://doi.org/10.1109/JSAC.2020.2969030
[45] E. T. Campbell, “A theory of single-shot error correction for adversarial noise,” Quantum Science and Technology, vol. 4, no. 2, p. 025006, 2019. [Online]. Available: https://doi.org/10.1088/2058-9565/ab0d0d
[46] E. Guttentag, A. Nemec, and K. R. Brown, “Robust syndrome extraction via BCH encoding,” in 2024 IEEE International Symposium on Information Theory (ISIT). IEEE, 2024, pp. 2281–2286. [Online]. Available: https://doi.org/10.1109/ISIT57864.2024.10619234