RapidsAPI

Quantum Circuit Builder

Design quantum circuits on up to 6 qubits. Drag or click gates onto the wires, watch the exact state and probabilities update instantly, sample shots, and export ready-to-run code for Qiskit, Cirq, Amazon Braket, PennyLane and OpenQASM.

Qubits 2

Results

Bitstrings read q1 q0 (q0 on the right, Qiskit order)

Export code

How to build a circuit

Choose qubits

Start with an example or set 1 to 6 qubits. Each wire starts in |0⟩.

Place gates

Drag a gate onto a wire, or pick a gate and click a slot. For two-qubit gates, click the control, then the target in the same column.

Edit

Click a placed gate to change its angle, move it or delete it. Undo and redo keep every step.

Run and export

Read exact probabilities, sample shots like real hardware, then copy the code into your SDK of choice.

Gate reference

GateNameWhat it doesQiskit

More quantum tools

Questions about the circuit builder

Is this a real quantum computer?

No. It is an exact state-vector simulator running in your browser. Results are ideal and noise-free. Use the exported code to run the same circuit on real hardware.

Why are bitstrings written right to left?

The builder follows Qiskit's convention: qubit 0 is the rightmost bit. So |01⟩ means q0 = 1 and q1 = 0.

How are measurements handled?

Measurements are treated as final readout. The Shots tab samples the measured qubits; if no qubit is measured, it samples all of them.

Why only 6 qubits?

Keeping circuits small keeps the state vector readable (64 amplitudes) and the page fast on phones. The exported code runs at any size your SDK supports.

Is my circuit saved?

Yes, in this browser only. It reloads when you come back. Use the exported code to keep or share it.

Which angle units are used?

Radians. Rotation gates default to π/2; the editor snaps to multiples of π/8 and shows them as fractions of π in the code.