Discovering formally verified quantum programs with 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
Abstract
The timeline by which quantum computers can solve breakthrough problems in science depends on improved quantum algorithms as much as on better hardware. Such algorithmic advances are typically achieved through many years of expert human collaboration. In mathematics and computer science, large language models have accelerated progress through automated discovery loops. However, quantum algorithms can only be evaluated by classical computers on restricted or small instances. Here we demonstrate automated discovery of quantum programs beyond these regimes including order-of-magnitude improvements on scientific applications. To achieve this, we build a quantum program library in the Lean theorem prover in which Gemini 4 agents synthesize novel programs against formal problem specifications and verify their correctness and cost. Agent teams collaborate, sharing results and knowledge through wikis and discussing ideas at organized conferences. Our results improve on prior baselines for parallel search (up to 2.57x), quantum arithmetic (290x), and simulations relevant to fusion, photochemistry and drug-metabolism by 12x, 8x and 2.5x respectively. Combining human and artificial intelligence at scale, under the rigor of mathematical proof, lets researchers design algorithms that today's classical and quantum computers cannot test, shortening the path to practical quantum computation.
Create a lesson
Metadata
- Categories
- quant-ph, cs.AI, cs.PL
Related papers
Classical sampling of verifiable graph-state quantum advantage experiments
Shared title terminologyquant-phZhongpu Qiu, Yuqi Qing, Jielan Li et al.
Reducing RSA-2048 Factoring Resources Below One Billion Toffolis via LLM-Driven Verifiable Quantum Compilation
Shared title terminologyquant-phXiaodi Li, Yuqing Wang, Xue Chen et al.
Weight-Space Programming of Variational Quantum Circuits: Large Language Models Write Quantum Circuit Parameters Without an Optimizer
Shared title terminologyquant-phDebarshi Kundu, Swaroop Ghosh, Vasant G Honavar
Deterministic Quantum Search for NP Problems Through Verifier-Based Oracle Construction
Shared title terminologyquant-phSoumyajyoti Chatterjee, Harishankar Mishra, Asvija Balasubramanyam et al.
Search-for-Gradient: Search-Based Restarts for Optimisation in Structured Flat Landscapes of Variational Quantum Algorithms
Shared title terminologyquant-phSubham Das, Bikash K. Behera, Andrés Camilo Granda Arango et al.
Quantum Algorithm for Direct Estimation of Energy-Level Differences via Quantum Dynamics Simulation
Shared title terminologyquant-phNorifumi Matsumoto, Yuya O. Nakagawa, Shota Kanasugi et al.