← Latest papers
⚛️ quantum physics

Discovering formally verified quantum programs with AI

This paper demonstrates how large language model agents, operating within a formal verification framework in the Lean theorem prover, can autonomously discover and mathematically prove the correctness of novel quantum programs that achieve significant performance improvements over existing baselines in scientific applications like quantum arithmetic and fusion simulation.

Original author: 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.
Published 2026-11-09
📖 4 min read🧠 Deep dive

Original author: 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 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

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). ✨ This is an AI-generated explanation of the paper below. It is not written or endorsed by the author. For technical accuracy, refer to the original paper. Read full disclaimer

Quantum computers promise to solve problems that are currently impossible for the machines we use every day, from designing new medicines to modeling the behavior of stars. However, building a machine that can actually do these tasks is incredibly difficult. The hardware is still in its infancy, prone to errors, and far too small to handle the massive calculations required for real-world science. To bridge this gap, scientists need better algorithms—step-by-step instructions that tell the quantum computer how to solve a problem using the fewest possible resources. For decades, finding these instructions has been a slow, manual process, relying on the intuition and hard work of human experts who spend years refining a single idea.

The challenge is that these algorithms are so complex that even the most powerful classical computers cannot test them to see if they work correctly before the quantum hardware is ready. This creates a catch-22: we need better algorithms to make the hardware useful, but we cannot verify the algorithms without the hardware. A team of researchers at Google has now broken this cycle by combining artificial intelligence with rigorous mathematical proof. They have created a system where AI agents act as researchers, writing and testing quantum programs in a language that a computer can check for absolute correctness. This approach allows them to discover new, highly efficient algorithms for scientific problems that are far too large to be simulated on any existing computer.

The researchers built a digital laboratory where teams of AI agents collaborate to solve specific scientific puzzles. Instead of just guessing and checking, these agents work within a strict framework called a theorem prover. Think of this framework as a rulebook that demands every single step of a proposed solution be mathematically proven to be correct before it is accepted. The agents are tasked with writing quantum programs that simulate physical systems, such as how particles interact in a fusion reactor or how a drug molecule breaks down in the body. If an agent proposes a program that saves time or uses fewer resources, the system immediately checks the math. If the proof holds, the solution is saved; if it fails, the agent learns from the error and tries again. This process happens in a shared workspace where different teams of agents can see each other's progress, share ideas, and build upon one another's discoveries, much like human scientists at a conference.

Using this method, the team tackled five major scientific challenges. In one case, they improved a fundamental mathematical operation used in many quantum algorithms, making it nearly three hundred times more efficient than the best previous method. In another, they optimized a search algorithm, finding solutions that were up to 1.4 times faster than the strongest known alternatives. The most significant achievements came in simulating complex physical phenomena. For a simulation relevant to nuclear fusion, which involves tracking the energy loss of particles moving through hydrogen, the AI discovered a program that reduced the required resources by nearly eleven times. For a simulation of a chemical reaction involved in photochemistry, the improvement was eight times better. Finally, for a model of a key enzyme that helps the human body process medicines, the AI found a solution that was nearly 2.5 times more efficient.

These results are not just theoretical improvements; they represent a shift in how scientific discovery can happen. The programs discovered by the AI are so complex that they involve thousands of logical components, far beyond what current quantum computers can run. Because the AI's work is backed by formal mathematical proofs, researchers can trust that these programs will work correctly once the hardware catches up. The system effectively allows scientists to design algorithms for machines that do not yet exist, shortening the path to practical quantum computing. By automating the search for these solutions and verifying them with mathematical certainty, the researchers have shown that artificial intelligence can accelerate the development of quantum technology, turning what was once a slow, manual struggle into a rapid, collaborative discovery process.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →