DSL basics
Describe qubits, gates, and measurements line-by-line.
qubits Nsets the register size.- Use single-qubit gates like
H 0orX 2. - Entangle with
CX a b(control, target). MEASURE irecords counts for qubiti.
Design quantum DSL circuits, simulate with shots, and explore probabilities, counts, OpenQASM export, and Bloch sphere visualization.
This free quantum circuit simulator and quantum computing playground enables hands-on exploration of quantum computing concepts through a compact quantum DSL. Created by Anup Dharangutti with a focus on clarity and minimalism, it provides real-time visualization of quantum states, probability distributions, and Bloch sphere visualization. The simulator supports standard quantum gates (Hadamard, Pauli, CNOT) and shot-based measurements, making it ideal for students, educators, and developers learning quantum algorithms. All computations run client-side after an initial API call, ensuring privacy and instant feedback. Circuits can be shared through URL encoding, enabling collaborative learning without accounts or installations. The tool includes OpenQASM export for interoperability with other quantum platforms. Designed for accessibility and simplicity, this simulator bridges the gap between theoretical quantum mechanics and practical circuit design, serving as a zero-maintenance educational resource.
Continue with visual quantum lessons, quantum algorithms guides, quantum application examples, the quantum computing glossary, or the simulator API playground.
—
Normalized metric (0.00-1.00) based on depth, gate count, and entanglement
This simulator is independent and self-funded. If it helps your work or learning, you can support ongoing maintenance via the trusted options below.
PDF appreciation gift: Quantum Circuit Examples & Explanations.
qubits N — declare qubitsH i, X i, Y i, Z i, S i, T iCX a b / CNOT a b — control/targetMEASURE i — adds measurement for countsUse “Share” to copy a compact URL (base64 circuit + shots + theme + preset). Pasting the link reloads the state instantly.
All completed features are client-side only and require no backend modifications. They integrate seamlessly with existing circuit analysis and simulation results.
Describe qubits, gates, and measurements line-by-line.
qubits N sets the register size.H 0 or X 2.CX a b (control, target).MEASURE i records counts for qubit i.Test automation specialist and quantum enthusiast focused on making technical tools approachable for newcomers and practitioners.
Building at AutomationGlance — concise, human-friendly resources for automation and emerging tech. Personal site: dharangutti.in.
Created to help you sketch DSL circuits quickly, visualize them, and iterate without heavy frameworks. Designed to stay lightweight, mobile-friendly, and safe for experimentation.