A blockBP decoder for the surface code
Aviad Kaufmann, Itai Arad
TL;DR
This work introduces blockBP, a belief-propagation–based contraction method for tensor-network representations of degenerate quantum maximal likelihood decoding (DQMLD) in the surface code. By partitioning the 2D tensor network into blocks and using boundary MPS messages with bond dimension χ, blockBP delivers parallelizable, near real-time capable DQMLD decoding. Numerical results in the code-capacity model show substantial improvements over the MWPM decoder for various code distances, with larger block sizes extending the regime of improved performance, and near-term potential for real-time hardware integration. The approach also lays groundwork for extensions to circuit-level noise and other 2D codes, and invites further enhancements via scheduling strategies or machine-learning–informed BP refinements.
Abstract
We present a new decoder for the surface code, which combines the accuracy of the tensor-network decoders with the efficiency and parallelism of the belief-propagation algorithm. Our main idea is to replace the expensive tensor-network contraction step in the tensor-network decoders with the blockBP algorithm - a recent approximate contraction algorithm, based on belief propagation. Our decoder is therefore a belief-propagation decoder that works in the degenerate maximal likelihood decoding framework. Unlike conventional tensor-network decoders, our algorithm can run efficiently in parallel, and may therefore be suitable for real-time decoding. We numerically test our decoder and show that for a large range of lattice sizes and noise levels it delivers a logical error probability that outperforms the Minimal-Weight-Perfect-Matching (MWPM) decoder, sometimes by more than an order of magnitude.
