Learn › A transformer decoder for photonic fusion networks: 6.59 microseconds is a projection, 10.1 is the full design
A transformer decoder for photonic fusion networks: 6.59 microseconds is a projection, 10.1 is the full design
Barter et al. built PRISM, a graph transformer that decodes fusion-network codes with erasure flags as inputs, and a ternary-weight version that fits one FPGA. The full placed-and-routed network gives 10.1 microseconds for a distance-8 block at 250 MHz. The 6.59 microsecond headline projects a 400 MHz clock reached on single layers. Noise was simulated throughout.
The paper: PRISM: a transformer decoder for fusion-based photonic quantum computing, with an FPGA mapping
Research deskPsiQuantum and AMD, arXiv preprintRead on 22 November 2026
Latencies and block intervals are the paper's. The 400 MHz bars are the paper's projection from single-layer timing, drawn dashed. The check that 2,528 cycles at 250 MHz is 10.11 microseconds is ours.
A machine that loses photons on purpose
In fusion-based photonic quantum computing, small entangled states of light are joined by “fusion” measurements. Those measurements succeed only some of the time, and photons are also simply lost. Both show up as erasures: errors whose location is known. The decoder gets the check outcomes plus a flag for each erased spot and must decide, fast, which correction to track (a Pauli-frame update). It must also take the same time on every shot. A decoder that stalls on a hard shot stalls the whole machine.
What the paper reports
Fifteen authors from PsiQuantum and AMD (Daniel Barter, Jacob Bridgeman and colleagues) posted arXiv:2611.13630 on 10 November 2026. PRISM is a transformer that works on the decoding problem drawn as a graph of checks and error mechanisms. Attention runs only along the edges of that graph, and the model is given no position information, so cost grows in step with the size of the protocol. Every error mechanism carries an erasure flag as an input, and the logical answer is read from several equivalent representatives and combined by a vote. For hardware, they train a version with ternary weights (each is −s, 0 or +s) and two-bit activations, with shift-based stand-ins for softmax and layer normalisation, so the network maps onto the lookup tables of one FPGA.
They test on four families of fusion networks (surface-code, a deformed surface-code network called linked-loopy-diamond, a colour-code network and bivariate-bicycle codes), with distances up to 24, under independent erasure and Pauli noise. Against the conventional decoders for each (matching, an integer-programming decoder and BP+OSD) they report that PRISM matches the logical error rate across the range, and outperforms it at lower error rates. The largest run, distance 24, took under 24 hours on 100 nodes of eight GPUs each and recorded no logical errors in 30 billion trials at noise parameter x = 0.012.
The numbers, and what each is a number of
The design: a model dimension of 32, a pipeline of seven layers, 2,528 clock cycles for a distance-8 block in space and time (roughly the work of decoding 8 rounds of a distance-8 surface code). It uses 22.9% of the LUTs, 14.2% of the flip-flops, 11% of block RAM, 9.9% of UltraRAM and 5.6% of the DSP slices of an AMD Versal VP1902.
At 250 MHz (the full network, placed and routed): 10.1 µs latency and 2.39 µs between finished blocks.
At 400 MHz (the headline): 6.59 µs latency and 1.56 µs between blocks, after adding 108 cycles to reach that clock. Latency runs from the first input to the complete output, including loading.
Overlap: letting attention start before all its inputs arrive is estimated to be 1.77 times faster, and overlapping successive blocks gives over four times the throughput of handling them one at a time.
Fixed time: the latency does not depend on the input, so a hard shot costs no more than an easy one.
The maths
Cycles to time. 2,528 / 250 MHz = 10.11 µs. (2,528 + 108) / 400 MHz = 6.59 µs. Both match the paper (our division).
Overlap. 6.59 / 1.56 = 4.2, which is the “over four times” throughput (ours).
Zero in 30 billion. No failures in 3 × 1010 trials only bounds the rate. By the rule of three the 95% upper bound is about 3 / (3 × 1010) = 10−10 per trial (ours), which is a ceiling, not a measurement.
What this does not show
The headline latency is a projection. The 400 MHz clock was reached on individual layers. For the whole network, the authors say it is well predicted by those parts and leave the full mapping at 400 MHz for future work. What the full placed-and-routed design delivers is 10.1 µs, which only just meets their own 10 µs target.
We read no run on a physical board. The latency comes from the design’s cycle count and a clock rate from the vendor’s implementation tools.
All noise is simulated. Independent erasures and Pauli errors, benchmarked against decoders that find the most likely error, not against the true optimum. The paper argues that a learned decoder can be fine-tuned on real data, but it does not do so.
Speed and accuracy were shown on different sizes. Timing is for a distance-8 block. Accuracy is tested to distance 24. For larger distances the authors expect under 10 µs but have not shown it.
It is one block. A real machine must decode many blocks and pass results between them. The authors call that modular decoding and leave it for later.
The authors build the machine and the chip. That is not a reason to doubt the numbers, but no outside group has run them.
It is a preprint.
Why a reader of this site should care
This is the AI-fixes-quantum loop at its most concrete: a neural network small enough to live in the control electronics, judged on the one property that matters for running a machine, which is that it never takes longer than the clock allows. Compare it with a small neural decoder run on IBM and Google data and a neutral-atom pipeline with a GPU decoder. The common gap across all three is the same: the decoder works on simulated or recorded syndromes, and nobody has yet closed the loop on a live machine at full scale. See also how AI fixes quantum computing’s errors.
We read the sources above ourselves. Where a figure or number is ours, the article says so. If you find a mistake, tell us: a wrong sentence here gets logged like any other.