Özer Cem KELAHMETKELAHMET
Articles · Trends

DeepMind agent teams find cheaper quantum algorithms and prove each one in Lean

On 23 November 2026 Google DeepMind described agent teams that cut the estimated cost of quantum algorithms for fusion and chemistry by up to 290 times. The method matters more than the physics: agents could only claim a result after a formal proof checker accepted it.

Download Markdown
At a glance
Reading time
14 min
Sections
8
Code examples
1
Tables
2
Sources
6
Published
25 Nov 2026
In 30 seconds
What changed
Google DeepMind publishes "Finding faster quantum algorithms with agents and formal verification"
Why it matters
The headline numbers are about quantum computing, but the transferable lesson is about agent design.
What to do
Find your checkable goals

AI agents that do research have a credibility problem. They produce plausible claims quickly, and checking those claims is slow. A paper on Google DeepMind's blog on 23 November 2026 shows one way through: give agent teams a goal that a machine can check completely, and refuse to count anything the checker has not accepted.

The goal was to make quantum algorithms cheaper. Quantum computers large enough to run these programs do not exist yet, so you cannot test a candidate circuit by running it. DeepMind's answer was to write each problem as a formal specification in Lean, a theorem prover, and to require agents to deliver a Lean proof that their program is correct and costs no more than they claim. Independent agent teams worked in parallel, shared verified results in a common wiki, and met at a virtual conference every four hours. The reported improvements range from about 2.5 times to about 290 times over the previous best published methods.

This article explains the agent set-up, how the cost of a quantum program is measured, why formal verification changes what agents can safely be trusted with, and how the same pattern applies to ordinary software and data work. If agentic systems are new to you, start with our overview of agentic AI: an LLM that plans, calls tools, observes results and iterates toward a goal.

What happened

Google DeepMind publishes "Finding faster quantum algorithms with agents and formal verification" (23 November 2026)

The blog post, by Sergey Shirobokov, Ben Jaderberg and Ryan Babbush, says the team used "Gemini 4" agents. For each problem, "separate, independent agent teams" searched for improvements; ideas were "verified with Lean, before entering a shared notebook"; and "every four hours, agents from each team met at a virtual conference to trade, debate and compare ideas." The blog says the team open-sourced its Lean library for quantum programs at github.com/google-deepmind/formal-quantum-computation, together with problem specifications and verified solutions.

The blog lists these results:

  • an inertial-confinement fusion simulation made 11.8 times cheaper, with error-corrected qubits cut from 5,650 to 4,338;
  • a light-sensitive molecule about 8 times cheaper to simulate;
  • the drug-metabolising enzyme Cytochrome P450 2.5 times cheaper, with qubits cut from 481 to 333;
  • a 2.57 times speedup for a specific Grover search implementation;
  • a 290 times speedup for an arcsin routine used to load numbers into quantum states.

The arXiv paper behind it (first posted November 2026, since revised)

The paper, "Discovering formally verified quantum programs with AI" (arXiv 2611.09822), lists 25 authors including Pushmeet Kohli. Its first version's abstract rounds the gains to 2.57x for parallel search, 290x for arithmetic, 12x for fusion, 8x for photochemistry and 2.5x for drug metabolism. The body of the latest version reports slightly different figures: 10.9 times for the fusion "stopping power" problem with 4,374 logical qubits, 8.08 times for the molecular dynamics problem, 2.49 times for P450, more than 290 times for arcsin, and up to 1.22 times (find one) and 1.41 times (find all) for parallel Grover search. The paper describes seven participating teams. We use the paper's latest figures in the worked examples below and note the blog's where they differ.

How the agent system is organised

Think of it as a research institute with strict publishing rules. Several labs work on the same problem without seeing each other's notebooks. Every four hours there is a seminar where anyone can present an idea. But nothing counts until it passes the referee, and the referee is a proof checker that cannot be persuaded.

