寻找更快的量子算法:借助智能体与形式化验证的力量
如何使用智能体团队和形式化验证提升用于模拟聚变能、化学及酶的量子算法
量子计算机或许很快就能解决经典超级计算机难以企及的问题。然而,存在一个前提条件:即便采用现有的最优量子算法,部分重要应用所需的资源仍可能超出早期量子硬件的承载能力。
在一项新研究中,我们利用 Gemini 4 智能体团队对知名量子算法进行了优化,从而构建了高效量子电路。这些经过优化的电路(即指导量子计算机执行算法的具体指令)有望在未来助力我们开展模拟运算,以应对从聚变能到药物设计等各类复杂科学挑战。为帮助社区在此基础上推进工作,我们已将 Lean 库、问题规范及经证实的解法在 GitHub 上开源。
由于无法在经典计算机或当前的小型量子处理器上测试资源消耗巨大的量子电路,我们必须通过数学证明来确认其正确性。我们的智能体团队借助 Lean(一种形式化定理证明器)证明了各项结果。
我们选择聚焦于未来有望影响人类最重大挑战的应用领域,如清洁能源和药物设计,但我们的方法并不局限于这些问题领域。
- 我们发现了一种有助于计算惯性约束聚变一个重要属性的量子电路,惯性约束聚变是一种利用激光压缩氢燃料直至点火反应的聚变方法。我们的智能体团队将该算法所需的计算成本(一项综合考量所需量子比特数与操作次数的指标)降低了 11.8 倍,并将纠错量子比特的内存需求从 5,650 个降低至 4,338 个。
- 这些 agent 还降低了药物代谢和某些光化学反应中分子模拟的成本,而后者是经典计算机难以模拟的复杂反应。对于一种常见的光敏分子,agent 团队将量子模拟成本降低了 8 倍,简化了算法追踪粒子位置和电磁力的方式。对于细胞色素 P450(一种分解人体大多数药物的酶,在药物设计中至关重要),他们获得了 2.5× 的性能提升,并通过替换臃肿的内存查找操作将所需量子比特从 481 个降低至 333 个。
- 我们还改进了一种基础量子算法和一种广泛使用的算术构建模块。我们为 Grover 算法的特定实现找到了 2.57 倍加速,这是一种用于在未排序列表中搜索的基础量子操作;同时为 arcsin 找到了 290 倍加速,这是一个被许多其他量子算法用来将数字加载到量子态中的常用例程。
- 在科学模拟中运行这些算法仍然需要比首批纠错量子计算机可能提供的更多的计算资源,但这些改进意义重大。
- 我们对找到这些改进的方式也感到兴奋。我们用 Lean 语言构建了一个新的开源库,专用于量子算法,可供协作 agent 团队使用,使他们的构想都有数学正确性保证。然后我们可以通过为 agent 团队指定问题来设定研究方向,并监督其进展。我们在量子算法方面的知识与 agent 团队的设置方式相结合,产生了真正的科研成果。
同样的方法也可能加速量子计算研究的其他方面,以及更广泛的科学探索。经过形式化验证的AI搜索将过去需要数年人工设计的工作压缩至区区几日,使研究人员能够专注于选题与解读结果。
致谢
本研究由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在视觉素材与研究传播方面提供的帮助。
本文由 AI图鉴自动抓取并翻译,版权归原作者所有;如需查看原文请点下方链接。
Finding faster quantum algorithms with agents and formal verification
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.
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.
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.
Auto-fetched and translated by AI Atlas. All rights belong to the original author.