QSandbox

Tool Overview · 2–4 Qubit Engine · 4 min read

Online Quantum Circuit Simulator: Inside QSandbox Studio

Design multi-qubit circuits visually with H, X, Y, Z, S, T, CNOT, and Measure gates, inspect every time step, and sample 1,000 quantum shots live.

Interactive Browser Experiment · Zero Install

Full-viewport studio ready in one click

Jump straight into the interactive 2–4 qubit workbench with keyboard shortcuts 1–8, step-by-step playhead scrubbing, and shareable circuit URLs.

Designed like a calm instrument, not a cluttered IDE

Traditional circuit tools pack tiny cryptic symbols, terminal traces, and dense complex matrices onto crowded screens. QSandbox Circuit Studio separates the workspace into three quiet zones: a clear 8-gate library on the left (keys 1–8), flexible 2-to-4 qubit wires in the center, and an animated state inspector on the right.

Every gate displays its full, unclipped name alongside a crisp plain-English summary. If you want exact complex amplitudes and Bloch coordinates (x, y, z), click "Show math" at any time — otherwise keep your screen calm and intuitive.

What gates and visualizers are included?

QSandbox runs an exact multi-qubit complex statevector simulation directly in your browser across up to 4 qubits (16 basis amplitudes):

  • 8 Core Quantum Gates: Hadamard (H), Pauli-X (NOT), Pauli-Y, Pauli-Z, Phase (S), π/8 Gate (T), Controlled-NOT (CNOT), and Measure.
  • 3D Bloch Sphere Inspector: Spring-animated state vector for any selected wire, flagging entangled ("Mixed / Linked") qubits automatically.
  • 1,000-Shot Monte Carlo Sampler: Watch sampled counts appear beside exact theoretical probability bars.
  • Coin Flip Lab & Step Scrubbing: Step backward and forward through steps t1–t8 with Undo support and shareable circuit links.

Built-in lab grading and shareable URLs

Every circuit you build can be copied into a shareable URL (?c=...) so classmates or teachers open the exact same gates on their screen. When you switch to Bootcamp assessment mode from /labs, QSandbox checks your circuit’s physical output rather than one rigid wiring pattern — giving gentle distance hints like "2 gates away" if a wire needs adjusting.