Table 1. How the agent system is organised
Component What it does Why it matters for agents
Independent teams Each researcher chose a set-up, from "a single agent iterating on a candidate" to hierarchical teams splitting subroutine design, error analysis and Lean proof engineering Diversity of search; one team's dead end does not trap the others
Frozen specification A Lean statement of what the program must compute and the cost it may claim Agents cannot redefine success
Wiki A version-controlled repository per problem: best verified solution, reusable Lean files, notes labelled verified, promising or dead-end Shared agent memory that is curated, not a raw chat log
Merge rule Accept a candidate only if it re-verifies against the frozen spec and beats the current cost by at least 5% by default Prevents noise and tiny gains from churning the record
Conferences A forum every four hours; posts "carry no weight until independently verified" Ideas spread fast, but claims do not
External checker Lean Comparator checks that theorem statements and definitions match the frozen spec; proofs may use only standard axioms Closes the loophole of proving a weaker theorem

The last row is the critical one. The paper lists agent behaviours that the design had to contain: agents "may exploit loopholes, such as weakening theorem statements or altering definitions". This is the research version of what reinforcement learning calls reward hacking. A proof checker alone is not enough, because a correct proof of the wrong statement is still a correct proof. Comparing the final statements against a frozen specification is what makes the reward trustworthy. Our article on Claude and the Riemann hypothesis claim covers the same gap from the other side: Lean checks the steps, not whether you asked the right question.

The conference pattern is a form of multi-agent system coordination that sits between a supervisor that assigns work and a free-for-all swarm. Compared with the supervisor and handoff patterns in our multi-agent guide, it keeps teams independent most of the time and synchronises only at fixed intervals, much like a research group's weekly meeting.

How the cost of a quantum program is measured

The objective the agents minimised is a fault-tolerant cost called spacetime volume, written Q·𝒯: the number of logical qubits Q multiplied by the number of T gates 𝒯. T gates are the expensive operations on an error-corrected machine, and qubits are its memory, so the product is a rough proxy for the size and duration of the machine you would need. A useful analogy is renting a warehouse: cost is floor space times the number of days you occupy it.

Worked example 1, the arcsin routine. The verified circuit uses 3,698 T gates on 100 qubits:

  • Q·𝒯 = 100 × 3,698 = 369,800.
  • The baseline's lower bound is about 1.08 × 10⁸.
  • Improvement = 1.08 × 10⁸ ÷ 369,800 ≈ 292, reported as "more than 290 times".

Worked example 2, the fusion stopping-power problem, using the paper's latest figures:

  • Baseline: 5.42 × 10¹⁵ with 5,650 qubits, so about 5.42 × 10¹⁵ ÷ 5,650 ≈ 9.59 × 10¹¹ T gates.
  • New: 4.98 × 10¹⁴ with 4,374 qubits, so about 4.98 × 10¹⁴ ÷ 4,374 ≈ 1.14 × 10¹¹ T gates.
  • Overall: 5.42 × 10¹⁵ ÷ 4.98 × 10¹⁴ ≈ 10.9 times.
  • Split: qubits fell 5,650 ÷ 4,374 ≈ 1.29 times; T gates fell 9.59 ÷ 1.14 ≈ 8.4 times. Most of the gain came from fewer expensive operations, not less memory.

The paper adds a nuance: the walk steps fell 12.8 times while each step needed 1.52 times more T gates, a trade that still wins overall.

Worked example 3, P450: 1.09 × 10¹² ÷ 4.37 × 10¹¹ ≈ 2.49 times, with qubits from 481 to 333.

