A classical evaluator checked LLM-written circuit programs and ranked them by Toffoli count multiplied by peak qubit use. The reported savings are algorithmic resource estimates, not results from quantum-hardware runs.
A proposed decoder circuit shrank from an estimated peak footprint of 190,000 qubits to 2,395 in a search for more economical quantum algorithms. The result comes from software evaluation, not a run on a quantum processor: a classical simulator checked the circuits.
Search Beyond Gate Rewrites
The study, Discovering advanced quantum circuits with large language models, was posted as an arXiv preprint on October 15, 2026. Its authors are Andi Gu and Alek H. Kemeny, alongside Susanne F. Yelin and Mikhail D. Lukin. The paper lists affiliations through Anthropic and Harvard, and notes a connection to QuEra Computing. It describes an evolutionary structure in which Claude proposes complete Python programs for quantum circuits instead of making isolated gate substitutions within a fixed design. The search explores approaches to numerical computation and chemistry, then applies them to improvement. It also tests quantum simulation and number theory.
A classical evaluator tests each candidate with the kickmix model. It simulates basis trajectories and tracks phase kickback to check exact correctness, then scores the program using TQ-cost: the Toffoli count multiplied by the peak number of qubits. The authors report that seven of the eight tasks produced circuits that substantially reduced both Toffoli-gate and qubit counts relative to existing designs. Across the computational primitives examined, reported reductions against hand-crafted baselines range from 4.1-fold to more than 9,100-fold. The arXiv preprint presents these as circuit resource estimates, not hardware measurements.
These estimates do not show that a quantum processor ran the circuits faster or solved a practical task more cheaply. They also say nothing about energy use. The work concerns the cost of reversible computation, a central constraint in scaling quantum algorithms, rather than demonstrated performance on a quantum device.
Trading Arithmetic for Routing
One strategy the search found routes data through a shared arithmetic block. Controlled SWAP gates can select which branch enters that block, replacing separate conditional arithmetic operations for each branch. That can lower the cost of repeating arithmetic across alternatives.
The structure also found ways to recover branch decisions from the changing arithmetic state. Instead of preserving a long history of every choice, a circuit can sometimes decode earlier decisions from mathematical invariants in updated registers during uncomputation. This reduces the need for extra qubits used only to store history.
A third approach sets history storage and loop bounds around typical inputs instead of worst-case inputs. The paper describes a controlled failure budget of ε ~ 10⁻⁴ as a way to save hundreds of ancilla qubits. This is a design trade-off in the evaluated algorithms, not a measured failure rate from a physical device.
Modular Inversion
For prime-field modular inversion, a task relevant to cryptography and number theory, the search produced a reversible architecture for divsteps. The classical algorithm had been considered difficult to adapt to quantum computing because storing its branch history could require large resources. The new design uses a 2-adic invariant to infer many of those decisions from the developing registers.
In the reported architecture, 87.6% of ambiguous branch decisions are decoded from the updated registers. The remaining 12.4% are stored on a 60-qubit stack. Varying the amount of stored history creates a trade-off between Toffoli count and qubit footprint, rather than one fixed design.
For a Hermitian code DQI decoder, the reported estimate falls from 190,000 peak qubits and 100 million Toffolis to 2,395 peak qubits and 930,000 Toffolis. The approach replaces raw null-space matrix storage with an in-place Lanczos recurrence and a striped phase scan. A separate study of quantum data-loading costs, covered in this earlier QROM report, likewise concerns algorithmic resource estimates rather than demonstrated hardware performance.
What the Estimates Show
For numerical tasks, the structure reports TQ-cost reductions of 9.9-fold to 39-fold. The tests included HHL angle evaluation, alongside calculations of Coulomb potentials and Gaussian basis functions. These comparisons concern the selected hand-crafted baselines and the resource metric used in the study. They do not report processor runtime. Nor do they compare results with a deployed quantum system or quantify energy use.
The 46-page arXiv preprint reports computational evaluations of circuit designs, not hardware implementations. Its results describe a search method in which language-model proposals are checked and scored by an independent evaluator. The reported reductions apply to the tasks and baselines examined in the study; they do not establish practical quantum advantage or demonstrate a fault-tolerant machine.
TQ-cost combines two resources: Toffoli gates, a costly operation in many fault-tolerant circuit estimates, and the maximum number of qubits needed at one time. It offers a compact way to compare gate work with qubit footprint, but it is not a measured runtime or a complete engineering cost. Real hardware performance would also depend on implementation details that these classical evaluations do not test.