Google DeepMind Uses Gemini 4 Agent Teams and Formal Verification to Find Faster Quantum Algorithms
Key Takeaways
- •Google DeepMind tasked independent Gemini 4 agent teams with improving quantum algorithms, and every candidate idea had to be verified with the Lean formal theorem prover before counting as a result.
- •For an inertial confinement fusion application, the agent-driven search cut computing cost by 11.8x and lowered required memory from 5,650 to 4,338 error-corrected qubits.
- •The optimized circuits include a 290x speedup for the arcsin arithmetic routine and a 2.57x speedup for a specific implementation of Grover's algorithm.
- •In chemistry relevant to drug design, the agents made quantum simulation of a light-sensitive molecule 8x cheaper and achieved a 2.5x improvement for Cytochrome P450 while reducing its memory from 481 to 333 qubits.
- •Google DeepMind is open-sourcing its Lean library, problem specifications, and verified solutions on GitHub so outside researchers can apply the verified agent-team search method to their own applications.

Google DeepMind said it used teams of Gemini 4 AI agents — AI systems that autonomously plan and execute multi-step tasks — working alongside a formal theorem prover, to develop faster and more resource-efficient versions of well-known quantum algorithms. In a new paper announced on the Google DeepMind blog, the team describes how the agent-driven search produced highly efficient quantum circuits, including an 11.8x reduction in computing cost for a fusion-energy application and a 290x speedup for a common arithmetic routine.
Quantum computers could soon solve problems beyond the reach of classical supercomputers. There is a catch, however: even when using the best quantum algorithms, some important applications still require more resources than early quantum hardware will be able to support.
The optimized circuits — instructions for how a quantum computer should carry out an algorithm — could one day help run simulations that address complex scientific challenges, from fusion energy to drug design. To help the community build on the work, Google DeepMind is open-sourcing its Lean library, problem specifications, and verified solutions on GitHub. Because the company said the method is not limited to these problem areas, that release hands outside researchers a starting point for running the same verified agent-team searches on applications of their own.
Why formal verification
Resource-intensive quantum circuits cannot be tested on classical computers or on today's small quantum processors, so they must be proven to work mathematically. The agent teams proved each result using Lean, a formal theorem prover that checks every step of a proof against explicit logical rules until the conclusion follows from first principles.
How the agent teams worked
For each problem, Google DeepMind tasked separate, independent agent teams with finding algorithmic improvements. Candidate ideas were verified with Lean before entering a shared notebook, so nothing an agent proposed counted as a result until a machine-checked proof backed it. Every four hours, agents from each team met at a virtual conference to trade, debate, and compare ideas. As the teams produced more effective ideas over time, the computational cost gradually fell until the experiment concluded.
The company said it chose to focus on applications that could one day impact some of humanity's greatest challenges, such as clean energy and drug design, though the method is not limited to these problem areas.
Results across fusion, chemistry, and enzymes
One resulting quantum circuit helps calculate an important property of inertial confinement fusion, a fusion method that uses lasers to compress hydrogen fuel until ignition. The agent teams cut the required computing cost — a metric that combines required qubits and operations — by 11.8x, and lowered required memory from 5,650 to 4,338 error-corrected qubits, the fault-tolerant qubits that quantum error correction produces by spreading information across many error-prone physical qubits.
The agents also reduced costs for simulating molecules involved in drug metabolism and certain photochemical reactions, complex reactions that are difficult for classical computers to simulate. For a common light-sensitive molecule, the teams made quantum simulation 8x cheaper by simplifying how the algorithm tracks particle positions and electric forces. For Cytochrome P450, an enzyme that breaks down most human medicines and is important for drug design, they found a 2.5x improvement and lowered memory from 481 to 333 qubits by replacing bulky memory lookups.
The work also improved a fundamental quantum algorithm and a widely used arithmetic building block. The researchers found a 2.57x speedup for a specific implementation of Grover's algorithm, a foundational quantum operation that searches through an unsorted list, and a 290x speedup for arcsin, a common routine used by many other quantum algorithms to load numbers into quantum states — so the algorithms that call it can run that step at a fraction of the previous cost.
Running these algorithms in scientific simulations would still demand more computational resources than the first error-corrected quantum computers are likely to provide, but Google DeepMind said the improvements are significant. Requirements of exactly this kind — qubit counts and operation counts — are what determine which of the applications above early fault-tolerant machines will be able to run.
Agent search with correctness guarantees
The team said it is also encouraged by how the results were found. It built a new, open-source library in Lean for quantum algorithms that can be used by teams of collaborating agents, so their ideas are backed by mathematical correctness guarantees. Researchers could then set the research direction by specifying problems for the agent teams and supervising their progress. Google DeepMind's knowledge of quantum algorithms, combined with the way the agent teams were set up, led to the results.
The same approach could also accelerate other aspects of quantum computing research, and scientific discovery more broadly. Proof-checked AI search compresses work that once took years of manual design, allowing researchers to focus on choosing problems and interpreting results.
Collaboration and acknowledgements
The research was a collaboration between Google DeepMind and Google Quantum AI. The paper's authors are Sergey Shirobokov, Ben Jaderberg, Katerina Hristova, George Tsoukalas, Johannes Bausch, Eric Wieser, Francisco J. H. Heras, Nicholas C. Rubin, Guang Hao Low, Sébastien Racanière, Nenad Tomašev, Lei M. Zhang, James D. Watson, Tanuj Khattar, Aws Albarghouthi, Stavan Jain, Harun Khan, Leopoldo Sarra, Andrew W. Senior, Michael Broughton, Hussain Masoom, Sergio Boixo, Ryan Babbush, Swarat Chaudhuri, and Pushmeet Kohli.
The team thanked Kevin Ishimwe, Ibrahim Alkhashem, and Matthew Harrigan for feedback and discussions on the Lean library; Emilien Dupont and Sebastian Nowozin for manuscript feedback; and Brendan Tracey for advice on the fusion application. It also thanked Uchechi Okereke, Ali Douraghy, and Andy Song for legal and policy support, and Alex Wilkins, Evie Gray, Danielle Breen, Dimple Vijaykumar, Muinat Abdul, Jason Freidenfelds, Chris Kwaku-Abdullahi, and Rob Ashley for help with visuals and communicating the work.