Table 2. How the cost of a quantum program is measured
Problem Baseline Q·𝒯 New Q·𝒯 Improvement (paper) Blog figure
Fixed-point arcsin, 25-bit about 1.08 × 10⁸ (lower bound) 3.70 × 10⁵ more than 290× 290×
Stopping power, warm dense hydrogen 5.42 × 10¹⁵ 4.98 × 10¹⁴ 10.9× 11.8×
Non-Born–Oppenheimer molecule C₂₃H₂₀N₃O 4.98 × 10¹⁵ 6.16 × 10¹⁴ 8.08× about 8×
Cytochrome P450 Compound I 1.09 × 10¹² 4.37 × 10¹¹ 2.49× 2.5×
Parallel Grover search strongest published protocols expected oracle rounds up to 1.22× / 1.41× 2.57×
Improvement over the best published baseline (excluding arcsin at more than 290x)
0x2.5x5x7.5x10x12.5xStopping power (fusion)improvement factor · Stopping power (fusion): 10.9x10.9xNon-BO molecule (photochimprovement factor · Non-BO molecule (photochemistry): 8.08x8.08xCytochrome P450improvement factor · Cytochrome P450: 2.49x2.49xParallel Grover, find alimprovement factor · Parallel Grover, find all: 1.41x1.41xproblemtimes cheaper or faster
Figure 1. Source: arXiv 2611.09822 latest version; arcsin omitted because its >290x would hide the others
Logical qubits before and after
baselineagent result
02,0004,0006,000Stopping powerCytochrome P45baseline · Stopping power (fusion): 5,6505,650baseline · Cytochrome P450: 481481agent result · Stopping power (fusion): 4,3744,374agent result · Cytochrome P450: 333333problemlogical qubits
Figure 2. Source: arXiv 2611.09822 latest version; the DeepMind blog gives 4,338 for the fusion result

The merge rule matters for how these numbers arose. The paper shows one forum exchange in which a record of 6.34 × 10¹⁷ was followed by a proposal that cut it to 5.42 × 10¹⁷. Check: 1 − 5.42 ÷ 6.34 = 0.145, a 14.5% reduction, well above the 5% bar. The proposal still only counted once it was verified and published to the wiki.

Why verification changes what agents can be trusted with

Most agent evaluations rely on tests, judges or human review. Tests cover only the cases someone wrote. LLM judges can be fooled. Humans are slow. A proof checker is different: if the specification is right, a passing proof covers every input. That makes it an ideal reward for a search process, because the agent can try thousands of ideas and only the correct ones survive.

The paper is explicit about what Lean does and does not cover. Verified: total-correctness Hoare triples, including an approximation-error bound, and proven upper bounds on gate counts, qubit counts and expected oracle rounds. Not verified: the physical modelling choices in each specification, which researchers audited by hand and revised "when loopholes appeared", for example in how Toffoli gates were counted. In short, the machine checks the answer to the question; humans still own the question.

This is the same split we saw in Measuring AI that builds AI: automated work goes furthest where success is objectively checkable. It also echoes the reflection pattern, except that the critic here is a proof checker rather than another model.

Use cases and examples

1. Quantum algorithm teams. Who: researchers estimating resources for early fault-tolerant machines. Workload: chemistry and physics simulations. Set-up: write the problem as a Lean specification using the open library, run agent teams against it, accept only verified merges. Result reported here: Cytochrome P450 drops from 1.09 × 10¹² to 4.37 × 10¹¹ spacetime volume, 2.49 times.

2. Numerical kernels in ordinary software. Who: a team maintaining a fixed-point maths library for embedded devices. Workload: functions like arcsin with a stated error bound. Set-up: an exhaustive or property-based checker plays the role of Lean for small bit widths, plus a 5% merge bar. The arcsin result shows why the bar helps: the paper's classical search reached 4.15 × 10⁵ first, and a later formal search cut a further 11%, to 3.70 × 10⁵ (4.15 ÷ 3.70 ≈ 1.12).

3. Data pipeline refactors. Who: a data team rewriting SQL transformations with a coding agent. Set-up: a frozen contract that the output tables must match on a fixed snapshot, checked by machine, with agents unable to edit the contract. Expected result: the agent can search freely, and any claimed speed-up that changes results is rejected automatically. The principle is the frozen specification, not the proof assistant.

4. Multi-team agent search on one benchmark. Who: an ML platform team tuning inference kernels with several agent set-ups. Set-up: a shared wiki of verified best results and a fixed sync cadence, copying the four-hourly conference rule. Result to measure: time to first improvement and number of rejected claims per team, which shows which set-up is producing real gains rather than noise.

What it means in practice

The headline numbers are about quantum computing, but the transferable lesson is about agent design. Agent teams become far more useful when three things hold: the goal is written down in a form that cannot be quietly changed, there is an automatic checker that cannot be argued with, and shared memory admits only checked results. Remove any one and you get the familiar failure modes: drifting objectives, persuasive but wrong claims, and a shared notebook full of unverified ideas. For readers following AI in research more broadly, our survey of generative AI in R&D shows how uneven gains are outside such checkable domains.

What to do now

  1. Find your checkable goals. List tasks where success can be verified automatically: tests with full coverage, data contracts, numeric error bounds, type checks.
  2. Freeze the specification. Store it where agents cannot edit it, and compare final statements or contracts against the frozen copy.
  3. Add a merge threshold. Accept improvements only above a margin, as the paper's 5% default does, to stop churn.
  4. Curate shared memory. Keep a wiki of verified results and labelled dead ends instead of letting agents read each other's raw transcripts.
  5. Synchronise on a schedule. Let teams work independently and meet at fixed intervals, rather than streaming every idea to everyone.
  6. Treat unverified claims as zero. Make it a rule in prompts and tooling that a claim counts only after the checker passes.
  7. Audit the specification by hand. Budget human review for the question, since the checker only validates the answer.

Risks and open questions

The specification can be wrong. Agents cannot do better than the spec allows, and a flawed spec yields verified but useless results. The paper notes, for example, that the P450 tolerance of 1 mHa is too loose to separate two spin states.

Reported figures differ between sources. The blog and the latest arXiv version give different numbers for the fusion and Grover results. Readers should cite the version they used.

Compute and duration are not disclosed. The paper describes remote compute clusters but not how many agents ran, for how long, or at what cost, so efficiency cannot be judged.

Hardware is still far away. DeepMind states that running these algorithms in full simulations would still demand more resources than the first error-corrected quantum computers are likely to provide. Error correction, routing and physical layout are not modelled.

Watch next: independent groups using the open Lean library to reproduce or beat the records, whether other labs adopt the frozen-spec plus external-comparator pattern for agent research, and disclosure of the compute behind such runs.

Frequently asked questions

Did AI agents prove these algorithms correct by themselves?

The agents wrote the programs and the Lean proofs, and the Lean checker verified them against frozen specifications written and audited by researchers. Humans chose the problems and the modelling assumptions; the machine checked correctness and cost bounds.

What is Lean?

Lean describes itself as an open-source programming language and proof assistant with a minimal trusted kernel that checks every step of a proof. If the statement is right and the proof compiles, the result holds for all inputs.

Why not just test the circuits?

The target circuits need thousands of error-corrected qubits, which no machine has yet, and classical simulation cannot handle them at that scale. A formal proof is the only way to know they work before the hardware exists.

Which model did the agents use?

The DeepMind blog says the teams used "Gemini 4" agents. The paper adds that each researcher chose their own agent set-up, from a single agent to hierarchical teams.

Are these quantum speed-ups usable today?

No. They lower resource estimates for future fault-tolerant machines. DeepMind says the full simulations would still need more resources than early error-corrected computers are likely to offer.

Summary

Google DeepMind's 23 November 2026 post describes independent Gemini 4 agent teams that searched for cheaper quantum programs, shared only Lean-verified results in a wiki, and met every four hours to exchange ideas. Measured by spacetime volume, the results range from about 2.5 times cheaper for Cytochrome P450 to more than 290 times for an arcsin routine, with the fusion problem about 10.9 to 11.8 times cheaper depending on the source. The lasting lesson is the design: a frozen specification, an external checker that rejects weakened statements, a merge threshold and curated shared memory let agents search aggressively without polluting the record with unverified claims.

Sources

Cite this article

Kelahmet, Ö. C. (2026, November 25). DeepMind agent teams find cheaper quantum algorithms and prove each one in Lean. Özer Cem KELAHMET. https://www.ozercemkelahmet.com/articles/deepmind-agent-teams-lean-quantum-programs

BibTeX
@online{kelahmet2026deepmind,
  author = {Kelahmet, {\"O}zer Cem},
  title  = {{DeepMind agent teams find cheaper quantum algorithms and prove each one in Lean}},
  year   = {2026},
  month  = {nov},
  url    = {https://www.ozercemkelahmet.com/articles/deepmind-agent-teams-lean-quantum-programs}
}
Version historyfirst version
  1. Published

Factual corrections are listed here with what changed. Wording and formatting edits are not listed.

Last updated Nov 25, 2026
Type to search.
    ↑↓ navigate↵ open