· via dev.to (home feed)
Anthropic and Harvard show Claude can design quantum circuits with far lower resource needs
Anthropic and Harvard researchers found that Claude can design quantum circuits with far lower resource requirements, including a decoding routine that fell from 5.1 million Toffoli gates to 440,000.

A collaboration between Anthropic and Harvard University has found that Claude, Anthropic's AI model, can design quantum circuits with markedly lower resource requirements than standard approaches. According to dev.to, which summarized the work, the team applied the model to eight core computational tasks that underpin algorithms used in chemistry, optimization, and physics simulation, with the goal of lowering the hardware barriers that currently keep useful quantum computers out of reach.
What the study actually delivers
The output is resource estimates and theoretical circuit designs, not demonstrations on physical hardware. The central claim is that better circuit design can partly offset limited hardware capacity by squeezing more out of the qubits and gates a machine already has.
Quantum circuits are sequences of operations applied to qubits, and large algorithms rest on many small, repetitive routines. When those building blocks are expensive to run, the full calculation becomes impractical. A key structural constraint is reversibility: classical computers can simply overwrite temporary data, but quantum logic cannot, forcing a cleanup step known as uncomputation. Designers must therefore constantly trade memory, in the form of qubits, against processing, in the form of gates.
Where the gains showed up
The largest reported improvement came in a decoding routine used in quantum interferometry. The AI-designed circuit needed 440,000 Toffoli gates, down from 5.1 million in the baseline design, a more than tenfold reduction. Peak qubit count for that task also edged down, from 1,938 to 1,837. Since Toffoli gates are costly primitives once a machine relies on error correction, cutting their number is a priority for anyone targeting early-stage hardware.
A separate circuit for computing fixed-point Gaussian functions improved the product of gate count and qubit count by a factor of 39. To the researchers, reductions on that scale suggest conventional quantum circuit designs carry considerable slack.
A step forward in reversible arithmetic
The team also applied the model to modular inversion, an operation central to cryptographic algorithms. It produced a reversible version of a technique called divsteps, whose memory demands had previously made it awkward to implement in quantum settings. By spotting patterns that allow earlier computational decisions to be recovered rather than stored, the design yields a family of circuits in which designers can choose between fewer qubits or fewer gates to match their hardware constraints. One benchmark arithmetic component came in at roughly 4 million Toffoli gates and 935 qubits, which is not a complete cryptographic application but indicates that essential subroutines are getting cheaper.
How the researchers steered the model
The process started with a task description and a blank slate. The model proposed algorithmic strategies, which an automated evaluation system then scored on resource consumption and logical correctness. The team deliberately worked with a class of circuits that can be simulated on conventional computers, allowing fast verification of each candidate.
The model's first instinct was conservative: it leaned on established methods until researchers explicitly prompted it to pursue several distinct approaches at once, which is what produced the more ambitious modular inversion designs. The elliptic-curve arithmetic work took 53 hours in total, which the report reads as evidence that this kind of tooling is becoming practical for real research use.
Caveats worth noting
The findings hinge on the scoring metrics used during the search. Actual running costs also depend on hardware architecture, error-correction schemes and operation scheduling, so a circuit that scores well on paper may need rework for a specific machine. Some comparisons used a plain reversible construction as the baseline because no established quantum version existed in the prior literature, underscoring the lack of standardized benchmarks for niche quantum routines. Correctness was established through extensive sampling rather than formal proof for every possible input. The researchers point to full-stack co-design, optimizing algorithms, error-correcting codes and physical layout together, as the logical next step.
The project involved Harvard physicists Mikhail D. Lukin and Susanne F. Yelin alongside researchers from Anthropic's STEM Fellows Program, and the paper is available on the arXiv preprint server for review by the wider scientific community.
Why it matters
Near-term quantum hardware is scarce, noisy and small, so efficiency gains in software and algorithms can matter as much as building larger machines. This work suggests AI can automate one of the field's most tedious bottlenecks, hand-optimizing reversible circuits, and even contribute original mathematical structures in the process. If those building blocks stay cheap as machines scale, the timeline to practical quantum advantage could shorten. It is also a concrete example of AI accelerating scientific research rather than merely summarizing it.
- #quantum-computing
- #ai
- #anthropic
- #research
- #algorithms