Google DeepMind Uses AI Agents to Redesign Quantum Algorithms
Gemini 4 Carbon agents generated lower-cost quantum algorithms, with improvements checked in Lean before entering a shared record.

Google DeepMind and Google Quantum AI used Gemini 4 Carbon agents to redesign quantum algorithms and reduce their estimated resource requirements, while requiring formal verification before accepting improvements.
The agents worked in separate teams on quantum simulation, arithmetic and search problems. Each team developed ideas independently, then exchanged findings through virtual seminars held every four hours.
Lean, a theorem prover, checked whether proposed improvements were mathematically valid. An external verification program also tested submissions against fixed specifications to prevent agents from changing the problems, weakening requirements or adding unsupported assumptions.
The study reported lower estimated costs for several tasks, including simulations of alpha-particle stopping power in hydrogen, cytochrome P450 drug metabolism and C23H20N3O molecular dynamics. It also reported reductions for an arcsine calculation and parallel Grover search.
The study measured resource use by multiplying the number of logical qubits by the number of a key quantum gate and reported reductions across several tasks.
The study attributed 61% of the final improvements to work within individual teams, 15% to shared notes exchanged across teams and 24% to the virtual seminars.
The resulting algorithms still require more resources than early fault-tolerant quantum processors are expected to provide for scientific simulations. The research is an arXiv preprint and has not undergone journal peer review.
Google DeepMind open-sourced the Lean quantum-algorithm library, problem specifications and verified solutions.