Buffio.

A field journal of machine-made science

Mathematics · 6 November 2026

Quantum programs discovered by AI agents, with machine-checked proofs of correctness and cost

Teams of Gemini 4 agents working inside a Lean verification library found new quantum programs with formally proved correctness and resource cost, including a 290× reduction for quantum arcsin and reductions of up to 12× for scientific simulations.

Vintage engraving of horizontal quantum-circuit wires with hatched gate blocks, two small atom motifs, and a forest-green chain ending in a wax seal.
Illustration (decorative, not from the paper)

Quantum algorithms can only be tested on classical computers at small scale, which has limited AI search for new ones to circuits that can be simulated. This team from Google DeepMind and Google Quantum AI built a library in the Lean theorem prover, based on quantum Hoare logic, in which a program’s correctness and its resource cost are proved rather than tested.

Researchers write a formal specification, then launch teams of Gemini 4 agents that synthesize programs against it and iterate on feedback from the Lean kernel. The teams share solutions, partial results and dead ends through a wiki and scheduled virtual conferences, while an independent verifier audits every proof against the frozen specification.

Across five problems, the agents found new programs that improve on the strongest prior baselines: up to 2.57× for parallel Grover search, 290× for computing arcsin (combining classical and formal search), and 12×, 8× and 2.5× for simulations relevant to fusion, photochemistry and drug metabolism. The paper is a preprint.

At a glance

AI system
Gemini 4 agent teams with a Lean quantum Hoare logic library
Institution
Google DeepMind and Google Quantum AI
Announced / published
Published in
Preprint (arXiv)
DOI
See primary source
Added to Buffio
Last updated

Also in: Math problems solved by AI