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 DSL circuits, simulate with shots, and explore probabilities, counts, and Bloch spheres.
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.
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.