Find faster quantum algorithms with agents and formal verification
DeepMind describes using agents with formal verification to search for faster quantum algorithms. ·
Done with a custom-built or unnamed agent
- What they did
- Researchers gave each problem to a separate, independent team of Gemini 4 agents, tasked with improving a known quantum algorithm. Each idea was proved correct in Lean, using an open-sourced quantum library, before it went into a shared notebook. Every four hours, agents from the different teams met to trade and debate ideas. Humans chose the problems and supervised progress.
- How it went
- Fusion circuit cost fell 11.8×, with memory down from 5,650 to 4,338 qubits. Other gains: 8× for a light-sensitive molecule, 2.5× for Cytochrome P450, 2.57× for Grover, 290× for arcsin. The circuits still need more resources than early error-corrected machines will have.
- Worth knowing
- The circuits can't be tested on classical computers or today's small quantum chips, so a formal proof library like Lean is what makes the results trustworthy.
Try it yourself with Claude Code
I want to explore whether a faster algorithm exists for [problem, e.g. a specific quantum or computational task]. Set up a project in this folder that proposes candidate algorithms, then checks each one with a formal verification tool such as [Lean, Coq, or another prover you prefer]. Keep going until you have at least [number] candidates that either verify or are ruled out, and finish with a short report listing what was proven, what failed, and why.
Want help getting this working? Join the Vibe Coding Academy ↗ Run by Alex Finn, who also runs this site.
Discussion on HN · Dec 2, 2026
Related use cases
Find a Linux vulnerability hidden for 23 years
An account of Claude Code uncovering a long-standing vulnerability in Linux.
Generate parametric geometry workflows with an agent
GrassLobster uses agentic AI to generate parametric geometry workflows.
Custom agent
Reverse engineer a patch into a full exploit chain
A researcher used Claude Opus in Claude Code with Playwright MCP to decompile code, find vulnerabilities, and build a working exploit.
Hunt for unpatched vulnerabilities in SQLite commits
Google's Big Sleep agent reviewed recent SQLite commits starting from a patched bug and found an exploitable flaw, which was fixed before release.
Reverse engineer a Go binary with Ghidra via MCP
Huli had Cursor drive GhidraMCP to identify a Golang binary, list its routes and find a path traversal, but it missed the SQL injection check.
Mine biological datasets for new leads with thousands of agents
OpenAI describes running thousands of AI agents over complex biological data to uncover new research leads.
Custom agent
Get 5 like this every morning
The best things people got an AI agent to do, each with the prompt to try it.