Google DeepMind Reports 290x Quantum Algorithm Speedup Using Gemini 4 Agents With Lean 4 Verification
Google DeepMind and Google Quantum AI have published a preprint describing a multi-agent system that discovered more efficient quantum circuits for five problem domains, with machine-checked proofs in the Lean 4 theorem prover. The paper, "Discovering formally verified quantum programs with AI" (arXiv:2611.09822), was posted November 23, 2026, and the accompanying Lean library, specifications, and verified solutions have been open-sourced on GitHub [1][5][6].
How the agent teams worked
For each problem, DeepMind spun up independent teams of Gemini 4 agents. Each team proposed circuit improvements and produced Lean 4 proofs that the new circuits matched the formal specification and met a cost bound. Only proposals that passed Lean's checker were admitted to a shared notebook. Every four hours, agents from different teams met in a virtual conference to exchange and debate verified ideas, which DeepMind's blog post describing the paper says drove costs down gradually over the course of the experiment [1][2][5].
The cost metric used is "spacetime"—peak logical qubits multiplied by T-gate count—a standard proxy for resource consumption in fault-tolerant quantum computing. The specifications and cost models were encoded in Lean 4's QuantumComputation and QuantumComputationSpecs libraries, built on pinned releases of Mathlib4 and Physlib's QuantumInfo [2][6].
Claimed improvements
The paper reports five problem domains yielding six verified solutions:
Scientific simulations
- Inertial confinement fusion (stopping power): 11.8× lower spacetime cost; logical qubits reduced from 5,650 to 4,338 [1][3][4][5].
- Photochemistry (light-sensitive molecule): 8× cheaper simulation (8.22× in one account) [2][3][4][5].
- Cytochrome P450 drug-metabolism modeling: 2.5× cost reduction; qubits cut from 481 to 333 [2][3][4][5].
Quantum primitives
- Parallel Grover search (FindAll): up to 2.57× speedup over the prior baseline [2][5].
- Parallel Grover search (FindAny): separate verified solution with distinct proof [2][5].
- Arcsin routine (loading numbers into quantum states): 290× spacetime reduction, from 108 million to 415,000 [2][4][5].
The largest Lean proofs reach 554,952 lines (Grover FindAll) and 457,154 lines (StoppingPower), with verification runs peaking at 230–233 GB of RAM plus swap unless sharded [2].
The hardware reality check
DeepMind explicitly states that the optimized scientific simulations "would still demand more computational resources than the first error-corrected quantum computers are likely to provide" [1][5]. The 11.8× and 8× reductions pull the practical horizon closer, but the absolute resource requirements remain beyond near-term hardware [2][3][4].
This caveat is significant: the speedups are measured against a theoretical cost model for fault-tolerant quantum computers that do not yet exist. The arcsin primitive shows the largest relative gain, but it is a building block, not a full application. The scientific simulations—fusion, photochemistry, drug metabolism—are the targets that would need further compression to run on early error-corrected machines.
Verification as the feedback loop
Because classically simulating thousands of logical qubits is infeasible and today's quantum processors cannot run deep error-corrected circuits, the research replaced empirical testing with formal verification. Lean 4 acts as a deterministic gate: no proposal enters the shared knowledge base without a machine-checked proof of correctness and cost [1][2][5]. The open-sourced repository includes the core library, challenge specifications (JSON files for each problem), and all six verified solutions on a discoveries branch [2][6].
What this demonstrates
The work shows that proof-checked agentic search can operate at hundred-thousand-line Lean 4 scale and produce non-trivial algorithmic improvements across multiple domains. The multi-team, conference-driven architecture is offered as a generalizable pattern for any optimization target that outgrows physical or simulated testbeds—compilers, cryptographic primitives, safety-critical kernels [2].
Open questions
How much further the scientific simulations must shrink to fit first-generation error-corrected hardware remains unknown. It is also unclear whether the same agent-verifier loop can continue to find those reductions without human insight. DeepMind frames the result as compressing "work that once took years of manual design" into an automated search, leaving researchers to choose problems and interpret results [5]. The open-sourced framework will allow the community to test these claims.
Sources
- DeepMind's Gemini 4 agents trim quantum algorithm costs, verified in Lean - KAT Media (kat.media)
- You Cannot Unit-Test Tomorrow's Quantum Circuits. Gemini 4 Agents Proved Faster Ones in Lean 4 Instead. - GeminiPulse (geminipulse.com)
- Google DeepMind cuts estimated quantum simulation costs with Gemini | ETIH EdTech News — EdTech Innovation Hub (edtechinnovationhub.com)
- 290 times speedup: Google DeepMind finds faster way to run quantum algorithms (tech.yahoo.com)
- Finding faster quantum algorithms with agents and formal verification — Google DeepMind (deepmind.google)
- GitHub - google-deepmind/formal-quantum-computation: A Lean 4 library for formally specifying and verifying quantum programs, grounded in quantum Hoare logic with classical variables. · GitHub (github.com)