Table of Contents
Fetching ...

SAQ: Stabilizer-Aware Quantum Error Correction Decoder

David Zenati, Eliya Nachmani

TL;DR

This work introduces SAQ-Decoder, a unified quantum error-correction decoder that blends transformer-based learning with constraint-aware post-processing to achieve near-ML accuracy while scaling linearly with syndrome size. It employs a dual-stream transformer with asymmetric attention to separately process local syndrome constraints and global logical degeneracy, coupled with a differentiable logical-centric loss and a constraint-projected nullspace descent to enforce syndrome consistency. Across toric, rotated surface, color, and repetition codes under multiple noise models, SAQ-Decoder attains near-ML thresholds and consistently outperforms both neural and classical baselines, with strong parameter efficiency and scalability. The approach promises practical fault-tolerant quantum computing by delivering high decoding performance at realistic computational costs.

Abstract

Quantum Error Correction (QEC) decoding faces a fundamental accuracy-efficiency tradeoff. Classical methods like Minimum Weight Perfect Matching (MWPM) exhibit variable performance across noise models and suffer from polynomial complexity, while tensor network decoders achieve high accuracy but at prohibitively high computational cost. Recent neural decoders reduce complexity but lack the accuracy needed to compete with computationally expensive classical methods. We introduce SAQ-Decoder, a unified framework combining transformer-based learning with constraint aware post-processing that achieves both near Maximum Likelihood (ML) accuracy and linear computational scalability with respect to the syndrome size. Our approach combines a dual-stream transformer architecture that processes syndromes and logical information with asymmetric attention patterns, and a novel differentiable logical loss that directly optimizes Logical Error Rates (LER) through smooth approximations over finite fields. SAQ-Decoder achieves near-optimal performance, with error thresholds of 10.99% (independent noise) and 18.6% (depolarizing noise) on toric codes that approach the ML bounds of 11.0% and 18.9% while outperforming existing neural and classical baselines in accuracy, complexity, and parameter efficiency. Our findings establish that learned decoders can simultaneously achieve competitive decoding accuracy and computational efficiency, addressing key requirements for practical fault-tolerant quantum computing systems.

SAQ: Stabilizer-Aware Quantum Error Correction Decoder

TL;DR

This work introduces SAQ-Decoder, a unified quantum error-correction decoder that blends transformer-based learning with constraint-aware post-processing to achieve near-ML accuracy while scaling linearly with syndrome size. It employs a dual-stream transformer with asymmetric attention to separately process local syndrome constraints and global logical degeneracy, coupled with a differentiable logical-centric loss and a constraint-projected nullspace descent to enforce syndrome consistency. Across toric, rotated surface, color, and repetition codes under multiple noise models, SAQ-Decoder attains near-ML thresholds and consistently outperforms both neural and classical baselines, with strong parameter efficiency and scalability. The approach promises practical fault-tolerant quantum computing by delivering high decoding performance at realistic computational costs.

Abstract

Quantum Error Correction (QEC) decoding faces a fundamental accuracy-efficiency tradeoff. Classical methods like Minimum Weight Perfect Matching (MWPM) exhibit variable performance across noise models and suffer from polynomial complexity, while tensor network decoders achieve high accuracy but at prohibitively high computational cost. Recent neural decoders reduce complexity but lack the accuracy needed to compete with computationally expensive classical methods. We introduce SAQ-Decoder, a unified framework combining transformer-based learning with constraint aware post-processing that achieves both near Maximum Likelihood (ML) accuracy and linear computational scalability with respect to the syndrome size. Our approach combines a dual-stream transformer architecture that processes syndromes and logical information with asymmetric attention patterns, and a novel differentiable logical loss that directly optimizes Logical Error Rates (LER) through smooth approximations over finite fields. SAQ-Decoder achieves near-optimal performance, with error thresholds of 10.99% (independent noise) and 18.6% (depolarizing noise) on toric codes that approach the ML bounds of 11.0% and 18.9% while outperforming existing neural and classical baselines in accuracy, complexity, and parameter efficiency. Our findings establish that learned decoders can simultaneously achieve competitive decoding accuracy and computational efficiency, addressing key requirements for practical fault-tolerant quantum computing systems.

Paper Structure

This paper contains 19 sections, 3 theorems, 46 equations, 10 figures, 4 tables, 1 algorithm.

Key Result

proposition A.1

For all $y\in\mathbb{R}$,

Figures (10)

  • Figure 1: Architecture of SAQ-Decoder.
  • Figure 2: Toric code - depolarizing noise model results
  • Figure 3: Toric code - independent noise model results
  • Figure 4: Rotated surface code results
  • Figure 5: Error threshold analysis across topological codes and noise models.
  • ...and 5 more figures

Theorems & Definitions (6)

  • proposition A.1: Sigmoid–tanh identity
  • proof
  • proposition A.2: Bernoulli parity distribution
  • proof
  • proposition B.1: Existence and constructive computation of a left inverse over GF(2)
  • proof