Skip to main content

⚛ qubitz

Learn how quantum computers work — by touching them.

qubitz is an interactive, beginner-friendly quantum computing simulator for Windows, Linux and macOS. No physics or maths background is needed: every idea comes with a guided step, a small task to try, and a live 3D picture that reacts to what you do.

qubitz — the qubit and the Bloch sphere

Features

  • Interactive 3D Bloch sphere — drag to rotate, double-click to reset the view; the arrow leaves a trail so you can see the path a gate takes.
  • Animated gates — X, Y, Z, H, S, T. Each gate shows the axis it turns the sphere around while the arrow moves.
  • Set the state yourself — θ and φ sliders move the arrow anywhere on the sphere.
  • Live state readout — amplitudes α|0⟩ + β|1⟩, angles, Bloch coordinates and probability bars.
  • Measurement — measure once and watch the state collapse, or measure 1000 copies and see the histogram.
  • Guided lesson — 8 steps from "what is a bit?" to superposition, measurement and phase, each with a task that ticks itself off when you solve it.
  • Turkish and English interface, switchable live.
  • Command line — the same simulator in the terminal.

Install

pip install qubitz        # desktop app + CLI (Python)
npm install qubitz        # qubit core for JavaScript, CLI: qubitz-js
cargo install qubitz      # qubit core for Rust, CLI: qubitz-rs
Registry Package Contents
PyPI qubitz full app: window + CLI (qubitz, qz)
npm qubitz single-qubit core (Qubit, gates, Bloch vector, measurement) + qubitz-js
crates.io qubitz single-qubit core, no dependencies + qubitz-rs

All three give the same numbers for the same gates.

Run

qubitz          # opens the window
qz              # short alias

Command line

qubitz state --gates H S             # state, probabilities, Bloch vector
qubitz state --theta 120 --phi 45    # any point on the sphere (degrees)
qubitz measure --gates H --shots 1000
qubitz gates                         # what each gate does
qubitz --lang tr state -g H          # Turkish output
qubitz -v                            # version

Roadmap

Module Topic Status
1 Qubit and the Bloch sphere ✅ v0.0.1
2 Quantum gates planned
3 Measurement and probability planned
4 Entanglement (Bell states) planned
5 Circuit editor (drag & drop) planned
6 Algorithms — Deutsch–Jozsa, Grover, teleportation, QFT, Shor planned
7 Noise and decoherence planned

qubitz uses its own small state-vector simulator written with NumPy, so every number on screen can be traced back to plain linear algebra.

License

MIT © Bayram Kotan

Metadata

Release files for qubitz 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for qubitz 0.0.2
File Size Uploaded Provenance Actions
qubitz-0.0.2.tar.gz 26.4 kB Without provenance Details for qubitz-0.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for qubitz 0.0.2
File Interpreter ABI Platform Actions
qubitz-0.0.2-py3-none-any.whl Python 3 none any Details for qubitz-0.0.2-py3-none-any.whl

Total release size: 53.7 kB

Release files / qubitz-0.0.2.tar.gz

Download URL qubitz-0.0.2.tar.gz
Size 26.4 kB
Tags Source
SHA-256 checksum
How to use checksums
99b37e8a05b286edb80fceca2863148c6e78f248c7a10a53e1dc662df33e9be1
BLAKE2b-256 checksum
How to use checksums
88689267ae88784a92f99c381533b70375f69a05987dcf842a2a40d8afc4f062
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / qubitz-0.0.2-py3-none-any.whl

Download URL qubitz-0.0.2-py3-none-any.whl
Size 27.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b54d915bf04b77c06dfe5ebac1e27ce7e6cacb83fd79d7755c3c03b4a58dfd02
BLAKE2b-256 checksum
How to use checksums
4ca58354cd7c0eb127855fdb37fd4d0a36e0cce14ad0d87bafc693beed4c5c7c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for qubitz 0.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page