Quantum Homotopy Type Theory
Exact verification. Not approximate simulation.
QHoTT is a verification platform. It decides whether a quantum circuit is what its author claims it is, and whether a mathematical proof actually type checks, and it does both exactly — with integer arithmetic, not floating point, and with no tolerance parameter anywhere.
There is a Solana token, $QHOTT, and it is the usage and provenance layer for the platform. It is not part of the mathematics. Nothing on the chain verifies anything.
Fifteen gates collapse to the same 8 x 8 permutation matrix as a single Toffoli, entry for entry. No tolerance, no sampling, no floating point. open the verifier
New here, and not a mathematician? Start Here explains all of this in plain language with demonstrations you can poke at.
The one idea
Almost every quantum simulator stores amplitudes as floating point numbers. That is a reasonable engineering decision and a bad verification decision, because floating point cannot answer an equality question. It can only tell you that two numbers are close. Ask it whether your fifteen gate circuit is exactly a Toffoli and it will say "the difference is about 1e-16", which is not a proof, and is also what a circuit with a genuine bug of the right shape can look like.
The Clifford+T gate set has a property that fixes this. Every matrix entry of every gate in it lies in the ring
Z[omega][1/sqrt(2)], omega = e^(i*pi/4)
which means each entry can be written as (a + b.omega + c.omega^2 + d.omega^3) / sqrt(2)^k with a, b, c, d integers and k a non-negative integer. Products and sums of such things stay in the ring, because omega^4 = -1 reduces every product back to that shape. So QHoTT multiplies circuit matrices in BigInt arithmetic, reduces each element to a canonical form, and compares componentwise.
The consequence: unitarity, circuit equivalence, involutivity and classical reversibility are decided. The answer is yes or no. When it is no, the verifier hands back the first matrix entry that disagrees, so you get a counterexample rather than a complaint.
Two engines
| Engine | What it decides | Try it |
|---|---|---|
| Exact circuit verifier | Clifford+T circuits up to 8 qubits. Unitarity, equality with another circuit (strictly or up to a global phase omega^k), self-inverseness, commutation, permutation structure, and exact state preparation. | /verify |
| Type theory kernel | Martin-Lof dependent type theory with identity types and the J rule, bidirectional checking over normalisation by evaluation. The path lemmas — symmetry, transitivity, ap, transport — are derived from J, not postulated. | /explorer |
What goes on chain, precisely
A verification run produces an artifact: the circuit, the claims, their outcomes, the verdict, and every exact matrix entry. That object is serialised to canonical JSON (keys sorted at every depth, no insignificant whitespace) and hashed with SHA-256. The 32 byte digest is what the Solana program records, alongside the submitter, the artifact kind, the claim count and a URI.
The chain does not verify the proof. It cannot. A Solana program has no business multiplying 256 x 256 BigInt matrices, and QHoTT does not pretend otherwise. What the chain gives you is provenance: a timestamped, non-repudiable, first-submitter-wins record that a particular artifact existed and that someone staked their identity on it. Anyone can re-run the verifier on the artifact and confirm the digest matches. The checking is yours to redo; the chain only says who said it first.
The record lives at a program derived address seeded by the digest itself, so the same artifact can never be registered twice. See the program documentation for the accounts and instructions.
Research Finance
QHoTT is the first project in a segment we are calling Research Finance (ReFi): funding and coordinating formal verification and mathematics with an on-chain incentive and provenance layer, where the deliverable is a machine-checkable artifact rather than a report, a preprint or a promise.
DeFi built primitives for money. DeSci built funding and publishing rails for science broadly, and inherited science's trust problem along the way: you still have to believe the authors. ReFi narrows the scope deliberately to the kind of research whose output a stranger can re-check in milliseconds on their own machine. Read the full argument, including what does not exist yet.
$QHOTT
The token gates writes to the registry and is intended to fund verification work. It does not grant mathematical powers, it does not make anything more or less true, and holding it does not make a proof correct. A false artifact submitted by the largest holder on earth is still rejected by the program, because the program refuses any artifact whose verdict is not verified.
| Mint | 7QDjhZZ29CdgMRgNUFQF8yQfjLXrjiudBq43RgbHpump |
|---|---|
| Standard | Token-2022 |
| Status | Not launched. The address above is a reserved pump.fun vanity address. The account does not exist on mainnet yet. |
| Registry program | FPHpwqiA7HDPYdYnzaavXZjWx7q8dqF8r5LS9cjcLicn |
| Program status | Anchor 0.31, compiles cleanly, not yet deployed. The deploy wallet is unfunded. |
pump.fun page for the reserved address
What is real today
- Real and running in your browser: the exact Clifford+T verifier, the type theory kernel and its prelude, the worked examples, the canonical artifact serialisation and the SHA-256 digests. The repository's unit tests cover all of it.
- Real but not live: the Anchor program. It builds and its logic is written; it has not been deployed because the deploy wallet has no SOL.
- Not real yet: the token. It has not launched. Any claim you see elsewhere that it has is wrong.
- Deliberately out of scope: univalence, higher inductive types, rotation gates outside Clifford+T, and circuits wider than 8 qubits. The limitations page is explicit about all of it.
Start Here | Verify a circuit | Explore a proof | Read the documentation