Google DeepMind and Google Quantum AI announced on November 23, 2026 that they used the AI model Gemini 4 to improve quantum algorithms and to formally prove both their mathematical correctness and the computational resources they require (research announcement). For a quantum calculation of the properties of fusion fuel, the resource cost, expressed as the product of the number of logical qubits and the number of T gates, fell to about 1/11.8 of the previous figure. The result combines algorithm search by AI agents with Lean, a system for verifying mathematical proofs.

The research, led by Sergey Shirobokov and colleagues, has been published as the preprint "Discovering Formally Verified Quantum Programs with AI" (v3, revised November 16). It addresses algorithms to be run on future fault-tolerant quantum computers, along with theoretical upper bounds on the resources needed to run them.

The paper's main metric is , the product of the number of logical qubits and the number of T gates . A logical qubit is a unit of information protected by quantum error correction, and implementing one requires many physical qubits. A T gate is an operation that applies a specific phase change to a quantum state, and it is costly to execute in error-corrected quantum computation. Reducing both would ease the hardware requirements for running large-scale scientific calculations on quantum computers.

AD

Fusion fuel simulation: resource cost cut to about 1/11.8

For the fusion problem, the team targeted "electronic stopping power." It describes how much energy a fast alpha particle loses through interactions with electrons as it passes through fuel. In inertial confinement fusion, alpha particles produced by fusion reactions deposit energy in the fuel and reheat it. Predicting this energy transfer accurately is important for fusion fuel design.

The baseline for comparison was the 2024 paper by Nicholas Rubin and colleagues in the Proceedings of the National Academy of Sciences (PNAS), "Quantum Computation of Stopping Power for Inertial Fusion Target Design." That earlier work presented an algorithm for computing stopping power on a fault-tolerant quantum computer, together with estimates of the required resources. The new study computed its baseline using the qubit counts and other parameters in Table 2 of the earlier paper, along with Equation 12.

The system consists of a moving alpha particle, 218 electrons, and 216 protons held at fixed positions. For quantum states satisfying the exchange symmetry of the electrons, the specification required the time-evolution error to be at most . The previous circuit needed 5,650 logical qubits, and the average cost per time evolution, across the 500 time evolutions needed for the stopping power calculation, was Q×T. The improved circuit needs 4,338 logical qubits, and its resource cost on the same metric is about 1/11.8 of the earlier figure.

The large reduction came from building the physics governing electrons into the circuit design. The quantum Fourier transform is used to represent electron states on a real-space grid, and the Pauli exclusion principle is exploited: a grid point can be occupied by at most two electrons, which must have opposite spins. With this constraint, there is no need to overestimate interaction strength by accounting for physically forbidden configurations in which electrons of the same spin crowd together. As a result, the number of quantum walk steps used to implement the time evolution was greatly reduced.

Resource element Change after improvement Effect on resource cost
Quantum walk steps 1/12.8 of previous Large reduction in iterations
T gates per step 1.42x previous Per-step operation cost increases
Logical qubits Reduced from 5,650 to 4,338 Narrower circuit

Based on figures published in the paper. The number of quantum walk steps refers to an iterative process separate from the 500 time evolutions required for the full stopping power calculation.

The total number of T gates comes to roughly 1/9 of the previous figure. Factoring in the reduction in logical qubits, the improvement in resource cost is obtained as follows:

Because the individual figures are rounded, this differs slightly from the 11.8x reported in the paper. Even though the amount of computation per step increases, cutting the number of iterations and qubits by more than offsets it, greatly reducing overall cost.

The team also adopted a technique that stores the sum of all electrons' momenta in a 42-qubit auxiliary register and reuses it in the next step. Halving how often the momentum sum is recomputed cuts the number of T gates per step by about 10%. The 1.42x figure above is for the final circuit with this optimization applied.

AI searches for algorithms, and Lean verifies their mathematical correctness

