Google DeepMind and Google Quantum AI say teams of Gemini 4 agents produced lower-cost quantum algorithms for five problems, with Lean proofs checking each program’s correctness and resource bounds. The November 23 announcement accompanies a paper first posted to arXiv on November 6 and revised to version 3 on November 16. The results are mathematical circuit and resource estimates; the researchers say the full scientific simulations still exceed what early fault-tolerant quantum computers are expected to run.
That distinction matters because the circuits are too large to validate by simply running them on today’s machines, and some cannot be checked through classical simulation at useful scale. Instead, the researchers formalized a language for quantum programs and a logic for proving what those programs do. Agents could then search for candidate programs, while a theorem prover checked them against specifications written by the researchers.
The specification and verifier constrain the search
The team built a library in Lean, a proof assistant, using quantum Hoare logic to describe a program’s preconditions, operations and postconditions. The framework also counts resources such as qubits and T gates, including bounds across branches and loops. A problem specification states what a valid circuit must accomplish and which resource limit it should meet; the agents fill in a candidate program and proofs.
Researchers launched independent agent teams with high-level optimization prompts. They could use analytical derivations, simulation or numerical optimization, share verified results and dead ends through a wiki, and discuss ideas at scheduled virtual conferences. A separate comparator then checked submitted proofs against the frozen specification, including that a team had not weakened a theorem, changed a definition or introduced an unapproved axiom. The paper says the large-scale runs used Gemini 4 Carbon models.
Formal verification provides a strong guarantee about the claim encoded in the specification: if the proof checks, the program meets that stated correctness and cost theorem under the library’s formal assumptions. It does not independently establish that a scientific model captures all of nature, that the chosen problem is the right one, or that a future physical device will match the cost model. The researchers still choose the questions and interpret the results.
Reported improvements span search, arithmetic and simulation
The paper reports up to a 2.57-fold improvement for a parallel Grover search implementation and a 290-fold reduction in the resource cost of an arcsin arithmetic routine. DeepMind’s post says the fusion calculation’s required-computing-cost metric fell 11.8-fold, with the stated logical-memory estimate dropping from 5,650 to 4,338 error-corrected qubits. It also reports an eight-fold reduction for a light-sensitive molecule simulation and a 2.5-fold improvement for Cytochrome P450, an enzyme involved in drug metabolism.
These multiples describe specific circuit constructions and comparisons, not a universal speedup for quantum computing. For fault-tolerant circuits, the paper uses a logical spacetime-volume measure based on qubits multiplied by T gates; that is a resource proxy, not measured wall-clock time, energy use or cost on deployed hardware. The post’s fusion memory figures are likewise modeled logical-qubit requirements, not qubits already available in a machine.
The approach can search beyond the small circuits that are practical to simulate classically, but it does not remove the hardware gap. DeepMind explicitly says the reported scientific simulations remain more demanding than the first error-corrected machines are likely to support. Better algorithms can lower future requirements; they do not make the required machines exist today.
Open proofs, closed questions
Google has published a Lean 4 library for formal specifications and verification. Its repository separates the core library and challenge specifications, and points readers to a discoveries branch for programs described in the paper. That makes parts of the verification framework and outputs available for inspection, although reproducing a result still requires understanding the formal definitions, dependencies, and exact baseline used.
For software and research teams, the notable design pattern is not simply “let agents optimize code.” The human-written specification defines what counts as a valid answer, a machine-checkable verifier rejects invalid submissions, and a separate workflow can compare resource costs. This architecture is useful only where a problem can be expressed precisely enough for a proof to say something meaningful.
The paper is an arXiv preprint and the work is from Google researchers; the reported improvements have not been independently reproduced in the sources reviewed here. The formal checks strengthen the internal correctness argument, while peer review, independent replication and practical hardware demonstrations remain separate questions.
How can teams test an AI agent harness before shipping it?
VIBPS’s guide to testing an agent harness covers evaluation practice before a system ships. This report focuses on a narrower research method: using machine-checked proofs to validate algorithms agents discover for quantum programs.
