Gemini 4 agents cut a quantum algorithm's cost 11.8 times—and proved it
DeepMind combined teams of AI agents with the Lean theorem prover to optimize circuits for fusion, chemistry and drug research.

Google DeepMind and Google Quantum AI used teams of Gemini 4 agents to make several known quantum algorithms substantially more efficient. Every proposed circuit was formally verified with Lean, a theorem prover, because the largest programs are beyond what classical simulators or today’s quantum hardware can reliably test.
For a calculation related to laser-driven fusion, the agents reduced a combined measure of required qubits and operations by 11.8 times and lowered memory needs from 5,650 to 4,338 error-corrected qubits. They also made one molecular simulation eight times cheaper, cut the cost of a simulation involving the drug-metabolizing enzyme Cytochrome P450 by 2.5 times, and accelerated an arcsin routine used by other quantum algorithms by 290 times.
Separate agent teams searched for improvements, shared only proof-checked ideas in a common notebook and met periodically in a virtual conference to compare approaches. DeepMind has released the Lean library, problem specifications and verified solutions as open source.
The results do not mean these applications are ready to run. DeepMind says even the improved scientific circuits require more resources than the first error-corrected quantum computers are likely to offer. The broader result is a research method: AI agents can search a difficult design space while formal proofs provide a stronger correctness check than benchmark scores alone.



