Google DeepMind has presented research showing that teams of Gemini 4 AI agents, with every result checked by the Lean theorem prover, discovered lower-cost quantum algorithms for five distinct problems — including an 11.8-fold reduction in the estimated cost of a quantum simulation of fusion fuel. The work, conducted with Google Quantum AI and presented officially on November 23, points to a new division of labor in scientific computing: agents propose programs and proofs, and a formal verifier guarantees they are correct.

The findings also landed amid broader AI industry coverage of AI systems moving from chatbots into roles that were previously the exclusive territory of specialized research teams — algorithm design being one of the most demanding.

The Evaluation Problem in Quantum Algorithm Discovery

Quantum algorithm research has a fundamental bottleneck: candidate circuits that span hundreds or thousands of qubits generally cannot be tested, either by classical simulation or on today's quantum processors. A promising idea that cannot be checked is, in practice, indistinguishable from a wrong idea.

DeepMind's system sidesteps this by treating a proposed circuit as a mathematical object rather than something to be run. Researchers wrote frozen Lean specifications containing correctness theorems and resource-cost theorems; the agents then supplied programs, cost bounds, and proofs using high-level optimization prompts rather than problem-specific starting ideas.

The Lean 4 library underlying the work is grounded in quantum Hoare logic — a formal system for reasoning about preconditions and postconditions — and handles classical control flow alongside unitary operations, measurement, and qubit reset. It can prove bounds on expected or worst-case resource costs, which matters because the metric that counts in fault-tolerant quantum computing is unforgiving: spacetime cost, measured as peak logical qubits multiplied by T-gate count, combining memory demand with the operations that are most expensive to error-correct.

Safeguards Against Gaming

An external verifier replayed every submission in a clean sandbox against the frozen specification, checking dependent definitions, permitted axioms, and claimed costs. The point was to prevent agents from weakening theorems or gaming local checks — a failure mode that has plagued less rigorous agent benchmarks.

Collaboration was structured and instrumented. Independent teams shared their best verified solutions, reusable lemmas, and reviewed dead-end notes through a wiki, while agents met every four hours in virtual conferences to critique proposals. Conference claims counted only after verification. According to the paper's estimate, averaged across the three scientific applications, 61% of the measured cost reduction originated within teams, 15% came through cross-team wiki material, and 24% through conferences — though the authors caution that credit is difficult to separate cleanly.

The large autonomous runs used Gemini 4 Carbon models, according to reporting on the research.

The Results, Problem by Problem

The work covered parallel Grover search, fixed-point arcsin arithmetic, and three scientific simulations: alpha-particle stopping power in fusion fuel, non-Born–Oppenheimer molecular dynamics, and Cytochrome P450 energy estimation.

Fusion Stopping Power

The largest scientific gain came on the fusion problem, where the discovered circuit moves electron interactions onto a real-space grid and uses Pauli exclusion to simplify short-range interactions. The paper reports that this cut walk steps by a factor of 12.8, and retaining total electron momentum in a 42-qubit register reduced T gates per step by a further 10%. The resulting circuit needs 4,338 logical qubits, down from 5,650 — though it uses 1.42 times as many T gates per step, which is precisely why the combined memory-and-operation metric matters.

Molecular Dynamics and Enzyme Chemistry

For the non-Born–Oppenheimer dynamics of a C₂₃H₂₀N₃O molecule, the paper reports an 8.22-fold cost reduction — from 4.98 × 10¹⁵ to 6.06 × 10¹⁴ — achieved through measurement-based cleanup of copied coordinates, a Bernstein-polynomial approximation that eliminates the baseline's multiplication step when evaluating 1/r, and simpler handling of nuclear charges.

For Cytochrome P450, the enzyme family central to drug metabolism, cost fell by a factor of 2.49 while memory dropped from 481 to 333 logical qubits, principally by replacing bulky angle lookups with one-hot registers that mark the chosen term on a dedicated qubit.

Arithmetic and Search

The fixed-point arcsin result combined two forms of search: agents first tested circuits within a restricted, classically simulable gate set, then used Lean verification to optimize beyond it, reaching 3,698 T gates on 100 qubits and reducing spacetime cost by a factor greater than 290. For parallel Grover search, where circuits had to succeed with certainty, expected oracle rounds fell by factors of up to 1.22 when finding any target and 2.57 when finding all targets in the tested multi-target regimes.

Open-Sourcing the Proofs

The repository behind the work has been released, separating the core QuantumComputation library from QuantumComputationSpecs, which holds the specifications and benchmark challenges; the discovered programs sit in its discoveries branch. The arXiv paper, "Discovering formally verified quantum programs with AI," was first submitted on November 6, 2026, with a third version dated November 16, and the official DeepMind blog post is the research's later formal presentation.

Caveats

DeepMind is explicit about the limits. The end-to-end simulations still demand far more resources than projected for the first fault-tolerant quantum computers, and further orders-of-magnitude reductions are needed before they become practical. The results are also bounded by their specifications: the molecular and materials models exclude error correction and routing overheads, so the reported gains describe algorithmic cost, not total machine cost.

Even with those caveats, the demonstration marks a milestone in AI for science: not suggestions for humans to check, but machine-discovered algorithms with machine-checked proofs — verified end to end before any human reviewed them.

---

Stay Ahead of AI

Get the latest AI news, analysis, and breakthroughs — all in one place.

Read more AI news →