• 3 mins read
  • Published

Modular Decoder Tackles Surface-Code Memory and Lattice Surgery

Daisy Shearer Physics and quantum technology editor Science.Report

Post by Daisy Shearer

Modular Decoder Tackles Surface-Code Memory and Lattice Surgery Science.Report © science.report
Modular Decoder Tackles Surface-Code Memory and Lattice Surgery © science.report

Tests using superconducting-processor data show a compact neural decoder can outperform matching on memory tasks and decode a real two-patch lattice-surgery operation; real-time processing remains an engineering hurdle

Surface-code error correction relies on interpreting repeated syndrome measurements to infer errors on encoded quantum information. Researchers from the University of Gothenburg and Chalmers University of Technology report a decoder that handled both memory tests and a real two-patch logical operation using data from superconducting processors.

A Shared Decoder

The team's preprint, Modular Neural Decoder for Surface Code Memory and Logic on Superconducting Processors, describes a modular neural network designed to keep its basic model compact as code distance grows. A shared local graph neural network processes syndrome events in 3×3×2 space-time clusters. Lightweight convolutional layers then combine those local results, while a gated recurrent unit (GRU) integrates information across time. The preprint is available on arXiv.

The reported parameter count stays at roughly two to three million for code distances d = 3, 5, 7, and 9. Increasing the distance adds small convolutional layers rather than enlarging the basic neural backbone. The authors contrast this design with dense recurrent Transformer decoders such as AlphaQubit, whose attention costs scale as O(d4) across code distance d and can require large computing resources for training.

Across Memory and Logic

The team evaluated the decoder on superconducting hardware data from IBM Quantum's Nighthawk r1 generation (ibm_berlin) and Google Quantum AI's below-threshold Sycamore processor. In IBM planar-memory tests, the decoder's reported logical error per round was 1.26% at distance 3, compared with 2.60% for minimum-weight perfect matching (MWPM). At distance 5, the reported rates were 2.48% for the neural decoder and 3.79% for MWPM.

For a test beyond preserving a single patch, the team tiled three overlapping GNN encoders across two logical patches and their intermediate measurement bridge. In a distance-3 Bell-state-preparation experiment using a ZZ merge on IBM hardware, the decoder achieved 58.2% correlation accuracy for the joint logical parity, compared with 56.2% using hardware MWPM and 54.2% for uncorrected raw data. The result extends the demonstration to a logical operation involving multiple patches; it does not establish real-time decoding during a running processor operation.

A related decoder analysis described how a Leiden University-Riverlane preprint linked unexpected logical failures to over-aggressive cross-subgraph reweighting. The studies address different decoder designs, but both make the relationship between decoding choices and surface-code performance part of the technical picture.

Latency Still Matters

The fixed-size model was trainable on a single commercial GPU, information from the researchers. That lowers the computing requirement for training the reported architecture, while leaving a separate constraint for operation: streaming error correction on superconducting processors requires inference in less than a microsecond to avoid syndrome backlogs during extended lattice-surgery circuits.

The authors identify compiling the modular GNN-RNN architecture onto dedicated FPGA or ASIC accelerators as a route to that throughput. The preprint includes models and training scripts on GitHub. Its demonstrations cover surface-code memory decoding and a two-patch ZZ-merge operation; they do not establish performance across a broad set of logical gates or a real-time, fault-tolerant processor.

Related articles