Q-Code v1.0

A participatory quantum coding language. The observer is part of the program.

Free and open source (MIT). No quantum hardware. No account. No cost. Released November 5, 2026.

Download Q-Code v1.0 (.zip, 256 KB)

What it is

Q-Code is a programming language that breaks the spectator assumption — the idea that the observer stands outside the system. In Q-Code, asking a question collapses a possibility. Paying attention reshapes the odds. Two observers can hold different views of the same field until they ask. Information lives in relationships, not in things. Storage is a wave, not a place.

The same program runs on three backends: a participatory field model, exact statevectors, and real Qiskit circuits. It has a real interpreter, control flow, functions, a REPL, and a standard library of quantum systems.

Run it in 60 seconds

python3 qinterp.py examples/hello.qc
python3 qinterp.py examples/friend.qc
python3 qinterp.py examples/grover_demo.qc
python3 qinterp.py examples/ghostdb_store.qc

Python 3.10+ only. Field and state backends need nothing else. The quantum backend needs pip install -r requirements.txt (Qiskit + Aer). Full instructions are in QUICKSTART.md inside the zip.

What is inside

276 tests, 34 suites, all green. Every number in the README is backed by a test you can run yourself.

How it breaks classical assumptions

What it is not — the honest limits

Q-Code is a simulator. The states are computed on a classical CPU. There is no quantum hardware, no wall-clock speedup, and it cannot break encryption. It does not send signals faster than light, it does not let you choose which branch of the multiverse you land in, and it cannot compress random data — nothing can. Holevo's bound is a theorem: n qubits give back n bits. What compresses is structure. The README states every limit plainly, with the numbers.

Source and license

MIT License, copyright 2026 Cameron Mooklal. The zip contains the full source, all 34 test suites, the examples, the specs, and the README. See LICENSE in the zip.

Q-Code v1.0 — built November 4–5, 2026. The language's name is Q-Code. The work continues: Shor 9-qubit error correction, a driven-bath pilot wave, and falsifiable predictions with kill conditions written first.