Skip to main content

Quantum Circuit Simulator

Build a circuit, run it, and read the state — all computed in your browser.

H selected — tap or click a wire, or Tab into the grid and use the arrow keys, then press Enter, to place it. Enter, Delete, or tapping a placed gate removes it.

Pick a gate, then tap a cell — or Tab into the grid and use the arrow keys and Enter — to place it.

Shots
Press Run to sample this circuit.

State inspector

Phase disks

Qubit 0: probability of 1 0.0%, phase 0.00π, purity 1.00
Qubit 1: probability of 1 0.0%, phase 0.00π, purity 1.00

Each disk is one qubit: the filled area is its chance of reading 1, the needle points at the phase of its |1⟩ component, and the ring fades as entanglement mixes the qubit.

Per-qubit

  • q00.0%separable · 0.00
  • q10.0%separable · 0.00

P(1) is the chance this qubit reads 1; entropy is 0 when it stands alone and 1 when it is maximally entangled with the rest.

State

StateAmplitudeProb. 
|00⟩1.000100.0%
|01⟩0.0000.0%
|10⟩0.0000.0%
|11⟩0.0000.0%

OpenQASM 3

Export
OPENQASM 3.0;
include "stdgates.inc";

qubit[2] q;
bit[2] c;


c = measure q;
Import

Save & share

local storage

Place at least one gate to save.

Your circuits0 / 10 saved

Loading…

Export notebook

A ready-to-run Jupyter notebook of this circuit — open it in Colab or your own environment. Built in your browser; nothing leaves this page.