Improved decoding algorithms for surface codes under independent bit-flip and phase-flip errors
Louay Bazzi
TL;DR
The paper advances exact decoding for toric, planar, and rotated surface codes under independent X/Z noise by introducing geometry-preserving reductions of SMW to minimum-weight perfect matching on decorated graphs and by developing FKT-based SMLC decoders via Pfaffian evaluations. Planar separators enable $O(n^{3/2}\log n)$ time for SMW on toric/planar/rotated codes and place planar/rotated SMLC in $\mathrm{NC}$ with $O(n^{\omega/2})$ arithmetic (bit complexity $\tilde{O}(n^{\omega/2+1})$); toric SMLC remains polynomial with $O(n^{3})$ arithmetic due to genus-1 complications. The framework rests on Fisher gadgets, dual-cycle representations, and MacWilliams duality, connecting decoding to classical combinatorial routines such as MWPM, Pfaffian evaluations, and determinant computations. Extensions to depolarizing noise and open questions about Pfaffian signs and simple $D$-joins highlight future directions toward fully efficient joint decoding under correlated noise. Overall, the work provides a unified, geometry-conscious approach that substantially speeds exact decoding and reveals deep connections between quantum error correction, planar graph theory, and algebraic methods.
Abstract
We study exact decoding for the toric code and for planar and rotated surface codes under the standard independent \(X/Z\) noise model, focusing on Separate Minimum Weight (SMW) decoding and Separate Most Likely Coset (SMLC) decoding. For the SMW decoding problem, we show that an \(O(n^{3/2}\log n)\)-time decoder is achievable for surface and toric codes, improving over the \(O(n^{3}\log n)\) worst-case time of the standard approach based on complete decoding graphs. Our approach is based on a local reduction of SMW decoding to the minimum weight perfect matching problem using Fisher gadgets, which preserves planarity for planar and rotated surface codes and genus~\(1\) for the toric code. This reduction enables the use of Lipton--Tarjan planar separator methods and implies that SMW decoding lies in \(\mathrm{NC}\). For SMLC decoding, we show that the planar surface code admits an exact decoder with \(O(n^{3/2})\) algebraic complexity and that the problem lies in \(\mathrm{NC}\), improving over the \(O(n^{2})\) algebraic complexity of Bravyi \emph{et al.} Our approach proceeds via a dual-cycle formulation of coset probabilities and an explicit reduction to planar Pfaffian evaluation using Fisher--Kasteleyn--Temperley constructions. The same complexity measures apply to SMLC decoding of the rotated surface code. For the toric code, we obtain an exact polynomial-time SMLC decoder with \(O(n^{3})\) algebraic complexity. In addition, while the SMLC formulation is motivated by connections to statistical mechanics, we provide a purely algebraic derivation of the underlying duality based on MacWilliams duality and Fourier analysis. Finally, we discuss extensions of the framework to the depolarizing noise model and identify resulting open problems.
