
Most claims of a cheaper quantum algorithm arrive with a resource estimate and an implicit request for trust. Nobody can run a 4,000-logical-qubit circuit to see whether it works, and no classical computer can simulate one either. A new paper from Google DeepMind and Google Quantum AI tries to remove the trust step. Its Gemini 4 agents proposed new quantum programs, and every program that counted came with a machine-checked proof, written in the Lean theorem prover, of both its correctness and its cost.
The headline numbers are 290x for an arithmetic routine and 11.8x, 8.22x and 2.49x for simulations relevant to fusion, photochemistry and drug metabolism. DeepMind publicized the work in a blog post on 23 November; the preprint, arXiv:2611.09822, first appeared on 6 November and was revised on 16 November. We read the appendices and re-derived the cost splits. The most quoted number turns out to say the least about the method, and the smallest one may matter most.
How the system works
Researchers first write a specification as a Lean file. For the fusion problem, it states that a circuit must implement a unitary W that matches time evolution e^(−iHt) to within an error of 0.01 on every physically allowed electron state, and must return all helper qubits to zero. A second theorem bounds the cost. The circuit, its cost and both proofs are left as placeholders for the agents to fill in.
The underlying open-source library combines a classical–quantum programming language with quantum Hoare logic, a way of proving what a program does to any input satisfying a precondition, plus formal resource counting. The cost metric is Q·T: peak logical qubits multiplied by the number of T gates, with each Toffoli priced at four T gates. In surface-code machines, T gates are the expensive operations, so Q·T is a proxy for spacetime volume.
Several independent agent teams attack each problem. They share verified solutions, reusable lemmas and documented dead ends on a wiki, and meet at scheduled virtual conferences. An external checker, the Lean Comparator, confirms that every submission proves the original frozen theorems with no edited definitions or added axioms, which closes the obvious exploit of an agent quietly weakening the statement it was asked to prove.
What the agents found
Parallel Grover search: up to 1.22x fewer expected oracle rounds for finding one of k marked items and up to 2.57x for finding all k, against the strongest published protocols. The largest find-all gains come from a new coherent walk on a Johnson graph over sets of candidates.
Fixed-point arcsin (25-bit, error at most 1.25×10⁻⁷): 3,698 T gates on 100 qubits, a Q·T of 3.70×10⁵ against a baseline lower bound above 1.08×10⁸.
Alpha-particle stopping power in warm dense hydrogen (fusion): 5,650 → 4,338 logical qubits and Q·T 5.42×10¹⁵ → 4.59×10¹⁴ per run, an 11.8x reduction.
Non-Born–Oppenheimer dynamics of C₂₃H₂₀N₃O (photochemistry): 187 electrons and 47 quantum nuclei; Q·T 4.98×10¹⁵ → 6.06×10¹⁴, 8.22x.
Cytochrome P450 Compound I (drug metabolism): 63 electrons in 58 orbitals; 481 → 333 logical qubits and Q·T 1.09×10¹² → 4.37×10¹¹, 2.49x.
Our analysis: the savings are mostly time, not memory
A Q·T ratio hides which resource moved. Splitting each result into a qubit factor and a T-gate factor gives a clearer picture.

In the fusion problem, fewer T gates account for 89% of the logarithmic gain; in the photochemistry problem, 99%, with qubits down only 3%. The fusion mechanism shows why. Over 90% of the baseline's Hamiltonian weight λ came from electron–proton and electron–electron interactions, and λ sets the number of walk steps. The agents' circuit Fourier-transforms all electrons onto a real-space grid and exploits the Pauli exclusion principle: any physically allowed state has at most two electrons on a grid point. Two branches that kick back phases of i and −i average to cos(πn/2), which equals 1 − n for n ≤ 2, so unphysical crowding no longer inflates λ. λ falls from 1,744,784 Ha to 1.356×10⁵ Ha, a 12.9x drop.
The internal numbers are consistent: 12.8x fewer walk steps at 1.42x the T gates per step gives 9.0x fewer T gates; times 1.30x fewer qubits gives 11.7x, matching the reported 11.8x within rounding. P450 is the most balanced case, because dropping a 247-qubit register of rotation angles also saves memory. That matters, since the paper itself notes that qubits, not gates, are likely to be the scarcer resource on early machines.
Read the baselines before the 290x
Credit first: the simulation baselines are unusually conservative. For P450, the published estimate (Low et al., Physical Review X, 2025) is 2.26×10¹², or 2.28×10¹² once extended to every state within 0.1 Ha of the ground state. The team then folded in newer compilation tricks to build a baseline of 1.09×10¹², roughly half. Against the published figure, the agents' circuit is 5.2x cheaper; the paper reports 2.49x. For photochemistry, it reports 8.22x where the published estimate would give 11.2x. Few resource-estimate papers handicap themselves this way.
The arcsin result runs the other way. Its baseline is a 2018 piecewise-polynomial construction by Häner, Roetteler and Svore, costed as a lower bound at a looser error of about 10⁻⁶. A footnote in the paper concedes that a newer reciprocal circuit could cut that baseline by up to 3x, which would leave roughly 97x.
Our analysis: more telling is where the 290x came from. The agents first searched in kickmix, a restricted gate set whose circuits can be checked by fast classical testing, an approach the paper notes was already known to work for arithmetic. That search alone reached 4.98×10⁵, about 217x below the baseline. Staying within kickmix-expressible circuits under Lean brought it to 4.15×10⁵. Circuits that only Lean could verify shaved the final 11%, to 3.70×10⁵. By our count, about 95% of the logarithmic gain came from classically checkable search and about 2% from circuits beyond it. The 290x circuit is real, but it is not evidence that formal verification is needed. That evidence lives in the three simulations, where no classical test exists at all.
Our analysis: where the circuits land on the paper's own hardware map
Appendix D of the paper defines two hardware regimes. A medium-term "teraquop" machine handles roughly 500 to 2,000 logical qubits and 3×10⁸ to 3×10⁹ T gates. An application-scale (FASQ) machine handles roughly 5,000 to 20,000 qubits and 3×10¹⁰ to 3×10¹¹ T gates.

