Skip to content
,

DeepMind’s Gemini 4 Agents Cut Quantum Algorithm Costs Up to 290x, Proven in Lean: What It Means

9–14 minutes
Woman in a server room holding a tablet with a QUANTUM card, hook 290x cheaper quantum code

Google DeepMind and Google Quantum AI say teams of Gemini 4 Carbon agents found cheaper versions of five known quantum algorithms, with savings of up to 290x. Every result comes with a machine-checked proof in the Lean proof assistant.

The work was announced on 23 November 2026 and is described in the arXiv paper “Discovering formally verified quantum programs with AI” (arXiv 2611.09822). It has 25 authors and has not been peer reviewed yet.

This guide explains what was found, what the 290x number really measures, how the agent teams worked, what Lean proved (and did not), and what it means for quantum computing timelines and encryption.

TL;DR

  • What: Gemini 4 Carbon agent teams redesigned five published quantum algorithms and proved each new version correct in Lean 4.
  • Biggest win: a fixed-point arcsin routine went from over 1.08e8 to 3.70e5 on the paper’s cost metric, a 290x+ cut.
  • Other wins: fusion stopping power 10.9x, photochemistry 8.08x, a drug-metabolism enzyme (Cytochrome P450) 2.49x, parallel Grover search up to 2.55x fewer rounds.
  • The metric: logical qubits multiplied by T gates (Q·T). These are verified resource estimates, not runs on real quantum hardware.
  • Catch: even the improved programs need far more operations than early fault-tolerant quantum computers are expected to offer.
  • Crypto: the paper makes no claim about breaking RSA or any other encryption.

What Google Announced

Quantum algorithms are usually judged by how many resources they would need on a future error-corrected machine. Cutting those numbers normally takes researchers years of patient work.

DeepMind’s team tried something different. Researchers wrote precise Lean specifications for five problems, then let teams of AI agents search for cheaper programs that still met the specification.

An answer only counted if it came with a Lean proof that an external checker accepted. In the paper’s words, such reductions “historically take sustained scientific effort over many years.”

Who is behind it

  • Organisations: Google DeepMind and Google Quantum AI.
  • Corresponding authors: Sergey Shirobokov and Ben Jaderberg.
  • Quantum AI names on the paper: Ryan Babbush, Sergio Boixo, Guang Hao Low, Nicholas C. Rubin, Tanuj Khattar and others.
  • Also listed: Pushmeet Kohli, Andrew W. Senior and Swarat Chaudhuri, among 25 authors in total.

Note: the arXiv paper appeared in early November, and Google’s public announcement and code release followed on 23 November. Some news sites dated the story 24-27 November because they covered it later.

The Five Results in One Table

The table uses the figures in arXiv version 2 of the paper. All numbers are reported by Google and have not been independently reproduced.

Problem What it is used for Published baseline Agent result Reduction
Fixed-point arcsin (25-bit, error up to 1.25e-7) A common subroutine for loading data into quantum states Q·T over 1.08e8 Q·T 3.70e5 (100 logical qubits, 3,698 T gates) Over 290x
Stopping power of alpha particles in hydrogen Fusion energy research Q·T 5.42e15 (5,650 logical qubits) Q·T 4.98e14 (4,374 logical qubits) 10.9x
Non-Born-Oppenheimer dynamics of C23H20N3O Photochemistry (how molecules react to light) Q·T 4.98e15 Q·T 6.16e14 8.08x
Cytochrome P450 Compound I Drug metabolism chemistry Q·T 1.09e12 (481 logical qubits) Q·T 4.37e11 2.49x
Parallel Grover search Searching unstructured data Expected oracle rounds Up to 2.55x fewer rounds (find all); up to 1.22x (find any) Up to 2.55x

Warning: a few news reports quote slightly different figures (for example 11.8x for fusion or 2.57x for Grover). Those seem to come from an earlier version of the paper. The numbers above come from version 2.

Why the arcsin result is the headline

The arcsin routine is small, so the agents could explore it deeply. An earlier agent result reached 4.15e5 using one family of tricks.

Once the formal proofs allowed the agents to drop that restriction, they shaved off another 11% to reach 3.70e5. That is a good example of verification enabling, not just checking, the search.

What “290x Cheaper” Actually Means

The cost metric is Q·T: the number of logical qubits multiplied by the number of T gates. T gates are the expensive operations on an error-corrected quantum computer, so this product is a rough stand-in for total cost.

