Google DeepMind published a blog post on 23 November about using teams of Gemini 4 agents to improve quantum algorithms. Every result was proved correct in Lean, a formal theorem prover. The paper behind it, “Discovering formally verified quantum programs with AI”, went up on arXiv on 6 November and was revised twice, most recently on 16 November.
The abstract lists five results. Parallel Grover search improves by up to 2.57×. Simulations relevant to fusion, photochemistry and drug metabolism improve by 12×, 8× and 2.5×. The biggest number belongs to quantum arithmetic: a 290× cost reduction for computing arcsin. The blog calls it “a 290x speedup for arcsin, a common routine that is used by many other quantum algorithms to load numbers into quantum states.”
290× is the number people will quote, so I wanted to know where it comes from. The paper explains this better than most launch materials do. Section 2.2 and Appendix F break the reduction into steps, and once you lay the steps side by side, the story isn’t really about formal proof.
What is being measured
The task is to compute arcsin(y) on a quantum superposition of inputs, where y is a 25-bit fixed-point number in [−1, 1] and the output must be accurate to within 1.25 × 10⁻⁷. Cost is measured as spacetime cost, Q · T: the number of qubits times the number of T gates. T gates are the expensive operation in error-corrected machines.
The baseline is a piecewise-polynomial construction from Häner, Roetteler and Svore’s 2018 paper “Optimizing Quantum Circuits for Arithmetic”. The DeepMind authors took one configuration from it and costed two of its submodules: an arcsin on [−0.5, 0.5] at 138,432 T gates, and a 1/√z routine at 302,144 T gates. Together that’s 440,576 T gates on a 245-qubit workspace, or 1.08 × 10⁸ in Q · T. They call it a lower bound because it leaves out persistent registers and the steps that combine the two parts, which “would further increase the cost.”
The final agent circuit uses 3,698 T gates on 100 qubits, which is 369,800. Dividing 1.08 × 10⁸ by 369,800 gives about 292, reported as 290×.
Three steps, three checkers
Arcsin is the one problem in the paper where formal proof wasn’t the only way to check a candidate. The paper says arcsin “is known to have quantum implementations that can be efficiently simulated classically by using a restricted gate set called kickmix.” Kickmix circuits are built from classical reversible gates plus certain phase corrections. Every basis input stays a single signed basis state, so a candidate can be fuzz-tested on a normal computer in seconds, with no statevector simulation.
So the authors ran the search in stages, and Appendix F.3 reports the cost after each one:
- Kickmix only. The agents searched restricted circuits and checked them with fast classical tests. Result: 498,168 (102 qubits, 4,884 T gates). That’s already 217× below the baseline, before any Lean proof is involved.
- Lean, still kickmix-shaped. The agents moved into the formal library and kept optimizing. They got to 415,200 (100 qubits, 4,152 T gates) with circuits that, in the paper’s words, “continued using a restricted set of gates, and could still be translated to kickmix.” That’s 260× below the baseline, and every circuit up to here could still have been checked classically.
- Lean only. Then the agents “truly took advantage of our library,” and produced circuits that kickmix can’t express or simulate efficiently. The coefficient lookup was rebuilt with 41 inner-product gadgets and took 33% fewer gates. Total cost fell by 11% to 369,800.
That 11% is a factor of 1.12. It’s the only part of the arcsin result that needed a theorem prover to check.
On a multiplicative scale the split is easy to state. Of the total log reduction from the baseline to the final circuit, 94.8% happened in the classically tested kickmix stage, 3.2% in the Lean stage that stayed kickmix-shaped, and 2.0% in the stage that needed Lean.
The paper doesn’t hide any of this. Its discussion says so directly: “Where classical simulation can check candidate circuits, as with arcsin, numerical testing with formal proving on top is effective. For asymptotic bounds and general algorithms on hundreds or thousands of qubits, formal proof is essential.” Where it goes wrong is the summary. The abstract and the blog post present 290× next to the Lean story, and a reader would reasonably assume the prover earned most of it.
The other half: the baseline
The second question is how strong the baseline was. That’s where most of the 290× sits.
Häner and colleagues’ 2018 method is a general recipe for compiling arithmetic into quantum circuits. As far as I can tell, nobody had published an arcsin circuit tuned for this exact setting (25 bits, the full [−1, 1] range, 1.25 × 10⁻⁷ error). So the 2018 construction really is the “best-known published baseline,” as the paper says. But “best published” and “strong” aren’t the same thing. The paper also notes that agents producing compact arithmetic circuits from kickmix feedback “is already known.” It cites two October 2026 preprints, Gu and colleagues and Khattar and colleagues, and says the approach “has also been applied to a related arcsin(c/X) subroutine, but on a restricted input range rather than [−1, 1].” So the technique that produced 217× existed a few weeks before this paper. It just hadn’t been aimed at this particular arcsin.
Two things in the comparison do favor the baseline. It’s a lower bound that leaves out registers and combination steps. And it was costed at an error of about 10⁻⁶, while the agent circuits had to meet 1.25 × 10⁻⁷, a stricter target. A version of the 2018 construction costed at matched accuracy would presumably cost more, which would make the real gap larger. On accuracy, the comparison is conservative.
The open question is the other way a baseline can go wrong. Nick McGreivy and Ammar Hakim’s 2024 review of machine learning for fluid-dynamics equations in Nature Machine Intelligence sets out two rules for a fair speed comparison: compare at equal accuracy or equal runtime, and compare against an efficient, state-of-the-art method. Of 76 papers claiming to beat a standard numerical method, 60 (79%) broke at least one of the rules. They also found that “articles receiving a ‘✓’ tend to have quantitatively smaller relative improvements than articles that receive a ‘✗’, suggesting that the more impressive the result, the more likely the article used a weak baseline.” The arcsin result passes the first rule. The second rule is the question: the comparison is against a general 2018 recipe that nobody had hand-tuned for this case, not against an optimized arcsin.
That pattern shows up within the DeepMind paper too. For the three scientific applications, the authors went past the published numbers. They improved the photochemistry baseline using its authors’ later work. For cytochrome P450 they folded in recent compilation improvements, “which roughly halve the cost,” before measuring against it. Those are the problems where the baselines got the most attention, and they’re also where the factors are 11.8×, 8.22× and 2.49× instead of 290×.
Where the prover earns its keep
None of this makes the work less interesting to me. It changes which part of the paper I’d point to.
The fusion problem simulates an alpha particle and 218 electrons among 216 fixed protons. Its baseline circuit needs 5,650 logical qubits, and the agents’ version needs 4,338. A machine that doesn’t exist yet would be needed to run either one, so nobody can test these circuits by running them, and classical simulation is out of the question. There, Lean is the only checker available, and an 11.8× reduction against a carefully built baseline is a real result. The parallel Grover bounds are asymptotic claims, which no finite test can check at all. Those are the results that depend on the formal library.
The paper also shows why proofs alone don’t settle a claim. Its Appendix B sorts the flawed candidates into two groups. Some were broken proofs or script-based estimates that skipped local Lean checks. Others were “loopholes in the specifications themselves (such as exploiting how Toffoli gates were counted without improving the circuit), which researchers and teams closed by revising the specification.” A checker certifies that a program meets its spec. Whether the spec measures the right thing is still a human job, the same gap I wrote about with OpenAI’s machine-checked math papers.
The metric has the same caveat. Q · T counts qubits and T gates and ignores everything else. Yunseong Nam and colleagues’ 2018 work on automated circuit optimization in npj Quantum Information notes that a fault-tolerant T gate may cost from 46 to 350 times as much as a local fault-tolerant CNOT, and warns that neglecting CNOT cost “may lead to a significant underestimate.” The DeepMind paper says something similar about its own metric: early machines are likely to be short of qubits more than gates, and some architectures would favor qubits times T depth instead. None of that undoes the arcsin result. It does mean “290× cheaper” is a ratio in one cost model, not a measured speedup on hardware.
What the 290× supports
I’d summarize the arcsin result like this. A 2018 general arithmetic construction, costed as a lower bound, needs about 1.08 × 10⁸ qubit-T-gates. Agent search checked by fast classical tests got that down to about 500,000. Moving into the formal library let the agents reach circuits classical testing can’t check, and that took the cost from 415,200 to 369,800. All of it is verified and open-sourced, and the final 1.12× is a nice piece of circuit design.
What the number doesn’t show is that formal verification produced a 290× improvement. On this problem it contributed a factor of about 1.12, and the paper says as much in its appendix and discussion. The case for the Lean library rests on the fusion, chemistry and Grover results, where nothing else could have checked the work. That case is solid. It just doesn’t need the arcsin number, and the arcsin number mostly measures how far a 2018 recipe sat from a well-searched circuit.
References
- Shirobokov S, Jaderberg B, Babbush R. “Finding faster quantum algorithms with agents and formal verification.” Google DeepMind blog, 23 November 2026. Read 2 December 2026. deepmind.google
- Shirobokov S, Jaderberg B, et al. “Discovering formally verified quantum programs with AI.” arXiv:2611.09822, v1 6 November 2026, v3 16 November 2026; Sections 2.2–2.5, 3, Appendix B and Appendix F (Table S2). arxiv.org/abs/2611.09822
- Häner T, Roetteler M, Svore KM. “Optimizing Quantum Circuits for Arithmetic.” arXiv:1805.12445, 31 May 2018. arxiv.org/abs/1805.12445
- Gu A, Kemeny AH, Yelin SF, Lukin MD. “Discovering state-of-the-art quantum circuits with large language models.” arXiv:2610.22367, 15 October 2026. arxiv.org/abs/2610.22367
- Khattar T, Rubin NC, Gidney C, et al. “Leveraging verifiable structure in quantum circuits to find more efficient compilations with agentic AI.” arXiv:2610.23832, 16 October 2026. arxiv.org/abs/2610.23832
- McGreivy N, Hakim A. “Weak baselines and reporting biases lead to overoptimism in machine learning for fluid-related partial differential equations.” Nature Machine Intelligence 6(10):1256–1269, 25 September 2024.doi:10.1038/s42256-024-00897-5
- Nam Y, Ross NJ, Su Y, Childs AM, Maslov D. “Automated optimization of large quantum circuits with continuous parameters.” npj Quantum Information 4:23, 10 May 2018.doi:10.1038/s41534-018-0072-4
原文来源:gautamparab.com