@coherent program is a proven unitary channel, no simulation required.
Quick Start
Write your first safe quantum program in minutes
Installation
Install b01t and set up your environment
Core Concepts
Understand the safety model and how b01t catches quantum bugs
API Reference
Complete reference for decorators, gates, and kit utilities
Why b01t?
Every quantum programmer eventually writes a circuit with a dirty ancilla — a helper qubit that gets entangled with the system instead of returning to |0⟩. Qiskit, Cirq, and Q# all accept these programs. They compile, they run, and they look fine. But they silently compute the wrong thing. b01t rejects them at build time:compute block accepts only permutation gates. The phase block accepts only diagonal gates. If your program passes these rules, it is a unitary channel — by construction.
Get started
Write a coherent program
Use
@coherent and ancilla discipline to write a certified-safe quantum circuit.Build and certify
Call
.build_exact() to compile your program. Check prog.certification == Certification.SAFE.