DeepMind released a research framework and results in which AI agent teams improve quantum algorithms and use mathematical proofs to check correctness and cost. Researchers set the problems and goals, and circuits found by agents undergo independent verification. This approach uses proofs to compare even large problems that are difficult to test directly on quantum hardware.

1. Open tools for finding and proving circuits

The core contribution is not just new circuits but a workflow spanning search and verification. The researchers built a quantum program library on Lean, which checks mathematical proofs by machine. Each problem specifies correct outputs and resource bounds, and agents seek programs and proofs that satisfy those conditions.

The library covers quantum program correctness, qubit counts, and T gate counts. Qubits hold computational states. T gates are costly operations in environments using error correction, a procedure for reducing computational errors. Proofs check whether programs meet the required output conditions under given input conditions. The paper says this also enabled review of algorithms that classical computers or current small quantum devices cannot adequately test.

The repository contains a foundational library and a problem specification and benchmark library. Programs discovered in the paper are on a separate discoveries branch. The project uses Lean 4. The original build example follows.

lake exe cache get
lake build

2. Searches by different agent teams

After writing problem specifications, the researchers ran independent agent teams. Team structures were not fixed, and large-scale autonomous searches used the Gemini 4 Carbon model. Teams recorded the best verified results, reusable proofs, ideas, and failed attempts in a shared wiki.

Online meetings held every four hours also discussed unproven proposals. Proposals were accepted as results only after an independent verifier checked that fixed specifications, definitions, and starting assumptions of proofs had not changed. Sharing spread ideas, while external verification filtered out changes that weakened specifications or made computational costs appear different.

Collaboration went beyond sharing verified solutions. In photochemical simulation, one team refined and proved a proposal another team had raised at a meeting, leading to a large cost reduction. This reflected the value of sharing completed proofs and ideas still under exploration through separate channels.

3. Lower computational costs in applications

The paper compared results using logical spacetime cost: the maximum logical qubit count multiplied by the T gate count. This metric captures both computational space and operation count. According to the company, costs fell by factors of 11.8x for fusion simulation, about 8x for photochemistry, and about 2.5x for drug metabolism relative to prior algorithms for each problem.

Fusion simulation switched to calculating interactions by moving electrons onto a position grid. According to the company, the required error-corrected qubit count fell from 5,650 to 4,338. For cytochrome P450, a drug-metabolizing enzyme, replacing large memory lookups also cut the count from 481 to 333.

4. Applications to arithmetic and parallel search

For arcsin, an inverse trigonometric function used to encode numbers in quantum states, the search had two stages. It began with restricted circuits that could be tested quickly on classical computers, then used Lean proofs to remove restrictions and find better circuits. The paper gives the following costs for two circuits under the same input and error conditions.

Table: Resources for arcsin computation before and after removing circuit restrictions

Conditions: 25-bit input, input range [-1,1], maximum absolute error at most 1.25×10⁻⁷, paper Table S2

Unit: Qubit and gate counts in individual units; cost in logical qubit count × T gate count

Applications to arithmetic and parallel search
CircuitLogical qubit countT gate countCost
Restricted circuit1004,152415,200
Unrestricted circuit1003,698369,800

Reducing gates in the coefficient lookup portion by 33% lowered total cost by a further 11%. According to the company, the final circuit improved on the literature baseline by about 290x. The prior circuit used for comparison provides a cost lower bound at an error of about 10⁻⁶, while the new circuit uses a stricter error target.

The researchers also improved parallel Grover search, a method using quantum states to find answers in an unsorted list. They compared average repetitions of batches of queries that identify answers, under conditions guaranteeing success and with large search spaces. Parallel query counts and target counts were each evaluated at powers of 2 from 1 to 1,024. The paper reports improvements of up to 1.22x for finding one target and up to 2.57x for finding all targets over the best prior method.

5. Researchers’ role and remaining costs

Automated search reduces the burden of manually designing circuits and tracking resource use. It also makes it more important for researchers to define problems and specifications accurately and interpret results. Agents optimize the goals in specifications, so researchers must ensure those goals faithfully reflect real scientific problems.

The practical significance also lies in the changed research workflow. Sharing verified results lets other teams build on existing proofs to seek better solutions and compare costs without running large circuits on actual hardware. However, the paper states that simulation resource requirements exceed the expected capabilities of early error-corrected quantum computers. Specifying error-correction codes, qubit placement, and routing—the paths connecting operations—for actual devices also remains future work.

This research combines agent search with formal proofs to make quantum algorithm improvement a reproducible collaborative effort.