SoftRyva • Quantum Circuit SimulatorHome
INTERACTIVE QUANTUM LAB

Build your first quantum circuit.

Explore exact complex amplitudes, probabilities and simulated measurements. No account, API or quantum hardware required.

1. Choose an experiment

2. Construct a circuit

Qubit q0 is the leftmost bit in state labels. Up to 32 gates. Changing qubit count resets the circuit.

    3. Exact state & probabilities

    The simulator evolves the initial |0…0⟩ state. Probabilities are |amplitude|²; phase affects interference even when probabilities do not change.

    4. Sample measurements

    Run shots to see random outcomes.

    What to try next

    1. Bell pair: H on q0, then CNOT q0 → q1. Exact outcomes 00 and 11 each have 50% probability.
    2. Interference: compare H → H with H → Z → H. Both include two Hadamard gates; the phase flip changes the final answer.
    3. Phase: H → S leaves probabilities at 50/50, but introduces an imaginary amplitude. Add another H and experiment.
    4. GHZ: a three-qubit circuit with only 000 and 111 in its ideal measurement distribution.

    This is a classical, ideal state-vector simulation, not a quantum processor or a hardware benchmark. Each shot samples a fresh preparation of the same circuit; there is no mid-circuit measurement or noise model. Correlations in one measurement basis alone do not prove physical entanglement.

    Learn more about quantum states and gates at IBM Quantum Learning.