Ai Agents 6 min read

DeepMind's Gemini agent teams cut quantum algorithm costs up to 290x, with every result proved in Lean

Google DeepMind and Google Quantum AI used teams of Gemini 4 Carbon agents to find cheaper quantum algorithms for arithmetic, fusion, photochemistry and drug-relevant chemistry, then proved each circuit's correctness and cost in Lean 4. Here is what was verified, what was not, and what the gains mean.

On Monday, November 23, 2026, Google DeepMind and Google Quantum AI published results from an experiment in which teams of Gemini 4 agents searched for cheaper quantum algorithms and had to prove every candidate in Lean 4 before it counted. The headline numbers: a quantum arithmetic subroutine that is more than 290 times cheaper than the best published construction, an 11.8x cost cut for a fusion simulation, about 8x for a photochemistry simulation and 2.5x for a model of the drug-metabolising enzyme cytochrome P450.

Two things make this worth more attention than another “AI found a better algorithm” claim. The results come with machine-checked proofs of both correctness and resource cost, so a reader does not have to trust the agents. And the targets are the simulation workloads that are widely expected to be the first useful jobs for error-corrected quantum computers, where every factor of two in cost moves the date those jobs become practical.

What the agents found

The full method is in a 25-author paper, Discovering formally verified quantum programs with AI, first posted to arXiv on November 6 and revised on November 16, led by Sergey Shirobokov and Ben Jaderberg with Ryan Babbush, Sergio Boixo and Pushmeet Kohli among the authors. Costs are measured as logical spacetime volume: logical qubits multiplied by T gates, the expensive non-Clifford operations that dominate fault-tolerant runtime.

  • Fixed-point arcsin. Preparing a quantum state that encodes the arcsin of a 25-bit input, a building block for many algorithms, dropped from more than 1.08×10⁸ to 3.70×10⁵ in spacetime volume (3,698 T gates on 100 qubits). That is the 290x result. The agents got there in two stages: first a search restricted to a classically simulable gate family, then a second pass on a richer gate set that shaved a further 11%.
  • Fusion. Simulating the stopping power of an alpha particle moving through hydrogen plasma, a quantity that matters for inertial confinement fusion, fell from 5.42×10¹⁵ to 4.59×10¹⁴, with logical qubits reduced from 5,650 to 4,338. The key idea was to Fourier-transform the electrons onto a real-space grid and exploit Pauli exclusion, which cut the number of walk steps 12.8x at the price of 1.42x more T gates per step.
  • Photochemistry. A non-Born-Oppenheimer simulation of a 47-nucleus, 187-electron molecule (C₂₃H₂₀N₃O) fell from 4.98×10¹⁵ to 6.06×10¹⁴, an 8.22x reduction.
  • Cytochrome P450. Estimating energies of Compound I (63 electrons in 58 orbitals) fell from 1.09×10¹² to 4.37×10¹¹, and the qubit count dropped from 481 to 333 by replacing a 247-qubit lookup table with a one-hot register.
  • Parallel Grover search. Against the strongest published protocols, the agents found schemes needing up to 1.22x fewer oracle rounds to find one marked item and up to 2.57x fewer to find all of them.

The baselines are real prior work, not strawmen, but some were refined by the team before comparison. For P450 the authors first applied published compilation improvements to bring the baseline down from 2.26×10¹² to 1.09×10¹², so the 2.5x is measured against a stronger reference than the best published figure. For fusion and photochemistry the team re-evaluated published cost formulas.

How the agent teams worked

Researchers wrote each problem as a Lean specification: a theorem in quantum Hoare logic stating what the circuit must compute, to what error, and with placeholders for the program, its cost bound and the proofs. The agents’ job was to fill those placeholders so the Lean kernel accepts them.

For each problem, several independent teams were launched with generic optimisation prompts rather than problem-specific hints. The paper says it prescribed no internal team structure: a team could be one agent or a hierarchy, and could use analytic derivation, simulation or numerical optimisation. Teams shared a wiki holding the best verified solution so far, reusable Lean lemmas and notes on dead ends. Every four hours, agents from all teams met in a scheduled virtual conference to critique proposals and swap unproven ideas, which only counted once someone verified them. All large runs used Gemini 4 Carbon.

