Who it’s for
The playground is useful for anyone working with quantum programs:- Learners exploring quantum computing concepts through hands-on circuits, without needing a local development environment
- Researchers prototyping algorithms — Bell state, quantum teleportation, Grover’s, Shor’s, and more — and inspecting the resulting state distributions
- Developers integrating OpenQASM into workflows who want a fast way to test circuits before running them on hardware or larger simulators
Key capabilities
- Browser-based editor with line numbers, tab indentation, and syntax support for OpenQASM 3.0
- Remote simulation via the quasar backend, supporting circuits up to 12 qubits
- Quantum state output showing each basis state with its probability and complex amplitude (real and imaginary parts)
- Built-in examples covering foundational algorithms: Bell state, quantum teleportation, Deutsch-Jozsa, quantum phase estimation, Grover’s algorithm, Shor’s algorithm, and quantum signal processing
- Persistent sharing — save any circuit to a unique URL that anyone can open and re-run
Bit strings in the output are displayed in declaration order (MSB-first). Circuits are limited to 12 qubits; additional constraints may apply depending on the circuit structure.
Related projects
OpenQASM Playground is built on top of a family of open-source Go libraries. Each project is independently usable.itsubaki/q
A quantum computing simulator written in Go. Provides the core qubit and gate primitives used throughout the stack.
itsubaki/qasm
An OpenQASM 3.0 parser and simulator built on top of itsubaki/q. Executes QASM programs directly from source text.
itsubaki/quasar
A quantum simulator exposed as an HTTP service. The playground sends your code here via POST /api/simulate and receives the state vector in response.