2026年11月23日
科学
利用智能体与形式化验证寻找更快的量子算法
谢尔盖·希罗博科夫(Sergey Shirobokov)、本·贾德伯格(Ben Jaderberg)和瑞安·巴布什(Ryan Babbush)
阅读论文
分享
如何利用智能体团队和形式化验证来改进用于模拟聚变能、化学和酶的量子算法
量子计算机可能很快就能解决经典超级计算机无法触及的问题。然而,这里有一个前提条件:即使使用最佳的量子算法,某些重要应用所需的资源仍超过早期量子硬件所能支持的范围。
在一篇新论文中,我们利用 Gemini 4 智能体团队改进了著名的量子算法,创建了高度高效的量子电路。这些经过优化的电路是指量子计算机执行算法的指令,未来可能帮助我们运行模拟,以解决从聚变能到药物设计等复杂的科学挑战。为了帮助社区在此基础上开展工作,我们在 GitHub 上开源了我们的 Lean 库、问题规范以及经过验证的解决方案。
由于我们无法在经典计算机或当今的小型量子处理器上测试资源密集型的量子电路,我们必须通过数学证明其正确性。我们的智能体团队使用形式化定理证明器 Lean 证明了每一个结果。
利用智能体团队改进量子算法 针对每个问题,我们指派了独立且互不干扰的智能体团队来寻找算法改进方案。这些想法随后通过 Lean 进行验证,然后进入共享笔记本。每四小时,来自各个团队的智能体会在虚拟会议上聚集,进行交易、辩论和比较想法。随着团队随着时间的推移产生更有效的想法,计算成本逐渐下降,直到实验结束。
利用智能体团队改进量子算法 针对每个问题,我们指派了独立且互不干扰的智能体团队来寻找算法改进方案。这些想法随后通过 Lean 进行验证,然后进入共享笔记本。每四小时,来自各个团队的智能体会在虚拟会议上聚集,进行交易、辩论和比较想法。随着团队随着时间的推移产生更有效的想法,计算成本逐渐下降,直到实验结束。
利用智能体团队改进量子算法 针对每个问题,我们指派了独立且互不干扰的智能体团队来寻找算法改进方案。这些想法随后通过 Lean 进行验证,然后进入共享笔记本。每四小时,来自各个团队的智能体会在虚拟会议上聚集,进行交易、辩论和比较想法。随着团队随着时间的推移产生更有效的想法,计算成本逐渐下降,直到实验结束。
利用智能体团队改进量子算法 针对每个问题,我们指派了独立且互不干扰的智能体团队来寻找算法改进方案。这些想法随后通过 Lean 进行验证,然后进入共享笔记本。每四小时,来自各个团队的智能体会在虚拟会议上聚集,进行交易、辩论和比较想法。随着团队随着时间的推移产生更有效的想法,计算成本逐渐下降,直到实验结束。
我们选择专注于那些可能有一天会影响人类面临的最严峻挑战的应用领域,如清洁能源和药物设计,但我们的方法并不局限于这些问题领域。
我们发现了一个量子电路,它有助于计算惯性约束聚变的一个重要特性。惯性约束聚变是一种利用激光压缩氢燃料直至点燃的聚变反应方法。我们的智能体团队将所需的计算成本(一个结合所需量子比特数和操作数的指标)降低了11.8倍,并将所需的纠错量子比特内存从5,650个降低至4,338个。
这些智能体团队还降低了模拟药物代谢和某些光化学反应中分子的计算成本,后者是经典计算机难以模拟的复杂反应。对于一种常见的光敏分子,智能体团队使量子模拟的成本降低了8倍,简化了算法追踪粒子位置和电场力的方式。对于细胞色素P450(一种分解大多数人类药物的酶,对药物设计至关重要),他们通过将笨重的内存查找替换掉,实现了2.5倍的性能提升,并将所需的量子比特数从481个降低至333个。
我们还改进了一个基础量子算法和一个广泛使用的算术构建模块。对于Grover算法的一种特定实现——这是一种在无序列表中搜索的基础量子操作——我们实现了2.57倍的速度提升;对于arcsin(一种被许多其他量子算法用于将数字加载到量子态中的常用例程),我们实现了290倍的速度提升。
在科学模拟中运行这些算法仍然需要比首批纠错量子计算机可能提供的更多的计算资源,但这些改进意义重大。
我们对发现它们的方式也感到兴奋。我们构建了一个新的、开源的Lean库,用于支持协作智能体团队使用的量子算法,从而使他们的想法得到数学正确性保证的支持。随后,我们可以通过为智能体团队指定问题来设定研究方向,并监督他们的进展。我们对量子算法的知识,结合我们设置智能体团队的方式,带来了真正的科学成果。
同样的方法也可以加速量子计算研究的其他方面,以及更广泛的科学发现。经过证明检查的AI搜索压缩了曾经需要数年人工设计的工作,使研究人员能够专注于选择问题和解释结果。
阅读全文
访问Lean框架
致谢
这项研究是Google DeepMind与Google Quantum AI之间的合作成果。这项工作反映了论文作者的贡献:Sergey Shirobokov、Ben Jaderberg、Katerina Hristova、George Tsoukalas、Johannes Bausch、Eric Wieser、Francisco J. H. Heras、Nicholas C. Rubin、Guang Hao Low、Sébastien Racanière、Nenad Tomašev、Lei M. Zhang、James D. Watson、Tanuj Khattar、Aws Albarghouthi、Stavan Jain、Harun Khan、Leopoldo Sarra、Andrew W. Senior、Michael Broughton、Hussain Masoom、Sergio Boixo、Ryan Babbush、Swarat Chaudhuri和Pushmeet Kohli。
我们还要感谢Kevin Ishimwe、Ibrahim Alkhashem和Matthew Harrigan对Lean库的反馈与讨论,Emilien Dupont和Sebastian Nowozin对稿件的反馈,以及Brendan Tracey关于聚变应用方面的建议。最后,我们要感谢Uchechi Okereke、Ali Douraghy和Andy Song在法律和政策方面的支持,以及Alex Wilkins、Evie Gray、Danielle Breen、Dimple Vijaykumar、Muinat Abdul、Jason Freidenfelds、Chris Kwaku-Abdullahi和Rob Ashley在视觉呈现和传播这项工作方面提供的帮助。
相关文章
AlphaEvolve:一款由Gemini驱动的代码智能体,用于设计高级算法
2025年5月
科学
了解更多
AI达到国际数学奥林匹克竞赛银牌标准水平
2024年7月
科学
了解更多
AlphaQubit攻克量子计算面临的重大挑战之一
2024年11月
科学
了解更多
November 23, 2026
Science
Finding faster quantum algorithms with agents and formal verification
Sergey Shirobokov, Ben Jaderberg and Ryan Babbush
Read the paper
Share
How using agent teams and formal verification can improve quantum algorithms for modelling fusion energy, chemistry and enzymes
Quantum computers could soon solve problems beyond the reach of classical supercomputers. However, there is a catch: even when using the best quantum algorithms, some important applications still require more resources than early quantum hardware will be able to support.
In a new paper, we used teams of Gemini 4 agents to improve well-known quantum algorithms, creating highly efficient quantum circuits. These optimized circuits, which are instructions for how a quantum computer should carry out an algorithm, could one day help us run simulations that solve complex scientific challenges, from fusion energy to drug design. To help the community build on this work, we are open-sourcing our Lean library, problem specifications, and verified solutions on GitHub.
Because we cannot test resource-intensive quantum circuits on classical computers or today's small quantum processors, we have to prove that they work mathematically. Our agent teams proved each result using Lean, a formal theorem prover.
Improving quantum algorithms using agentic teams For each problem, we tasked separate, independent agent teams with finding algorithmic improvements. These ideas were then verified with Lean, before entering a shared notebook. Every four hours, agents from each team met at a virtual conference to trade, debate and compare ideas. As teams produced more effective ideas over time, the computational cost gradually fell until the experiment finished.
Improving quantum algorithms using agentic teams For each problem, we tasked separate, independent agent teams with finding algorithmic improvements. These ideas were then verified with Lean, before entering a shared notebook. Every four hours, agents from each team met at a virtual conference to trade, debate and compare ideas. As teams produced more effective ideas over time, the computational cost gradually fell until the experiment finished.
Improving quantum algorithms using agentic teams For each problem, we tasked separate, independent agent teams with finding algorithmic improvements. These ideas were then verified with Lean, before entering a shared notebook. Every four hours, agents from each team met at a virtual conference to trade, debate and compare ideas. As teams produced more effective ideas over time, the computational cost gradually fell until the experiment finished.
Improving quantum algorithms using agentic teams For each problem, we tasked separate, independent agent teams with finding algorithmic improvements. These ideas were then verified with Lean, before entering a shared notebook. Every four hours, agents from each team met at a virtual conference to trade, debate and compare ideas. As teams produced more effective ideas over time, the computational cost gradually fell until the experiment finished.
We chose to focus on applications that could one day impact some of humanity’s greatest challenges, such as clean energy and drug design, but our method is not limited to these problem areas.
We found a quantum circuit that helps calculate an important property of inertial confinement fusion, a fusion reaction method that uses lasers to compress hydrogen fuel until ignition. Our agent teams cut the required computing cost (a metric that combines required qubits and operations) by 11.8×, and lowered required memory from 5,650 to 4,338 error-corrected qubits.
The agents also reduced costs for simulating molecules in drug metabolism and certain photochemical reactions, which are complex reactions that are difficult for classical computers to simulate. For a common light-sensitive molecule, the agent teams made quantum simulation 8× cheaper, simplifying how the algorithm tracks particle positions and electric forces. For Cytochrome P450, an enzyme that breaks down most human medicines and is important for drug design, they found a 2.5× improvement and lowered memory from 481 to 333 qubits, by replacing bulky memory lookups.
We also improved a fundamental quantum algorithm and a widely used arithmetic building block. We found a 2.57x speedup for a specific implementation of Grover's algorithm, a foundational quantum operation that searches through an unsorted list, and a 290x speedup for arcsin, a common routine that is used by many other quantum algorithms to load numbers into quantum states.
Running these algorithms in scientific simulations would still demand more computational resources than the first error-corrected quantum computers are likely to provide, but these improvements are significant.
We are also excited by the way in which we found them. We built a new, open-source library, in Lean for quantum algorithms which could be used by teams of collaborating agents, so their ideas were backed by mathematical correctness guarantees. We could then set the research direction by specifying the problems for our agent teams and supervise their progress. Our knowledge of quantum algorithms, combined with the way we set up our agent teams, led to real scientific results.
The same approach could also accelerate other aspects of quantum computing research, and scientific discovery more broadly. Proof-checked AI search compresses work that once took years of manual design, empowering researchers to focus on choosing problems and interpreting results.
Read the paper
Access the Lean framework
Acknowledgements
This research was a collaboration between Google DeepMind and Google Quantum AI. The work reflects the contributions of the paper's authors: Sergey Shirobokov, Ben Jaderberg, Katerina Hristova, George Tsoukalas, Johannes Bausch, Eric Wieser, Francisco J. H. Heras, Nicholas C. Rubin, Guang Hao Low, Sébastien Racanière, Nenad Tomašev, Lei M. Zhang, James D. Watson, Tanuj Khattar, Aws Albarghouthi, Stavan Jain, Harun Khan, Leopoldo Sarra, Andrew W. Senior, Michael Broughton, Hussain Masoom, Sergio Boixo, Ryan Babbush, Swarat Chaudhuri, and Pushmeet Kohli.
We also thank Kevin Ishimwe, Ibrahim Alkhashem, and Matthew Harrigan for feedback and discussions on the Lean library, Emilien Dupont and Sebastian Nowozin for manuscript feedback, and Brendan Tracey for advice on the fusion application. Finally, we thank Uchechi Okereke, Ali Douraghy, and Andy Song for legal and policy support, and Alex Wilkins, Evie Gray, Danielle Breen, Dimple Vijaykumar, Muinat Abdul, Jason Freidenfelds, Chris Kwaku-Abdullahi, and Rob Ashley for their help with visuals and communicating this work.
Related posts
AlphaEvolve: A Gemini-powered coding agent for designing advanced algorithms
May 2025
Science
Learn more
AI achieves silver-medal standard solving International Mathematical Olympiad problems
July 2024
Science
Learn more
AlphaQubit tackles one of quantum computing’s biggest challenges
November 2024
Science
Learn more
| 刊期 | 得分 | 排名 | 结果 |
|---|---|---|---|
| 2026-12-03 | 9.4 | 34 | 未入选 |
| 2026-11-25 | 10.7 | 16 | 入选 |