- The paper shows that joint BP and four-state BP yield identical CSS decoding performance when local X/Z error correlations are preserved.
- It establishes an invertible mapping between binary and F4 factor-graph representations, ensuring equivalent posterior inference and message updates.
- The work highlights that retaining joint prior information improves decoding over separate BP, enabling efficient adaptations of classical LDPC techniques.
Overview
This paper analyzes two distinct but equivalent factor-graph representations for the Sum-Product Algorithm (SPA, or Belief Propagation, BP) in the context of Calderbank-Shor-Steane (CSS) codes for quantum error correction. The focus is on syndrome decoding, which seeks to infer Pauli error configurations consistent with measurement outcomes. The core result is an equivalence theorem: joint BP on a coupled binary factor graph and four-state BP on an F4​ factor graph produce identical posterior beliefs, message updates, and decoding decisions up to relabeling and marginalization. This result clarifies the role of local X/Z correlations and demonstrates that, for CSS codes, the binary factor-graph representation is both natural and sufficient for representing all channel correlations, challenging the widespread association of four-state (quaternary) BP with improved correlation handling.
Factor-Graph Structures for CSS Codes
CSS codes are defined by two binary check matrices, HX and HZ, operating on n physical qubits. The standard approach to syndrome decoding involves calculating the posterior probability of Pauli errors given the syndrome. In the factor-graph formalism, this factorization can be represented in two ways:
- Coupled Binary Factor Graph (Joint BP):
- The variables are pairs (xj​,zj​), for xj​,zj​∈F2​, representing X and Z-components of Pauli errors.
- The local factor Qj​(xj​,zj​) captures the joint prior for physical qubit X/Z0, including all local channel correlations.
- Tanner graphs for X/Z1 and X/Z2 are connected locally at each qubit by X/Z3.
- SPA proceeds on this factor graph, updating variable-to-factor and factor-to-variable messages using the full joint local information.
- Four-State Factor Graph (X/Z4 or Pauli Label, Four-State BP):
- The pair X/Z5 is relabeled as X/Z6, where X/Z7.
- Nodes represent single four-state variables per qubit; the prior is X/Z8, corresponding to the same joint prior in the new label.
- Check nodes depend on appropriate binary projections of X/Z9, i.e., HX0 or HX1 as needed for HX2 or HX3.
- SPA proceeds analogously, with all local structure preserved.
An alternative, less expressive baseline is separate BP, where the local prior HX4 is replaced by marginals HX5 and HX6. This approach discards HX7 correlations, and its two decoders are completely disconnected.
Theoretical Results: Equivalence of Joint BP and Four-State BP
A formal equivalence theorem demonstrates that joint BP (binary factor graph with joint prior) and four-state BP (HX8 factor graph) perform the same computation for CSS posterior inference, up to an invertible relabeling and marginalization of messages. Specifically:
- The posterior weights assigned to any error configuration are identical under the mapping HX9.
- Each sum-product message in the four-state representation, when marginalized over the unused binary component, corresponds exactly to its binary counterpart.
- The variable node beliefs in both representations coincide after relabeling, ensuring identical hard decisions when applying MAP selection.
- The entire SPA message-passing process is preserved; not just the final estimates, but all intermediate messages and recursion steps.
The proof leverages the observation that, for CSS codes, check constraints in the four-state graph depend on only one binary component per node and can be separated. Therefore, summing out the irrelevant component in variable-to-check messages under SPA exactly produces the coupled-binary update.
Numerical and Algorithmic Implications
- Local HZ0 Correlations: Both representations fully capture and utilize local channel correlations between HZ1 and HZ2 errors at each qubit, provided the joint prior HZ3 is retained.
- Complexity: Both joint BP and four-state BP compute with the same information content. The choice of representation (binary or quaternary) affects only the state labeling—not decoding strength or accuracy.
- Message Updates: The paper presents log-likelihood-ratio (LLR) domain formulas for joint BP, facilitating efficient implementation and confirming that all standard practical SPA/PB optimizations (variable/factor scheduling, log-domain updates) apply straightforwardly to the coupled binary representation.
Practical and Theoretical Implications
The result refines the common understanding of decoding quantum LDPC codes:
- CSS Codes: For CSS codes, the coupled binary factor graph with the joint local prior is the most natural factor-graph representation, preserving both the Tanner graph structure and all local correlations. There is no advantage to representing the problem in HZ4; the "quaternary" BP is just a relabeling.
- General Stabilizer Codes: For non-CSS stabilizer codes, checks generally couple both HZ5 and HZ6 components nonlocally, and a quaternary or higher-field factor-graph representation is indeed natural, as joint/coupled binary structure may not capture correlations arising from non-CSS constraints.
- Algorithm Design: Optimizations and analysis techniques from the classical LDPC literature (density evolution, irregular ensemble design, etc.) carry seamlessly to joint BP for quantum LDPC codes, provided the joint prior is retained.
- Comparison to Separate BP: The wide practice in quantum LDPC decoding literature of using "binary BP" as separate BP—with independent decoders for HZ7 and HZ8—may discard correlation information and lead to suboptimal decoding in correlated Pauli channels. This work clarifies that binary representation alone is not the source of suboptimality, but rather the loss of joint prior information.
Future Directions
- Implementation: The joint BP representation facilitates efficient message scheduling and leverages existing classical BP infrastructure, suggesting practical speedups or memory reductions for syndrome decoders in CSS-based fault-tolerant quantum codes.
- Code Design: Understanding the equivalence allows optimization and ensemble design techniques developed for binary LDPC codes to be adapted for quantum CSS codes with full fidelity.
- Beyond CSS: The sharp distinction elucidated in this work motivates the development of similarly natural and efficient graphical decoding formulations for non-CSS quantum codes and for general Pauli channels.
Conclusion
This paper rigorously delineates the relationship between binary and four-state BP for CSS syndrome decoding. It establishes that, as long as the joint channel statistics are respected in the factor graph, binary joint BP and four-state BP are algorithmically identical for CSS codes. The distinguishing feature for accurate quantum LDPC decoding is the retention of local HZ9 error correlations, not the superficial use of binary or quaternary messages. These results support adopting the coupled binary factor-graph perspective as the standard for CSS codes, with implications for both practical decoder implementation and the interpretation of simulation results in the quantum LDPC literature.