
Quantum computers make errors constantly. A classical chip has to diagnose them from error signals, a million times a second, without ever falling behind.
We built a neural network that does this on one FPGA, 240× more accurately than today's real-time decoders.
LLMs have gotten very good at making classical code do more with less, from faster CUDA kernels to leaner compilers. This summer, as part of the Anthropic STEM Fellows program, we asked whether Claude could do the same for quantum computers.
We found it can. Across a wide range of tasks, Claude's circuits need fewer qubits and less running time than the best published designs. The video shows the most striking one: modular inversion, the costliest step in the quantum algorithm for elliptic-curve discrete log. Claude built it on a classical method few thought could work on quantum computers.
New preprint with @J_Pablo_Bonilla! We built a neural network that decodes quantum errors — and discovered that fault-tolerant quantum computing might need far fewer qubits than we thought. 📄
Paper: arxiv.org/abs/2604.08358
Website: andigu.github.io/projects/ca…