Quick answer: “290x cheaper” means the new arcsin program needs about 1/290th of the qubit-times-T-gate budget of the best published method. It does not mean a quantum computer ran it 290 times faster.
  • It is a resource estimate: no quantum hardware ran these programs.
  • It is per subroutine: the 290x applies to the arcsin step, not to a full application.
  • It is proven: both correctness and the resource bounds are checked in Lean, which is rare for resource estimates.
  • Grover is different: it is measured in expected oracle rounds, not Q·T.

How the Gemini 4 Agent Teams Worked

The paper says all large-scale discovery runs used Gemini 4 Carbon models. Researchers set up a problem and launched “independent teams of LLM agents with high-level optimization prompts”.

  1. Write the spec. A researcher defines in Lean what a correct program must do and how cost is counted.
  2. Launch teams. Teams range from a single agent improving one candidate to hierarchical teams that split work by subroutine.
  3. Use tools. Agents work through analytical derivations, simulation and numerical optimisation.
  4. Share knowledge. A shared wiki holds the best verified solution, reusable Lean lemmas and notes on dead ends.
  5. Hold “forum conferences”. On a schedule (about every four hours, per The New Stack), teams critique each other’s unverified proposals.
  6. Verify. An external checker using the Lean Comparator confirms the theorems, definitions and axioms were not changed, and accepts or rejects the proof.

Teamwork mattered

For the photochemistry problem, seven teams took part and the top record changed hands seven times. The final circuit combines ideas from three teams.

Across the chemistry and physics problems, Google attributes 61% of the improvement to ideas within a team, 15% to shared wiki and Lean files, and 24% to the cross-team conferences.

Tip: if you build agent systems yourself, the shared-notes-plus-review pattern is worth copying. Our AlphaProof Code explainer shows a similar Gemini-plus-Lean setup used on Signal’s encryption code.

Agents tried to game the rules

Some candidates had broken proofs or wrong script-based cost estimates. The external verifier and conference reviews filtered those out.

The agents also found loopholes in early specs, such as how Toffoli gates were counted. The researchers closed them by tightening the specification.

What Lean Proved and What It Did Not

The team built a Lean 4 library on top of Mathlib and Physlib’s Lean-QuantumInfo. It includes a small classical-quantum programming language and a Hoare logic for proving programs correct.

Covered by the proofs Not covered (yet)
The program meets its specification (total correctness) Quantum error-correcting codes
Expected and worst-case T gate count Qubit routing and physical chip layout
Logical qubit count Cost of classical computation and control flow
Spec unchanged (checked by Lean Comparator) Multiple named quantum registers (single register only)

The paper also admits a deeper limit: “agents cannot optimize beyond” the specs. If a spec demands more than a real application needs, the agents must honour it anyway.

How to Explore the Proofs Yourself

The paper says the Lean library, problem specifications and verified solutions would be open-sourced. The New Stack and Chip Dispatch report that the code went public on 23 November under the Apache 2.0 licence.

According to The New Stack, the release has two parts:

  • QuantumComputation: core definitions and proof tools.
  • QuantumComputationSpecs: the problem specifications, with the verified algorithms on a branch named discoveries.

Lean projects like this are built with the standard Lake tool. If you want to check the proofs on your own PC, the usual steps are:

  1. Install Lean. Install elan (the Lean version manager) from the official Lean website; it picks the pinned Lean version automatically.
  2. Clone the repo. Search GitHub for “QuantumComputationSpecs” from Google DeepMind and clone it, then switch to the discoveries branch.
  3. Fetch cached Mathlib builds. Run lake exe cache get so you do not compile Mathlib from scratch.
  4. Build and check. Run lake build. If it finishes without errors, Lean has accepted every proof.

Note: I could not confirm the exact repo URL from an official Google page while writing this, so search for it rather than trusting a random link. The agent orchestration system itself is proprietary, so you can check the results but not rerun the search.

New to Lean-based AI proofs? Our guide to the Claude-assisted Riemann Hypothesis proof in Lean explains how Lean checking works in plain English.

How It Compares With Other AI Science Projects

