AI NewsModels & agentsAnnouncement

DeepMind released the Lean library it uses to check Gemini quantum circuits

Google DeepMind released a Lean 4 library today. Teams of Gemini 4 agents used it to find quantum circuits that are proved correct and cheaper to run.

AI News

Editorial2 min read

LinkedInX
Google DeepMind blog post on quantum algorithms verified in Lean 4

Why it mattersA model cannot test a quantum circuit on today's hardware. A proof in Lean is the only check it can run, and now anyone can read the proofs.

An AI agent cannot check a quantum algorithm by running it. There is no quantum computer today that can run the ones that matter. Google DeepMind wrote today that it used teams of Gemini 4 agents to find faster quantum circuits. The only check the agent can run is a mathematical proof.

The DeepMind team released the proof framework on GitHub today, under Apache 2.0. It is a Lean 4 library called formal-quantum-computation. The agents search for faster circuits. Lean checks that each new circuit still gives the same answer as the old one.

What the agents found

DeepMind's blog post names one figure. The team got a 290-fold saving on arcsin. Arcsin is a routine that other quantum algorithms call. It puts a number into a quantum state. Many quantum programs call it. A saving on this one routine spreads through all of them. The paper also reports savings on routines for fusion plasma simulation and for chemistry.

The post quotes the authors on why the proof matters. "We have to prove that they work mathematically," they write. The reason is simple. Today's small quantum processors cannot run these circuits, and classical computers cannot simulate them. The cost is measured in qubits and in quantum gates, not in seconds on a chip.

What is in the open-source release

The repository holds two libraries. The first, QuantumComputation, is the mathematical core. It defines quantum circuits, gates, registers, and the Hoare logic rules the proofs use. The second, QuantumComputationSpecs, holds the problems the agents solve and the benchmarks that measure how good a solution is.

The project is active. The README says more work on costing models for classical computation and control flow is on the way. A separate discoveries branch holds the circuits the agents have found so far. A reader with Lean 4 installed can read a proof, re-run it, and change it. The repository had 22 stars when checked on 23 November.

Who worked on it

The paper lists more than twenty authors. The first author is Sergey Shirobokov. The last three are senior DeepMind researchers Ryan Babbush, Swarat Chaudhuri, and Pushmeet Kohli. DeepMind says the work combines agent teams with formal verification. The agents produce candidate circuits. Lean rejects every one that does not match the specification.

For a team that writes code with AI, the method matters more than the particular routines. A model is trusted to improve code only after a proof checks the new version. The same shape works outside quantum work. Some teams cannot test a change cheaply. Re-running every test after every rewrite is too slow. A proof of equivalence is then the only check an agent can run on itself.

Source

This item was written by an AI system from the linked source. Reveneau is responsible for what it publishes.

Share
LinkedInX
Start a project