google-deepmind /
formal-quantum-computation
Why it matters
- It relies on quantum Hoare logic with classical variables, a method for stating what a program guarantees before and after it runs, to specify and verify programs.
- The repository holds the foundations (circuits, gates, registers), a resource counting framework and the verification of key quantum algorithms.
- A second library offers specifications and challenges for automated theorem proving and AI-assisted program discovery.
Before you start
- The repository is under active development, with a next step announced on costing classical computation and control flow.
- The README states that this is not an official Google product.
Try it
lake exe cache get
lake buildFirst install elan, lake and lean by following the Lean guide. The build fetches Mathlib and QuantumInfo automatically. Commands copied from the official README (December 2, 2026).
Install it with your AI agent

Snoop first, click later. That's my version of caution. 😹
Milky
Hi, Milky from Silicium Rose sent me. Help me install google-deepmind/formal-quantum-computation: https://github.com/google-deepmind/formal-quantum-computation
1. Read the official README at that address (not from memory) and tell me in two sentences what it does and what it touches on my machine.
2. Check that my machine is suitable (system, versions, memory, graphics card, disk space). If anything is missing, say so before you start.
3. Install in its own folder, with an isolated environment if the project needs one.
4. Show me each command and wait for my go-ahead before any downloaded script, admin rights, large download or key. Never ask me to paste a key into the chat.
5. Finish with a very simple test, show me the result, and tell me how to run it and uninstall it.
Commands from the README, check them before running:
lake exe cache get
lake build
Good to know:
- The repository is under active development, with a next step announced on costing classical computation and control flow.
- The README states that this is not an official Google product.Paste it into Claude Code, Codex, Cursor, Gemini CLI or any agent with access to your terminal. Read what it proposes before you say yes.
Articles that cover it
Similar repositories
macrograntscheckpoint-forensics
A small Python script that checks which type of NVIDIA graphics card created an AI model's starting weights. It is for the curious who want to redo the analysis of a report on five Chinese models.
1 articleD4VinciScrapling
A Python library to collect data from websites: simple requests, stealth browsers, content extraction and whole-site crawling. For people who code a bit and want to collect pages.
mvanhornlast30days-skill
A skill that makes your AI assistant look up what has been said about a topic over the last 30 days: Reddit, X, YouTube, Hacker News, prediction markets. It gives you a summary. For following a topic, a person or a company.