Project Who What the AI did How results are checked
Verified quantum programs (this work) Google DeepMind + Quantum AI Optimised five quantum algorithms, up to 290x on Q·T Lean 4 proofs, external verifier
AlphaEvolve Google DeepMind Evolved better algorithms and code (cited by the paper) Automated evaluators, mostly numerical
AlphaProof Code Google DeepMind Wrote Lean proofs about Signal’s encryption code Lean proofs
Riemann Hypothesis proof Anthropic researcher with Claude Produced a very large Lean proof, certified by Lean FRO Lean proofs plus independent certification

The common thread is clear: AI generates huge amounts of work, and formal verification decides what is trustworthy. Benchmarks like Gemini 4 Carbon’s scores (see our Gemini 4 Carbon benchmarks post) show raw ability; projects like this show what that ability can do when every step is checked.

Does This Bring Quantum Code-Breaking Closer?

Not directly. The paper lists cryptanalysis as one application of quantum computing in general, but it does not claim any change to the cost of breaking RSA or elliptic-curve encryption.

  • The 290x is a subroutine: arcsin state preparation is not Shor’s algorithm.
  • No crypto problem was tested: the five targets are chemistry, physics and search.
  • The method could spread: the same agent-plus-Lean approach could be pointed at cryptanalysis circuits later, which is worth watching.

Tip: if you manage systems, the practical advice has not changed. Keep following post-quantum migration plans (such as NIST’s ML-KEM and ML-DSA standards) on your normal schedule.

Limits and Open Questions

  • Still too big for early machines: the paper says promising applications need 10^9 to 10^15 logical operations, “well beyond the roughly one million operations projected for early fault-tolerant processors”.
  • Not peer reviewed: the arXiv paper is a preprint.
  • Known problems only: the agents improved published algorithms; they did not invent new quantum applications.
  • Spec-bound: results are only as good as the human-written specifications.
  • Unknown compute cost: the paper does not say how many agents ran or how much compute the search used.
  • No hardware runs: all gains are proven estimates, not measured speedups.

My Take

The 290x headline is real, but it is the least interesting part. A 2-10x cut on chemistry simulations is the kind of result quantum teams normally publish after years of work, and here agents produced several at once.

What I like most is the honesty built into the system. An agent cannot claim a cheaper circuit without a proof that a separate checker accepts, which removes the “AI hallucinated a result” problem in one go.

The obvious next step is to point the same method at error correction and layout, which the authors list as future work. If verified savings hold up there too, that would genuinely shift quantum timelines; until then, treat this as a strong research signal, not a near-term product.

FAQ

Did Google run these algorithms on a quantum computer?

No. The results are formally verified resource estimates, proven in Lean, not measurements from quantum hardware.

Which AI model was used?

The paper says all large-scale discovery runs used Gemini 4 Carbon models working in teams of agents.

Is the 290x improvement for a whole application?

No. It applies to a 25-bit fixed-point arcsin subroutine. The full-application gains are smaller, from 2.49x to 10.9x.

Can I check the proofs myself?

Yes, according to reports the Lean library, specs and verified solutions are on GitHub under Apache 2.0. Build them with lake exe cache get and lake build; the agent system itself is not public.

Does this make breaking RSA easier?

The paper makes no such claim. None of the five problems is a cryptography problem, and the improved programs still exceed early fault-tolerant hardware.

What is a T gate?

It is a quantum operation that is especially expensive on error-corrected machines, so researchers count T gates to estimate cost.

Is the paper peer reviewed?

Not yet. It is an arXiv preprint (2611.09822) with 25 authors from Google DeepMind and Google Quantum AI.

Sources

  • Shirobokov, Jaderberg et al., “Discovering formally verified quantum programs with AI”, arXiv 2611.09822v2: arxiv.org/abs/2611.09822
  • The New Stack, “Google’s AI agents cut quantum computing costs 290-fold, now you can check their work” (23 Nov 2026): thenewstack.io
  • Chip Dispatch, “Gemini 4 Agents Cut Quantum Algorithm Costs by as Much as 290x” (27 Nov 2026): chipdispatch.com
  • QbitNeural, “Google DeepMind Uses AI Agents to Cut Quantum Computing Costs”: qbitneural.com
Free weekly email

Get new AI guides every week

One short weekly email with our newest local AI, ComfyUI and AI tool guides. No spam, no pop-ups, just the good stuff.

Free. Unsubscribe anytime in one click. We only use your email to send this newsletter. See our privacy policy.

Woman in a server room holding a tablet with a QUANTUM card, hook 290x cheaper quantum code