Neural decoder Rapids keeps up with quantum errors, authors say

In short

Why does quantum error correction need to be so fast?

A fault-tolerant quantum computer protects its data by spreading each logical qubit over many physical qubits and repeatedly measuring check operators. The stream of results, called syndromes, shows where errors probably happened. A classical program, the decoder, reads the syndromes and decides how to correct them.

The authors name three requirements. The decoder's throughput must match the rate at which syndromes arrive, because one that falls behind builds up a backlog that grows without bound. Its latency, the time to return a decision, limits how fast many quantum algorithms can run. And it must be accurate, because a less accurate decoder has to be compensated with larger codes and more physical qubits.

Superconducting processors are the hardest case. The paper says they finish a round of syndrome extraction roughly every microsecond. According to the authors, decoders that keep up with that rate have so far given up much of their accuracy, and no neural decoder had kept pace with a one-microsecond round beyond distance 11 (distance is a measure of code size). They also note that the real-time variant of Google DeepMind's AlphaQubit 2 decoder has latencies of up to a millisecond.

What Rapids does differently

(This section is our plain-English summary of the paper's method.)

Neural decoders are accurate and highly parallel, but earlier ones mostly processed a whole experiment at once, or ran on machine-learning accelerators built for throughput rather than low latency. Rapids is a streaming decoder: a convolutional network builds on an earlier design called Cascade, with a small recurrent network added so it can work on windows of the syndrome stream as they arrive.

The key move is co-design with the chip. The authors build the network from sparse layers that map cheaply onto the FPGA's logic. They quantise the weights to 8-bit and 4-bit integers and train the network with that rounding in place, so accuracy survives the integer arithmetic. With 4-bit weights, a multiplication becomes a few shifts and additions. The authors say that compiled this way, the network's multilayer-perceptron layers take about a third of the chip's lookup tables, where DSP multipliers would have needed more than twice the capacity of an AMD Versal VP1802.

The numbers

Two points on the table. First, the headline "under a microsecond" is throughput, how often a round is processed; the delay before a decision is the separate 20.36 microsecond figure. Second, the authors compare against other decoders at the settings they chose, and some comparisons use values taken from other papers.

What was simulated and what was built

The decoders are trained and tested on syndromes simulated with the Stim circuit simulator, under a noise model called SI1000 for the surface and colour codes and standard depolarizing noise for the Gross code. The speed figures come from placing and routing each design on the VP1802 in AMD's Vivado toolchain; the chip-to-chip link delay is fitted to register-level simulations. We did not find a run on a live quantum processor in the paper.

The custom-chip numbers are estimates. In a 7 nm process the authors estimate 0.30 microseconds per round, 6.5 microseconds of latency, 7.4 mm² of area and about 10 W, against roughly 250 W for an FPGA. They also caution that a computation with thousands of logical qubits, each needing its own decoder, would need thousands of FPGAs and several hundred kilowatts at distance 19, and say high-rate codes and custom silicon could each cut that by about an order of magnitude.

Terms in plain English

Where things stand

The paper is version 1 on arXiv and has not been peer reviewed. The authors say the design scales: spread over several FPGAs, or hardened into custom silicon, it becomes faster, more accurate, or able to decode larger codes. They state their hardware designs, floorplans and estimates are on Zenodo (doi:10.5281/zenodo.24360244). The open question the paper itself raises is the cost of running one decoder per logical qubit at scale.

Sources

Sources

Related stories

More from Quantum Quokka

All stories from Quantum Quokka