Improving a quantum algorithm requires more than reducing the resources it needs: it must be confirmed that the algorithm produces the intended result from the given input and that the error stays within tolerance. But classical computers can only simulate changes in large quantum states to a limited extent. The team therefore adopted formal mathematical proof as the evaluation criterion for algorithm search.

First, researchers write the input, the desired output, the error tolerance, and the way resources are counted as a formal specification in Lean, which is both a programming language and a proof assistant. The AI then generates a quantum circuit satisfying that specification, an upper bound on its resources, and a proof of their correctness.

The verification is based on "quantum Hoare logic," a framework for mathematically describing that, when a program is applied to a quantum state satisfying given preconditions, specified conditions hold after execution. The published library supports not only quantum operations but also classical variables, conditional branching, measurement, reset, and loops, and can prove both expected values and worst-case upper bounds on resources.

Because AI agents can rewrite working files during search, the team also introduced an independent external verifier. Using "Lean Comparator," it checks whether the theorems, base definitions, and permitted axioms underlying a submitted proof match the predetermined specification. This prevents the AI from rewriting the very conditions it is supposed to prove, which would make resource usage appear lower than it is.

Gemini 4 Carbon was used for the algorithm search. Multiple teams of AI agents accumulated verified best solutions, reusable lemmas, failed search paths, and more in a shared wiki, and, according to Google's official announcement, held meetings between teams every four hours. In the photochemistry problem, the team holding the best solution changed eight times after the initial search, and the final solution combined techniques discovered by three teams.

Deciding what should be proved, however, still requires human judgment. The paper also reports that loopholes in the specification, such as in how Toffoli gates were counted, were found and then fixed when researchers and AI teams revised the specification. What Lean verifies is a proof that follows the formalized Hamiltonian, input range, error conditions, and resource model; whether that specification adequately represents the real scientific problem must be examined separately.

AD

Five quantum algorithms improved, with resource efficiency gains of up to about 290x

Beyond fusion, the team worked on four other problems: photochemistry, drug metabolism, the arcsine function, and parallel search, for five in total. The baseline algorithms and evaluation metrics differ for each.

Problem Reported improvement Main comparison conditions
Electronic stopping power in fusion Q×T reduced to about 1/11.8 Average cost per time evolution across 500 time evolutions
Molecular dynamics in photochemistry Q×T reduced to about 1/8.22 47 nuclei and 187 electrons, 1 femtosecond of time evolution, error of or less. Baseline reflects method improvements made after the earlier work
Energy estimation of P450 Compound I Q×T reduced to about 1/2.49 Fixed DFTHC representation, 58 orbitals and 63 electrons. Compared against a corrected baseline
Arcsine function (arcsin) Q×T reduced to about 1/290 25-bit input, input range . Stricter error condition than before
Parallel Grover search Expected query rounds to find all solutions reduced by up to about 2.57x Large search space, parallelism and number of solutions are powers of 2 up to 1,024. Comparison among methods that always succeed

Q×T is the product of the number of logical qubits and the number of T gates. Only parallel Grover search uses a different evaluation metric.

Photochemistry: lowering the cost of computing coupled electron and nuclear motion

The photochemistry problem simulates how electrons and nuclei move while influencing each other after a molecule absorbs light. The common Born-Oppenheimer approximation treats electron and nuclear motion separately, but this problem does not use that approximation; it treats the 47 nuclei and 187 electrons that make up the molecule C₂₃H₂₀N₃O quantum mechanically. The system is represented with 5,616 qubits, and the specification calls for implementing 1 femtosecond of time evolution with an error of or less.

The AI agents combined several optimization techniques, such as replacing the process of swapping particle coordinates and then restoring them with copying to auxiliary qubits and post-processing by measurement. The resource cost fell from a baseline of Q×T, which reflects method improvements made after the earlier work, to Q×T.

Drug metabolism: making energy estimation for cytochrome P450 more efficient

