CUANTOR

A quantum computer simulator for your desktop: 5 to 1000 qubits, with an IBM Quantum Composer-style interface.

It is an exact simulation running on your own computer, not quantum hardware.

Latest release
q[0]q[1]q[2]q[3] H T √X 0011 5050

What it does

Physical limits

A general state of n qubits needs 2^n amplitudes: 24 qubits take about 256 MiB, 28 qubits about 4 GiB. Beyond that only structured circuits work (Clifford circuits, GHZ-like states, few superposition branches). A 1000-qubit GHZ state runs instantly; an arbitrary 1000-qubit circuit is mathematically out of reach for any classical machine.

Quick start

Build from source with a current Rust toolchain:

git clone <repo-url> cuantor && cd cuantor
cargo run --release -p cuantor-gui
cargo run --release -p cuantor-cli -- example Bell
cargo run --release -p cuantor-cli -- ghz 1000 --shots 8
cargo test --workspace --release

IBM Quantum (quantum.cloud.ibm.com)

Not verified on real hardware: the transpiler (native rz/sx/x + cx/cz/ecr gates, SWAP routing) is verified against the built-in simulator, and the REST client only against a mock server. Request details may need adjusting; dynamic circuits are not supported on this path.

Quality and audit

Version 0.2.1 went through an adversarial audit: 59 automated tests, including fuzzing of the parser, resource bombs (memory, recursion, nesting), NaN angles, cross-checks between the three engines, chi-square sampling tests, seed reproducibility and hostile REST responses. The audit found and fixed 7 defects (see the changelog).

Changelog — 0.2.1

Added

Fixed

Download

Binaries for Windows, macOS (Apple silicon and Intel) and Linux are attached to each release.

Latest release

License

No license has been set yet (the author's choice).