003 Build Your Own Circuit

Simulator

Drag gates onto the wires. The 100-run grid shows what your circuit does.

Simulator running in your browser. Real hardware: coming soon (planned provider: IBM Quantum).

What's happening?

Build a 3 qubit quantum circuit by dragging H, X, Y, Z, S, T, CNOT and Measure gates onto wires, see live probabilities, and share your circuit as a link. Simulator only, no account needed.

You will learn: Quantum gates and circuits.

How to read the picture

Each wire is a coin (A, B, C) that starts dark, which is the value 0. Each column is a step, applied left to right. Drag a gate from the palette onto a wire, or tap a gate and then tap a slot (best on phones). Tap a placed gate to remove it. For a Link (the CNOT gate), tap the Link tile, tap the slot for the first coin, then tap another wire in the same step. The grid of 100 dots shows what would happen if you ran the circuit 100 times: each colour is one possible result, drawn as a row of lamps, where a lit lamp means that coin ended as 1 and a dark lamp means 0. As in physics books, Coin A is on the right by default, and a button lets you switch the order. The small cards show each coin on its own. A pink border means the coin is linked (entangled) with the others. A Read gate marks a wire to read out, and gates after it on that wire are ignored. With no Read gate, all wires are read.

The gates

GateWhat it does
Spin the coin (H, the Hadamard gate)Turns 0 or 1 into an equal superposition, a 50/50 mix. Applied again it undoes itself.
Flip it over (X)Flips 0 to 1 and 1 to 0, like a classical NOT.
Flip with a twist (Y)Flips 0 and 1 and adds a phase.
Shift the spin (Z)Flips the sign (phase) of the 1 part. It changes no probabilities on its own, but matters when combined with H.
Quarter and eighth twist (S and T)Turn the phase by a quarter and an eighth of a full turn. They need a superposition to show an effect.
Link (CNOT)Flips the second coin when the first coin is 1. After a Spin it creates entanglement.
Look at the coin (Measure)Reads the wire out as 0 or 1.

Things to try

More background: how a quantum program runs and how a quantum computer works. The circuit is stored in the web address after the # sign, so it never leaves your browser unless you share the link.

Related guides: Why a laptop can simulate 30 qubits but not 50 and Quantum interference with Spin, Shift, Spin.

Run on real hardware: coming soon. The planned provider is IBM Quantum. It is not connected yet. Every result on this page comes from a simulator running in your browser, not from a quantum computer.

How it works: the simulator keeps the exact quantum state of the qubits as a list of complex numbers, applies each gate to it, and draws random samples from the resulting probabilities. The random numbers are ordinary pseudo random numbers from your browser, and a real device would add noise. No QNT, wallet or account is needed.

Sources

This is an educational simulator, not financial advice. QUANTUM (QNT) is an independent community token on Solana and does not perform quantum computation.

Updated | Free, no account, no token needed