Quantum Playground
1 language| Type | Interactive demo |
|---|---|
| Origin | DTU course 10384, Quantum Information |
| Developer | David |
| Written in | TypeScript, three.js, NumPy fixtures |
| Tests | State-vector simulator tested against NumPy fixtures from the course solutions |
| Built with | A from-scratch TypeScript simulator of the DTU Quantum Information arc |
| Hosted on | David-Internet/demos/quantum |
| Website | https://david-internet.vercel.app/demos/quantum |
Quantum Playground is an interactive state-vector simulator based on the Quantum Information course at the Technical University of Denmark. It supports one to five qubits and renders the course algorithms in a browser.[1]
The demonstration includes a three.js Bloch sphere, a circuit builder, and visualizations for Deutsch-Jozsa, Bernstein-Vazirani, Simon's algorithm, and Grover's algorithm.
Overview
The Bloch-sphere panel represents single-qubit gates as rotations. In the circuit builder, amplitude bars change as a playhead moves across two- and three-qubit circuits, and measurement can run repeated shots.
Quantum algorithms
Simon's panel pairs inputs with a hidden string and sends measured equations to a GF(2) solver. Grover reflects every amplitude about the mean after its oracle marks a result, showing the rise and later over-rotation of the selected state's probability.
Development
The simulator was written in TypeScript from the DTU course arc. Its state vectors, algorithm distributions, Bloch vectors, and Grover probability curves are tested against NumPy fixtures from course solutions. State-vector simulator tested against NumPy fixtures from the course solutions.
See also
References
- ^
content/quantum/README.md, David's Internet.
- Interactive demos
- Quantum computing
- 2026 establishments