The new P450 circuit, at 333 qubits and 1.31×10⁹ T gates per phase-estimation run, sits inside the teraquop envelope; the baseline, at 481 qubits and 2.26×10⁹, sat near its top edge. The fusion and photochemistry circuits need about 10¹¹ T gates per run, firmly in FASQ territory. DeepMind's blog says the simulations still exceed what the first error-corrected machines will offer, which is consistent: the earliest such machines are expected to run on the order of a million logical operations, while teraquop means 10¹².
Wall-clock time depends on how fast a machine can consume T gates, which the paper does not specify. At an assumed 10⁶ per second, the full 500-run fusion protocol drops from 15.2 to 1.7 machine-years; at 10⁴ per second, both are out of reach. For P450, two caveats apply. The cost covers one phase-estimation run that starts from an eigenstate; real runs repeat roughly 1/overlap² times and pay for state preparation, which this estimate, like prior ones, leaves out. And the paper concedes that GPU-based classical methods now converge this 58-orbital active space; resolving the physical spin ordering needs larger active spaces. The P450 circuit is a benchmark for the algorithm's structure, not yet a chemistry result.
What a Lean proof certifies, and what it does not
The proofs are checked at the gate level, covering Clifford and T gates, mid-circuit measurements and feed-forward. Their error bounds include rotation synthesis, and costs are counted on the most expensive measurement branch. That is a stronger guarantee than almost any published resource estimate carries.
But a proof only certifies the specification. The authors say so plainly: agents cannot optimize beyond the spec. To match its baseline, the photochemistry spec demands correctness even on unphysical input states, which probably leaves savings on the table. The P450 spec fixes the Hamiltonian factorization, excluding the representation tricks behind recent human gains. During the runs, agents also found specification loopholes, such as exploiting how Toffoli gates were counted, which the researchers closed by revising the specs. And Q·T ignores magic-state factory parallelism, routing and high-rate memory. Because qubits and T gates both fall in all three simulations, the ranking survives any weighting of the two, but absolute runtimes will depend on architecture.
New ideas, or very good recombination?
Many of the components are known techniques, composed well: measurement-based uncomputation of copied registers, Boolean assignment of nuclear charges proposed earlier for fixed nuclei, Bernstein-polynomial sampling to get 1/r without multiplication, and one-hot registers that a 2025 study had judged narrowly worse than binary encodings. The clearly new mechanisms are the Pauli-exclusion phase trick for fusion and the coherent Johnson-graph walk for find-all search.
That is not a criticism. Resource estimation has advanced mainly by composing tricks, and the bottleneck has been the expert time needed to combine them without errors. The paper's own accounting suggests collaboration helped: 61% of the cost reduction came from ideas within a team, 15% from the shared wiki and 24% from conferences. In the photochemistry problem, the largest single drop, 34%, began as one team's conference proposal that another team refined and proved.
What to watch
Whether outside groups use the open library to reproduce and beat these circuits. How fast human experts find further savings will show how close to optimal the agents got.
Specifications that include surface-code layout, routing and factories, so that cost means hours on a defined machine rather than Q·T.
A P450-class estimate on an active space large enough to settle the spin ordering, the point where a quantum computer would earn its keep.
The lasting shift may be in where human effort goes. If proof-checked search keeps compounding reductions, the scarce skill in quantum algorithms becomes writing the right specification, not finding the circuit.
Sources
Shirobokov, Jaderberg et al., "Discovering formally verified quantum programs with AI," arXiv:2611.09822 (v1 6 Nov 2026, v3 16 Nov 2026); full text (HTML).
Google DeepMind blog, "Finding faster quantum algorithms with agents and formal verification" (23 Nov 2026).
google-deepmind/formal-quantum-computation, Lean 4 library, specifications and verified solutions.
Rubin et al., "Quantum computation of stopping power for inertial fusion target design," PNAS 121, e2317772121 (2024), doi:10.1073/pnas.2317772121.
Pocrnic, Loaiza, Arrazola, Wiebe, Motlagh, "Efficient Simulation of Pre-Born-Oppenheimer Dynamics on a Quantum Computer," arXiv:2602.11272; Pocrnic and Motlagh, "Improved constant factors for qubitized Hamiltonian simulation," arXiv:2608.02734.
Low et al., "Fast Quantum Simulation of Electronic Structure by Spectral Amplification," Physical Review X 15, 041016 (2025), doi:10.1103/pb2g-j9cw.
Low et al., "A denser planar surface code," arXiv:2605.30455.
Caesura et al., "Faster Quantum Chemistry Simulations on a Quantum Computer with Improved Tensor Factorization and Active Volume Compilation," PRX Quantum 6, 030337 (2025), doi:10.1103/yngp-5fpm.
Häner, Roetteler, Svore, "Optimizing Quantum Circuits for Arithmetic," arXiv:1805.12445.
Goings et al., "Reliably assessing the electronic structure of cytochrome P450 on today's classical computers and tomorrow's quantum computers," PNAS 119, e2203533119 (2022), doi:10.1073/pnas.2203533119.

