Anthropic: Claude redesigned eight quantum circuits on its own, cutting gates up to 17x and beating Google's decoder design by 12x
The point here is not that an AI writes code again, but that it improved quantum circuits, a field with brutal constraints: information cannot be deleted, only uncomputed, and every step must be reversible. Anthropic's method is unglamorous — write circuits as Python, have an independent evaluator check and score them, feed the score back. Across eight kinds of primitive, seven beat the best published results.
Start with method and scope. Anthropic's research page says Claude was given plain-language specifications for eight quantum circuits drawn from chemistry, optimization, physics simulation and number theory, along with an automated evaluator that checks and scores each design. The score is blunt: qubits used multiplied by gate count, a proxy for runtime. Claude Mythos 5 proposed designs in a closed loop, took the feedback and revised, with no human in between rounds. That evaluator works because this class of quantum algorithm has one definite output per input that an ordinary computer can check, and because circuits can be written as code, which plays to the model's strengths. The paper runs 46 pages, was submitted to arXiv on October 15, 2026 (2610.22367), and is by Andi Gu, Alek H. Kemeny, Susanne F. Yelin and Mikhail D. Lukin.
The first concrete result is modular inversion, the costliest step in elliptic-curve arithmetic. The classical divsteps method works well on ordinary computers but never produced a practical quantum circuit because of reversibility: each iteration's choice of operation generates branch information that a classical program can simply discard, while a quantum circuit must retain it to run backwards, which costs a large number of extra qubits. The model's answer was not to store it at all, but to infer — decode — the branch information from the pair of numbers after each iteration, letting the numbers themselves carry the record. That removes the qubit cost of the history.
The second result targets the decoder in the quantum optimization algorithm DQI. DQI works by preparing a quantum state in which good solutions are more likely to be read out, and its most expensive step is an error-correcting decoder recovering a short list of errors from a compact summary; the best prior quantum circuit used the extended Euclidean algorithm. The model judged that algorithm a poor fit — an ordinary program can take a different path per input, but a quantum circuit handling many inputs at once must use one fixed sequence of gates, so the old design was stretched over far more rounds than any single input needed and had to run every operation in every round. The model rebuilt the circuit around Berlekamp–Massey decoding, which performs the same kind of step each round for a fixed number of rounds and therefore suits a fixed gate sequence.
The numbers are all in the original, so do not drop them. In the modular-inversion family, one design uses 12% more qubits than the smallest prior design but 17x fewer gates; overall the family pushes out the Pareto frontier of qubits times runtime. On the DQI decoder, the saving comes from three layers: a different method (extended Euclidean replaced by Berlekamp–Massey), a different architecture (reconstructing temporary values instead of storing them), and a different resource budget (measuring how much memory and computation is really needed). That last layer is the clearest: reserving for the worst case, where an exceptional value arises in 35 different rounds, would take 665 qubits. The model wrote a high-speed simulator and ran 403 million sample decodings, found that almost every run needs to save one value at most, and so set aside 19 qubits, with about one run in 10,000 needing more and failing — inside the task's allowed error rate. Together these cut decoder gates by 12x relative to Google's prior construction.
One piece of background explains why these numbers matter. Anthropic cites FeMoco, the iron-sulfur cluster at the heart of nitrogenase: in 2017 researchers estimated about 50 trillion Toffoli gates to compute its ground-state energy; through a series of algorithmic advances that estimate fell to roughly 340 million gates, a 150,000-fold reduction corresponding to a few hours on a future machine with about three million physical qubits. Those reductions came mainly from redesigning circuits rather than better hardware, which is exactly why circuit optimization pays. Separately, the point-addition exploration ran for 53 hours, with human input limited to the initial brief and occasional prompts to think more broadly.
The boundaries need to be explicit, or this reads as quantum computing arriving early. First, this is vendor-published research and the paper is an arXiv preprint submitted October 15, 2026, with no peer review on record; the evaluator was written by Anthropic, and although it scores programmatically and reproducibly, that is not an independent third-party benchmark. Second, the scope is eight computational primitives, the class of quantum algorithms that can be checked efficiently — the authors say so themselves. Third, every result is at the simulator and gate-count level; nothing ran on real quantum hardware, so the figures are resource estimates, not measured runtimes. Fourth, the baseline is the best previously published circuit, so the size of each improvement depends on that choice, and the 12%-more-qubits-for-17x-fewer-gates point is a trade-off on the Pareto frontier rather than a clean sweep. Fifth, the roughly one-in-10,000 failure rate sits inside the task's allowance but comes from statistical sampling and would need revalidation for a different task.
🤔 Frequently Asked Questions
What exactly did Claude improve?
Circuit designs for eight quantum primitives. Seven cut both Toffoli gates and qubits beyond the best previously published designs; the eighth, prime-field modular inversion, got a new reversible architecture.
What do the 17x and 12x refer to?
17x is the gate reduction in one modular-inversion design, paid for with 12% more qubits; 12x is the gate reduction in DQI's Reed-Solomon decoding step relative to Google's prior construction. Different metrics, different tasks.
Were these results verified on real hardware?
No. Everything is simulator validation plus gate-count estimates; the official page contains no real-hardware run data.
Is the paper public?
Yes: arXiv:2610.22367, titled Discovering state-of-the-art quantum circuits with large language models, submitted October 15, 2026, 46 pages, 10 figures, 6 tables.
🛠️ Recommended Tools
- AI Agent Sandbox The skeleton of this method is model writes code, sandbox runs it, score flows back — so build your sandbox and permission boundaries before letting an agent run long jobs.
- AI Code Reviewer Across 53 hours of unattended iteration, failures look exactly like your own CI: fix one thing, break another. Do not skip review.
- AI Unit Test Generator Quantum circuits could be optimized because each input has a definite, automatically checkable output — the same precondition as writing tests: a verifiable oracle first.
- Diff Checker The write-up is full of 'fewer than the prior design' numbers; diffing two designs line by line is how you separate a method change from an architecture change from a budget change.
- AI Token Counter A 53-hour closed loop and 403 million sampled decodings are long-run jobs whose cost is almost entirely tokens, so do the arithmetic before pressing go.
Summary
Anthropic's October 2026 research gave Claude Mythos 5 plain-language specs for eight quantum primitives plus a programmatic evaluator scoring qubits times gates, and the model proposed, verified and iterated circuits in a closed loop. Seven of eight tasks cut both Toffoli gates and qubits beyond the best published designs; the eighth, prime-field modular inversion, produced a new reversible architecture making divsteps viable in the quantum setting, with one design trading 12% more qubits for 17x fewer gates. DQI's Reed-Solomon decoder cut gates to one twelfth of Google's prior construction by changing the method (Berlekamp-Massey), the architecture (reconstructing rather than storing temporaries) and the budget (measuring 19 qubits needed instead of 665 worst-case); the point-addition exploration ran 53 hours with human input limited to the initial brief. Paper: arXiv:2610.22367, October 15, 2026, 46 pages. Boundaries: vendor-authored and vendor-evaluated, preprint without peer review, only eight primitives, all simulator and gate-count work, no hardware runs, baseline is the best published design. Everything here comes from the sources below with no speculation added.
Sources: Anthropic 官方研究页:Designing more efficient quantum circuits with Claude
arXiv:2610.22367(2026-10-15 提交,46 页)
arXiv API 元数据(标题、作者、提交时间、摘要)
被比较的谷歌此前构造(Anthropic 文中引用)