Playground
Circuit Playground
Paste OpenQASM, see the diagram, run the simulation, share the result. Everything runs in your browser — no server, no account, no limits.
Circuit diagram
Run a circuit to see the diagram.
Measurement probabilities
—
State vector (amplitudes)
—
How this works (embed, share, limits)
- Language: OpenQASM 2.0. Paste QASM 3 and we'll translate
common constructs (
qubit[N],bit[N],include "stdgates.inc") automatically. - Simulation: pure-JavaScript state-vector simulator ( quantum-circuit ) running on your own CPU. 12 qubits is comfortable; 16 starts to lag.
- Share: the Share button base64-encodes the QASM into the URL. Anyone opening the link sees the same circuit with the same state.
- Embed: add
?embed=1to the URL for a frame-friendly layout without the site chrome. - Privacy: your circuit never leaves the browser.