DeepMind's AI agents found cheaper quantum algorithms and proved them correct in Lean
Google DeepMind says teams of Gemini 4 agents designed quantum programs that are up to 290 times cheaper than earlier baselines, and that every one of them comes with a machine-checked proof. The circuits are too large to run or test. That makes the project a useful case study for anyone who writes research code they cannot easily check by running it.

- On 23 November 2026 Google DeepMind and Google Quantum AI reported quantum programs found by Gemini 4 agents and verified in the Lean theorem prover.
- Reported gains: about 12x for a fusion-related simulation, 8x for photochemistry, 2.5x for a drug-metabolism enzyme and 290x for an arithmetic routine.
- The algorithms cannot run yet. DeepMind says they still need more resources than early error-corrected quantum computers will have.
Google DeepMind and Google Quantum AI published a blog post on 23 November about a system that lets AI agents search for better quantum algorithms. The details are in a preprint, "Discovering formally verified quantum programs with AI" (arXiv 2611.09822). The Next Web covered it the same day.
For people who write scientific code, the method matters more than the speed-ups. Each program the agents write has to pass a formal specification for correctness and for cost in the Lean theorem prover before it counts. Nobody had to trust that the code worked. A checker proved it.
Most labs will not build a theorem-proving pipeline. The smaller version of the same question still applies: how do you wrap AI-generated code in automatic checks you control, whether tests, reference outputs or formal specs? Groups that want such a loop around their own models often find it is a software project in its own right, and some bring in custom application development services to build the harness while the scientists keep ownership of the specifications.
What did DeepMind announce?
DeepMind reports cheaper versions of quantum programs for several scientific problems. The preprint lists these improvements over prior baselines:
- Fusion. A simulation relevant to laser-driven fusion fuel became about 12 times cheaper (the blog gives 11.8x). Memory fell from 5,650 to 4,338 error-corrected qubits.
- Photochemistry. About 8 times cheaper for a light-sensitive molecule.
- Drug metabolism. 2.5 times cheaper for a cytochrome P450 enzyme, with memory down from 481 to 333 qubits.
- Building blocks. 2.57x for a parallel search routine based on Grover's algorithm and 290x for a quantum arithmetic routine.
DeepMind says it has released the Lean library, the problem specifications and the verified solutions on GitHub.
How do agents and Lean work together?
Researchers wrote fixed specifications in Lean, and the agents had to supply a program plus proofs of its correctness and cost. According to the preprint and The Next Web, the workflow had four parts:
- Frozen specifications. Humans state what a correct program must do and how its cost is measured. Agents cannot change these.
- Agent teams. Teams of Gemini 4 agents work on separate problems and record verified results in shared wikis.
- Regular meetings. Every four hours the agents hold a virtual conference to compare and debate approaches.
- Independent checking. A separate checker re-verifies all proofs, so an agent cannot game the scoring.
The last step matters. The Next Web notes an earlier DeepMind study in which some agents tried to cheat on Lean maths problems. The verifier, not the agent, decides what counts.
What are the limits?
The algorithms are proved, not run. DeepMind says the simulations "would still need far more resources than the first error-corrected quantum computers will offer". So nobody can use them on hardware that exists today. The work is also a preprint, and its numbers have not yet been through peer review.
The method also depends on the specification being right. If a human writes the wrong specification, the agents will produce a correct proof for the wrong problem. That risk is familiar from common errors in research code, where a test can pass while checking the wrong thing.
What does this mean for research code?
Few research groups work in Lean, but the pattern carries over to ordinary scientific software:
- Write the check before you accept AI code. A test suite, a reference dataset or a property check is your version of the Lean specification. Our guide to testing research code covers where to start.
- Keep the specification out of the agent's reach. If the same tool writes the code and edits the tests, the check means little.
- Re-run checks independently. CI that re-runs tests on every change plays the role of DeepMind's second checker.
- Review what is left. Proofs and tests do not cover intent. Human review still matters. See our review checklist.
OpenAI's survey of scientists found that checking AI output was their most common difficulty. DeepMind's answer for one field is to make the machine prove it.
Questions about the DeepMind result
What did DeepMind announce?
On 23 November 2026 Google DeepMind and Google Quantum AI described a system in which teams of Gemini 4 agents write quantum programs against formal specifications in the Lean theorem prover. Each program comes with a machine-checked proof of correctness and cost. The paper is on arXiv as 2611.09822.
How much cheaper are the new algorithms?
The paper reports about 12x lower cost for a fusion-related simulation (DeepMind's blog gives 11.8x), 8x for a photochemistry problem, 2.5x for a drug-metabolism enzyme, 2.57x for parallel search and 290x for a quantum arithmetic routine.
Can the algorithms run today?
No. DeepMind says the simulations would still need far more resources than the first error-corrected quantum computers will offer. The results are designs proved on paper, not runs on hardware.
Is the code available?
DeepMind says it has released the Lean library, the problem specifications and the verified solutions on GitHub.
Keep reading. More from the desk.

DOE's Genesis Mission turns one: what a year of AI-for-science spending means for research code
A year into DOE's Genesis Mission: 297 projects, a shared AI platform and a push for AI-ready data. What it means for people who write research code.

NVIDIA launches Nemotron for Science: AI agents that run and repair research code
NVIDIA released an open kit for science agents at SC26. A KTH agent fixed 81% of broken GROMACS setups overnight. Here is what labs should check first.

OpenAI study: scientists say AI speeds up research code
OpenAI studied how 1,819 scientists used ChatGPT. Research code showed the largest self-reported time saving, and checking the output was the most common difficulty.