The paper also breaks down where the gains came from. Across the simulation problems, about 61% of the improvement came from work inside a team, 15% from building on another team’s wiki entry and 24% from ideas traded at the conferences. For P450 the cross-team share was much higher, with conferences accounting for 38%. That is a useful data point for anyone building multi-agent systems: the shared channels were not decoration, they produced a large share of the final result on the hardest problem.

What Lean proves, and what it does not

For each solution, Lean checks two things: that the circuit implements the target operation within the stated error on the specified states (including returning ancilla qubits to zero), and that its T-gate and qubit counts are within the claimed bounds, covering expected and worst-case costs across branches and loops. The library supporting this, built on Mathlib and Physlib’s quantum information package, is open source as formal-quantum-computation under Apache 2.0, with the discovered programs on a separate branch.

Because agents are known to game automated checks (TNW, in its coverage, points to an earlier DeepMind study where 14% of agents cheated on Lean problems), every solution was re-verified by a separate checker that confirms the target theorems, definitions and allowed axioms were not modified. That checker is the team’s own tooling, not an outside review.

The proofs stop at the logical level. They do not verify that the Hamiltonians are the right physics for fusion plasmas or enzymes, they do not cover how logical qubits map onto a particular error-corrected hardware design, and the repository notes that costing the classical computation and control flow is still a future milestone. The arcsin circuit from the second stage is also described as hard to check outside Lean, which means the formal proof is doing work that conventional review could not easily replicate.

Why it matters and what to watch

A 2.5x to 12x reduction in the cost of a chemistry or fusion simulation is the kind of improvement human researchers have historically produced over years of incremental papers. DeepMind’s own framing is that proof-checked search compresses that work. The limits are just as plain: the blog says these simulations would still need more resources than the first error-corrected machines are likely to offer, so nothing here runs on hardware soon.

The more durable contribution may be the setup rather than the numbers. A formal specification plus an independent verifier turns open-ended algorithm research into a target that agents can attack at scale without humans checking each result, the same pattern seen this month in AI-assisted mathematics. No compute or cost figures have been published, and no outside quantum algorithms researchers have yet commented on the specific constructions. Things to watch: whether independent groups reproduce the costings from the published Lean code, whether the benchmark specifications in the repository become a shared target for other labs’ agents, and whether the method extends to the hardware layer where the remaining overheads sit.

Get Insanely Good at AI

Get Insanely Good at AI

The book for developers who want to understand how AI actually works. LLMs, prompt engineering, RAG, AI agents, and production systems.

Keep Reading

Ai Agents

How to Build Graph-Based Workflows With Google ADK Go 2.0

Learn how to migrate from rigid DAGs to dynamic, stateful AI agent graphs using Google's new ADK Go 2.0 workflow engine and Human-in-the-Loop primitives.

Ai Agents

DeepMind's AlphaProof Code proved Signal's security on the compiled binary: 6.5M lines of Lean, no human-written proofs

Google DeepMind's AlphaProof Code used AI agents to prove forward secrecy, post-compromise security and authentication for libsignal's AArch64 machine code in four weeks. Here is what was proved, what was assumed, and what the agents got wrong along the way.

Ai Engineering

PSI says a non-public Anthropic model proved the Aaronson-Ambainis conjecture, with a full Lean check

Physical Superintelligence says its research system, running an unreleased Anthropic model, proved a central open problem in quantum query complexity by day three of a run. The 9,454-line Lean formalization uses no added axioms; independent review has only just started.

Ai Agents

Google's /teamwork results: 1.8 million lines of Lean for the Weil conjectures, a 2013 conjecture proved, and a Rust Zircon

On November 13, Google Research published what its Antigravity /teamwork multi-agent harness produced over several weeks: a proof of the Courtade-Kumar conjecture, a machine-checked formalization of the Weil conjectures, and 800,000 lines of Rust for the Zircon kernel. Here is how the harness works and what the post leaves out.

Ai Agents

DeepMind's AI agents cut the theoretical cost of factoring many 1024-bit RSA keys, ending a 33-year stall

A November 5 working paper gives each further 1024-bit integer about 1/58 the cost of a number field sieve run after one run of precomputation. No fan factory has been built, and RSA-2048 is not threatened.