DeepMind’s Gemini 4 agent teams cut quantum algorithm costs up to 290× — and proved every result in Lean
Google DeepMind set teams of Gemini 4 agents to work on quantum algorithm design, and every improvement they found came back with a machine-checked proof. The headline: a 290× cheaper way to compute arcsin.
- The headline number: a 290× cheaper arcsin routine, a building block other quantum algorithms use to load numbers into quantum states.
- Fusion simulation: 11.8× cheaper, with memory down from 5,650 to 4,338 error-corrected qubits.
- Drug and chemistry work: 8× cheaper photochemistry simulation; 2.5× for the Cytochrome P450 enzyme, with memory down from 481 to 333 qubits.
- The method: independent agent teams per problem, Lean verification before any idea entered the shared notebook, and a virtual conference every four hours.
- The catch: these are resource estimates, not hardware runs — full scientific simulations would still exceed what the first error-corrected quantum computers can likely provide.

Google DeepMind has set teams of Gemini 4 agents to work on a problem that usually takes specialists years: making quantum algorithms cheaper to run. In work described on November 23, the agent teams produced more efficient versions of several well-known quantum algorithms — cutting costs by as much as 290 times — and every improvement arrived with a machine-checked proof of correctness.
The circuits target simulations that could matter for clean energy and drug design: fusion reactions, light-driven chemistry, and the enzyme that breaks down most human medicines. The research, a collaboration between Google DeepMind and Google Quantum AI, is published as a paper on arXiv, and the team has open-sourced the Lean library, problem specifications, and verified solutions on GitHub.
The results: cheaper circuits across five problems#
The teams tackled five problems, and the gains were broad rather than concentrated in one place:
| Problem | Reported improvement |
|---|---|
| arcsin, a routine for loading numbers into quantum states | 290× cheaper |
| Inertial confinement fusion simulation | 11.8× cheaper; memory 5,650 → 4,338 error-corrected qubits |
| Photochemistry: simulating a light-sensitive molecule | 8× cheaper |
| Cytochrome P450, the enzyme behind most drug metabolism | 2.5× cheaper; memory 481 → 333 qubits |
| Grover search, a foundational quantum search | 2.57× faster (specific implementation) |
A few of the numbers deserve unpacking. The fusion result concerns a property of inertial confinement fusion, where lasers compress hydrogen fuel until it ignites — the cost figure combines the qubits and operations a circuit needs. For Cytochrome P450, the agents replaced bulky memory lookups with a leaner design, which is where both the speedup and the memory saving came from. And the 290× arcsin figure, the largest in the paper, combines classical and formal search, according to the paper itself — the agents did not find it by proof alone.

Why Lean is the point#
The proof is the story as much as the numbers. The circuits involved are far too large to test on a classical computer, and far beyond what today’s small quantum processors can run — so there is no experiment that could check the agents’ work. Instead, each proposed circuit had to pass through Lean, a formal theorem prover, which verified both that the circuit does what it claims and what it costs.
That turns the usual worry about AI-generated science on its head. An agent can hallucinate a plausible-looking circuit the way a chatbot hallucinates a citation; a Lean proof cannot be bluffed. DeepMind’s setup made the prover the gatekeeper: an idea only entered the teams’ shared notebook once Lean had confirmed it. According to Dealroom’s account of the work, an outside checker also re-ran every proof, so the agents could not game their own tests.
It is the same instinct DeepMind showed earlier in November with AlphaProof Code, which used Gemini-powered agents to formally verify the compiled code behind the Signal protocol. The pattern is becoming a house style: let agents search, but make a machine-checked proof the price of admission.
How the agent teams worked#
The organization of the work is almost as interesting as the output. Each problem got its own independent team of agents, working in parallel. Teams wrote candidate circuits, submitted them to Lean, and only the verified ones went into a shared notebook that every team could read. Every four hours, agents from each team met at a virtual conference to trade, debate, and compare ideas — and as better ideas accumulated, the cost of the best-known circuit kept falling until the experiment ended.
Humans set the direction: researchers wrote the problem specifications, chose what counted as an improvement, and supervised the process. The agents did the searching. DeepMind frames that division of labor as the point — proof-checked AI search compresses work that once took years of manual design, leaving researchers to choose problems and interpret results.
What it does not mean — yet#
The honest caveats are in DeepMind’s own post. These are resource estimates, not demonstrations on hardware. Even after the cuts, running these algorithms inside full scientific simulations would still demand more than the first error-corrected quantum computers are likely to provide. The gains are measured against prior baselines, and the headline 290× applies to a subroutine — important because arcsin shows up inside many larger algorithms, but not the same as a 290× faster simulation.
None of that diminishes the result; it locates it. The circuits are real, proved improvements on problems the field cares about, and the library that produced them is now public. The question is how far the method travels.
What to watch#
Three things. First, whether independent groups pick up the open-sourced Lean library and problem specifications and push the numbers further — that is the test of whether this is a one-lab result or a new way of working. Second, whether the same proof-first agent setup spreads to other parts of quantum computing research, as DeepMind suggests it could — and to scientific discovery more broadly. Third, whether the approach starts showing up in the places where correctness matters most and testing is hardest: the same territory AlphaProof Code staked out for software. If it does, the November paper will read less like a quantum result and more like a methods paper that happened to be about quantum algorithms.
Sources: Google DeepMind, “Finding faster quantum algorithms with agents and formal verification”; arXiv, “Discovering formally verified quantum programs with AI”; Dealroom News, “DeepMind’s AI agents cut quantum algorithm costs up to 290x”