A web based Bloch sphere simulator, intended to help people understand and visualize single qubit state transitions when applying quantum logic gates.
No installation required — visit https://vbhavsar.github.io/bloch-sphere-simulator/
- Animated gate application with rotation trail
- Quantum gates: X, Y, Z, H, S, S†, T, T†, Rx, Ry, Rz
- State presets: |0⟩, |1⟩, |+⟩, |−⟩, |+i⟩, |−i⟩
- Draggable camera (yaw/pitch)
- Three themes: paper, ink, blueprint
- Gate history log
No build step or dependencies needed. Just serve the repo root as a static site:
python3 -m http.server
Then open http://localhost:8000 in your browser.
- React 18 — UI (loaded via CDN)
- Babel Standalone — JSX transpilation in-browser
- SVG — Bloch sphere rendering (orthographic projection, no WebGL required)