Vibeleaderboard
← All Intel
Intel / article

Finding faster quantum algorithms with agents and formal verification

Source
deepmind.google
Date

Context

Google DeepMind used teams of Gemini 4 agents to redesign well-known quantum algorithms into cheaper circuits, and had the agents prove each result in Lean, a that checks mathematical proofs step by step. A quantum circuit is the sequence of instructions a quantum computer follows to carry out an algorithm. The proofs matter because, as DeepMind's announcement explains, circuits this large cannot be tested by running them on ordinary computers or on today's small quantum processors, so a proposed improvement has to be shown correct mathematically. The paper's abstract says the agents write programs against formal specifications and verify both their correctness and their cost. DeepMind is releasing the Lean library, the problem specifications and the verified solutions on GitHub.

The reductions are large for some problems. DeepMind reports that for a circuit used to calculate a property of inertial confinement fusion, in which lasers compress hydrogen fuel until it ignites, the agents cut computing cost, a measure combining qubits and operations, by 11.8 times, and reduced the memory needed from 5,650 to 4,338 error-corrected qubits. They made simulating a common light-sensitive molecule 8 times cheaper. For Cytochrome P450, an enzyme that breaks down most human medicines, they found a 2.5 times improvement and cut memory from 481 to 333 qubits. A specific implementation of Grover's search algorithm became 2.57 times faster, and arcsin, a routine many quantum algorithms use to load numbers into quantum states, became 290 times faster.

None of this brings the applications within reach of the first error-corrected quantum computers: DeepMind says running these algorithms in scientific simulations would still demand more resources than those machines are likely to provide. The gains are lower cost estimates backed by machine-checked proofs, not results from running the circuits on quantum hardware. Anthropic reported a similar effort in October, in which Claude found cheaper circuits for eight building-block routines. That work checked designs with an automated evaluator and focused on routines whose outputs an ordinary computer can test input by input. DeepMind's approach replaces that testing with proof, so its results do not depend on circuits being checkable by simulation.

Key takeaways · AI-distilled
  • Because these quantum circuits are too resource-intensive to test on classical machines or today's small quantum processors, Google DeepMind had its Gemini 4 teams prove every result correct in the Lean theorem prover.
  • For an inertial confinement fusion calculation, the agents cut a combined qubit-and-operation cost metric by 11.8x and lowered memory from 5,650 to 4,338 error-corrected qubits, according to DeepMind.
  • For Cytochrome P450, an enzyme that breaks down most human medicines, the agents found a 2.5x improvement and cut memory from 481 to 333 qubits by replacing bulky memory lookups.
  • DeepMind also reports a 290x speedup for arcsin, a routine many quantum algorithms use to load numbers into quantum states, and a 2.57x speedup for one specific implementation of Grover's search algorithm.
  • DeepMind cautions that running these algorithms in real simulations would still need more resources than the first error-corrected quantum computers are likely to offer, even with the improvements.
Terms in this piece · Glossary
  • Program — A set of instructions stored so that a computer can run it.
  • Agent — A system in which a model repeatedly chooses operations, a harness carries them out, and the results return to the model to inform its next choice.
Read the source deepmind.google
Recommended reads
Comments

Checking sign-in…

Loading comments…