In the drug metabolism problem, the team estimated the energy of "Compound I," a short-lived reaction intermediate of the enzyme cytochrome P450, which is responsible for drug metabolism and other processes. The ordering of multiple closely spaced spin states is relevant to chemical reactivity, but existing classical approximation methods have reportedly not produced consistent results on that ordering.

The calculation used a Hamiltonian in a fixed DFTHC representation and targeted every eigenstate within 0.1 Ha (hartree) of the ground-state energy for a model with 58 orbitals and 63 electrons. The root-mean-square error, including all approximation errors, must be 1 mHa or less.

In the circuit the AI found, a one-hot representation, in which only the bit corresponding to the selected term is set to 1, is reused to fetch both term weights and orbital rotation angles, reducing lookups into large quantum memory. The number of qubits required fell from 481 to 333, and the resource cost dropped from Q×T to Q×T. The 2.49x improvement is relative to a baseline corrected to reflect the latest compilation methods and the range of target states.

Arcsine function: resource cost cut to about 1/290

The largest improvement came from a quantum circuit that computes the arcsine function (arcsin). The arcsine function is one of the basic computational building blocks used in processes such as loading numerical data into quantum states.

The improved circuit targets an error of or less, stricter than the roughly of the existing circuit used for comparison. The final circuit consists of 100 qubits and 3,698 T gates, with a resource cost of about Q×T. The existing circuit based on piecewise polynomials exceeded Q×T, so this is a reduction of about 290x.

The improvement came in two stages. First, a search using "kickmix," a restricted gate set that can be numerically verified on a classical computer within seconds, cut the resource cost to Q×T. Then, using formal verification to expand the gate set that could be searched, the team reduced the cost of the whole circuit by a further 11% or so.

Parallel Grover search: finding multiple solutions efficiently

Parallel Grover search addressed the problem of finding solutions among candidates. Under the condition that up to queries can be run in parallel per round, improvements of up to 1.22x were obtained when finding one solution and up to 2.57x when finding all solutions.

In the method that achieved the largest improvement, instead of dividing the candidates into mutually independent regions, the quantum superposition of entire sets of candidates is used. The parity of the number of undiscovered solutions in each set is reflected in the phase of the quantum state, and a quantum walk amplifies the probability amplitude of sets containing all remaining solutions.

For this problem, the team did not use the Q×T metric employed in the other four. Instead, it compared the expected number of query rounds needed to find the solutions against the existing method that performs best under each condition.

Accelerating quantum algorithm development with AI, moving closer to running on real hardware

The significance of the study is that it shows that, while quantum computer hardware continues to develop, combining AI search with formal verification can greatly improve the efficiency of the quantum algorithms themselves. The published Lean 4 library separates the core of the verification from the specifications of individual problems, and the circuits discovered in the paper are included in the repository's discoveries branch. The structure allows mathematically verified circuits and lemmas to be accumulated and reused in the next algorithm search.

Still, a large gap remains between the resources that scientific calculations require and the computing power that early fault-tolerant quantum computers can provide. According to the authors, many important quantum computing applications require thousands of logical qubits and to logical operations, whereas early fault-tolerant quantum processors are expected to handle about one million logical operations. Even with the improvements applied, running scientific simulations will require further order-of-magnitude gains in efficiency, they say.

The reported improvement factors are also based on theoretical resource assessments, not on processing time or power consumption measured on an actual quantum computer. The research is currently available as a preprint, and no peer-reviewed publication or independent replication has been confirmed.

The public repository's README lists explicit modeling of the costs of classical computation and control flow as a future development item. The paper likewise points to incorporating quantum error-correcting codes, the layout of physical qubits, the pathways for transferring information between qubits, and the parallel execution depth of T gates into the evaluation. Adding these to the scope of formal verification could allow algorithms to be optimized not only for theoretical resources but also for the structure and constraints of actual quantum computers.