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 @bayramkotan/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 @bayramkotan/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.3

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.3
File Size Uploaded Provenance Actions
qubitz-0.0.3.tar.gz 26.4 kB Without provenance Details for qubitz-0.0.3.tar.gz

Built distribution (wheel)

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

Total release size: 53.7 kB

Release files / qubitz-0.0.3.tar.gz

Download URL qubitz-0.0.3.tar.gz
Size 26.4 kB
Tags Source
SHA-256 checksum
How to use checksums
ccdd89a4e0c794d7485a1f137a400354f9c96aafd11b7b58226e4da138e62dea
BLAKE2b-256 checksum
How to use checksums
2bffec4dd6a38531683a4bae020b43b1bc06b3f89fe3b31732cf81faec813444
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.3-py3-none-any.whl

Download URL qubitz-0.0.3-py3-none-any.whl
Size 27.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
31609a7ea51379eb125f510a751425504e32990223d85a51b8d446a2a3861f36
BLAKE2b-256 checksum
How to use checksums
197701018c8db03858cdc04dbd8a91987c44279708ff889ec0347aa4c497eb38
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.3

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