DeepMind uses Gemini 4 agent teams and Lean proofs to find faster quantum algorithms
DeepMind used Gemini 4 agent teams and Lean proofs to improve quantum algorithms, cutting a fusion simulation 11.8× and qubits from 5,650 to 4,338.

Google DeepMind on November 23, 2026, published a quantum-algorithm study in which independent teams of Gemini 4 agents rewrote quantum circuits and then had every result checked by the Lean theorem prover. On one inertial-confinement-fusion simulation, DeepMind says the new circuit cuts spacetime cost to 1/11.8 of the baseline and the error-corrected qubit count from 5,650 to 4,338. The point is not new hardware but a pipeline that turns large-model search into quantum programs a machine can verify.
Key points
- Each ratio has its own denominator. The 11.8× is a drop in spacetime cost Q·T (qubits × T gates) against the paper’s baseline, Ref.[199]. The 290× is for a 25-bit fixed-point
arcsinsubroutine, and the 2.57× is expected oracle rounds for parallel Grover search. - The teams meet every four hours. Each problem goes to an independent team, and researchers choose the internal setup, from one agent iterating to a hierarchical multi-agent team. Teams share verified solutions, partial proofs and dead ends through a wiki, then trade and challenge ideas at a cross-team virtual conference every four hours.
- Lean checks the spec, not the physics. An external verifier uses the Lean Comparator against a frozen specification: target theorems and their dependencies must be unchanged, proofs may use only standard axioms, and the cost theorem must reduce to the claimed value. It does not prove the specification matches reality.
Background
Quantum algorithms have historically improved through years of human collaboration, and candidate circuits are too large to test in full on classical computers or today’s small quantum processors. DeepMind and Google Quantum AI therefore put proof before measurement: researchers write a specification with correctness and cost theorems, then agents fill the sorry placeholders in Lean.
The line of work has antecedents. In 2025 DeepMind’s AlphaEvolve used Gemini-powered coding agents to discover algorithms and mathematical constructions, scored by automatic evaluators. In October, AlphaProof Nexus paired language models with formal proofs to solve several Erdős problems. This study differs by targeting quantum programs that classical simulation cannot check, and by packaging “multiple agent teams + frozen specification + external verifier” into a reusable workflow. It rhymes with TensorLean, which used Lean to verify GPU kernels, except the verification target here is a quantum circuit rather than compiled machine code.
The facts
According to the DeepMind blog and the arXiv paper, the work covers five problems: fixed-point arcsin, parallel Grover search, cytochrome P450 energy levels, alpha-particle stopping power in fusion, and non-Born–Oppenheimer molecular dynamics. All large-scale autonomous runs used Gemini 4 Carbon models. Researchers fixed only the shared specification, verifier and workflow, not the internal team design.
| Problem | Metric | Versus baseline | Qubits / scale |
|---|---|---|---|
| Inertial-confinement fusion (alpha stopping power) | Spacetime cost Q·T | 11.8× (abstract rounds to 12×) | 5,650 → 4,338 |
| Photochemistry molecule C₂₃H₂₀N₃O₈ | Spacetime cost | 8.22× | 6,033 |
| Cytochrome P450 | Spacetime cost | 2.49× | 481 → 333 |
25-bit fixed-point arcsin | Spacetime cost | 290× (1.08×10⁸ → 3.70×10⁵) | 100 |
| Parallel Grover search | Expected oracle rounds | 2.57× max | — |
The denominators matter. The 11.8× applies to a fusion run whose baseline spacetime cost is 5.42×10¹⁵ Q·T; the new circuit reaches 4,338 logical qubits, mainly by quantum-Fourier-transforming electrons onto a real-space grid so Pauli exclusion can be exploited, which cuts qubitized walk steps 12.8×. The 290× is the arcsin spacetime cost, from a 1.08×10⁸ baseline to 3.70×10⁵ (100 qubits, 3,698 T gates); the search first ran on the classically simulable kickmix gate set, then used formal verification to lift that restriction and keep cutting. The 8.22× and 2.49× are the photochemistry and P450 reductions, the latter also dropping memory from 481 to 333 logical qubits.
On the Lean side, the team implemented a classical-quantum Hoare logic with classical variables, denotational semantics and a weakest-precondition calculus from scratch, proved the soundness of the while-loop rule, and supports cost accounting both by syntactic gate counting and by expected cost over branches and loops. The external verifier replays each submission in a clean sandbox and accepts it only if three conditions hold: the target theorems and every transitive definition match the specification; proof terms depend only on propext, Quot.sound and Classical.choice, with no sorry or custom axioms; and the cost theorem reduces to the claimed closed-form value. Teams merge a new solution only if it improves relative cost by at least 5%.
The open-source release includes the Lean library (QuantumComputation core plus QuantumComputationSpecs for specifications and benchmarks), the problem specifications and the verified solutions, at google-deepmind/formal-quantum-computation. Software is Apache-2.0 and other materials are CC-BY; the newly discovered programs live on the repo’s discoveries branch. The paper is an arXiv preprint (v3 revised November 16), with no peer-review information as of publication, and the blog does not claim peer review.
What others say
The secondary coverage does not agree on every figure. On November 10, Quantum Computing Report, working from an earlier preprint, reported a 10.9× fusion reduction, 4,374 qubits, an 8.08× photochemistry cut at 6,057 qubits, and 2.55× for Grover. The v3 paper and the blog now give 11.8×, 4,338, 8.22× at 6,033, and 2.57×. The gap suggests the preprint changed its baseline or counting between versions, so citations should name the version instead of mixing the two sets.
Unite.AI’s November 23 write-up adds a breakdown the blog does not spell out: across the three science applications, roughly 61% of the improvement came from within teams, 15% from the shared wiki and 24% from cross-team conferences, and the outlet notes that credit is hard to separate cleanly. Neither outlet quotes an independent expert; both rest on DeepMind’s blog and paper, so “third-party verification” currently means only that the preprint is readable and the code is inspectable.
The paper states its own limits. End-to-end simulations still demand far more resources than the first fault-tolerant quantum computers are expected to provide, and reaching early hardware needs several more orders of magnitude. The non-Born–Oppenheimer specification requires correctness on all inputs, including unphysical states that break exchange symmetry, and the P450 setup fixes a tensor factorization, excluding recent representation-level gains. In short, agents can only optimize inside the room the specification leaves them.
Our take
The value here is the workflow, not any single multiplier. Formal verification makes open collaboration safe: teams can build on one another’s Lean proofs without line-by-line human review, and human effort shifts from hand-designing circuits and tracking resources to choosing problems, writing specifications and interpreting results. For groups working on quantum algorithms, formal methods or “AI for science” pipelines, the combination of frozen specification, external verifier and multi-agent search is worth taking apart.
The honest catch is that Lean proves the circuit meets the spec, not that the spec matches physics. The paper notes that agents can game local checks by weakening theorem statements, editing definitions or adding axioms, which is exactly why an external verifier freezes the spec; modeling loopholes in the spec itself, such as how Toffoli gates are counted, still have to be found and closed by people. And because the specifications currently exclude error-correcting codes, qubit routing and physical layout, whether the 11.8× and 290× survive real hardware constraints is unknown.
That is also why this should not be read as “AI can now do research on its own.” People still choose the problems, write the correctness criteria and judge whether the results mean anything; the agents search and prove inside a frame someone else defined. A verification-gated accelerator is a more accurate description than a general research capability.
What to watch
Three things will decide whether this is a demo or a durable tool: whether outside teams actually reuse the Lean library and specifications rather than just reading the paper; whether the specifications extend to error-correcting codes, routing and layout so the resource estimates move closer to hardware; and whether the work reaches peer review, and what reviewers say about the baseline choices and cost conventions.