arXiv:2611.07144quant-phNov 2026

Manuscript Offprint

arXiv:2611.07144

Dithered Belief Propagation for Real-Time Quantum Memory Decoding

Zhengyu Cai, Mohamad Ali Jarkas, Bokun Zhao, Warren J. Gross

Zhengyu Cai, Mohamad Ali Jarkas, Bokun Zhao, and Warren J. Gross

Department of Electrical & Computer Engineering

McGill University

Montreal, QC, Canada

{zhengyu.cai, mohamad.jarkas, bokun.zhao}@mail.mcgill.ca, warren.gross@mcgill.ca

Abstract—We introduce dithered belief-propagation decoding for circuit-level quantum memory to mitigate the oscillations and trapping behavior that limit standard belief-propagation (BP) decoders for qLDPC codes. Our approach combines a quantum-adapted sign-flip mechanism with chained randomized prior perturbation. Evaluated under circuit-level noise on the distance-11 rotated surface code and the distance-12 bivariate-bicycle code, the proposed dithered decoder significantly outperforms BP and BP+OSD+CS-10. The proposed decoder achieves accuracy comparable to or better than state-of-the-art Relay-BP, especially at higher physical error rates, while trading a moderate increase in additions for about 98% fewer multiplications on average and eliminating node-level RNGs. These results suggest that dithering is a promising approach toward real-time decoding of quantum memories.

Index Terms—qLDPC codes, belief propagation decoding, quantum error correction

I. INTRODUCTION

Fault-tolerant quantum computation relies on quantum error correction to protect logical information against the noise affecting physical qubits, gates, measurements, and idle operations [1], [2]. A fundamental requirement for fault tolerance is quantum memory: the continuous active preservation of an encoded logical state over multiple error-correction cycles [3]. In practice, this protection requires a classical decoder that processes the syndrome data produced by repeated stabilizer measurements and outputs corrections quickly and accurately enough to keep pace with the quantum device [4].

Quantum LDPC codes have recently emerged as promising candidates for low-overhead fault tolerance [5], [6], but their decoding remains difficult [7]. Unlike simpler settings where some classical decoding ideas work well, qLDPC decoding graphs contain loops, symmetries, and degeneracies that cause standard belief propagation to oscillate, stall, and never converge, especially under circuit-level noise [8], [9].

Minimum-weight perfect matching (MWPM) [10], [11] is a natural reference point because it delivers high decoding accuracy for surface code [12] architectures and has very fast CPU implementations. Its strength lies in exploiting the pairing structure of detection events, making it especially effective for topological codes [13]–[15] whose decoding graphs exhibit a well-aligned geometric structure. The limitation however is that this advantage does not transfer cleanly to general qLDPC circuit decoding due to the absence of suchstructure [11], [16].

For general qLDPC codes, a major breakthrough was the introduction of BP+OSD, where ordered statistics decoding post-processes the output of an non-convergent belief-propagation run using reliability information and Gaussian elimination [17], [18]. This approach was historically important because it enabled successful decoding in much of the qLDPC landscape and became a widely used gold-standard baseline. Its weakness is computational cost: OSD depends on expensive matrix operations, especially Gaussian elimination, which make it slow even on CPUs and particularly unattractive for low-latency real-time implementations [19], [20]. Therefore, BP+OSD should be framed as a strong accuracy-oriented baseline, but one whose heavy post-processing motivates the search for decoders without needing Gaussian elimination while retaining comparable performance.

There had already been substantial effort to suppress trapping-set and oscillation pathologies while staying within a message-passing framework. Classical dithered BP [21] is an early example: it introduces randomized perturbations such as random sign flips and randomized initial states to escape BP failure modes, and was explicitly designed to reduce error floors with minimal hardware overhead rather than through OSD-like post-processing. In the qLDPC setting, work on enhanced Min-Sum [22] considered the oscillatory behavior of Min-Sum on symmetric stabilizers of two-block CSS codes and proposed an iteration-dynamics-memory variant in which past messages are reused and, when consecutive variable-to-check messages disagree in sign, the current and previous messages are combined to dampen the oscillation. They report large gains over normalized Min-Sum and even slight improvements over BP+OSD-0 [18], i.e., OSD with no combination sweep, on binary-symmetric-channel bivariate-bicycle benchmarks while retaining linear complexity. However, these efforts still did not establish a realistic circuit-level alternative to BP+OSD for general qLDPC decoding.

Recent work [23], [24] by IBM has shown that one does not need to rely on OSD-style post-processing to exceed BP+OSD-level decoding performance. Relay-BP demonstrates this by augmenting belief propagation with disordered memory strengths and ensembling, achieving substantially better performance than BP+OSD+CS-10 on bivariate-bicycle benchmarks [6]. As a result, Relay-BP provides a natural modern baseline for message-passing-based qLDPC quantum-memory

Figure

Fig. 1. The proposed qDither Tanner graph architecture.

decoding [25]. Instead of using a fixed prior term throughout the iterations, Relay-BP recomputes a memory-weighted bias at every timestep. This extra repeated per-iteration update makes Relay-BP structurally more involved and diverges from simple, hardware-friendly primitives that Min-Sum provides.

In this work, we introduce an enhanced quantum variant of the dithered Min-Sum decoder that conquers non-converging behavior of belief propagation while retaining the simplest message-passing primitives.

Our contributions are listed as follows:

  • We propose qDither, a quantum dithered min-sum decoding algorithm that outperforms Relay-BP on surface code and bivariate-bicycle code (Gross code) at higher noise levels.

  • We show that qDither eliminates 98% of the multiplications in Relay-BP at the cost of a moderate increase in additions, and requires minimal augmentation to the standard syndrome-based Min-Sum message-passing structure making it more suitable for real-time decoding implementation.

References (37)