Level 1

Qubits

A qubit is a two-outcome quantum system whose state is described by amplitudes until measurement.

Try it now

Visualize

Think of the qubit state as a point you can rotate, not as a tiny switch hiding a secret answer.

Understand

The simulator starts a qubit at |0>, then gates change its amplitudes.

Why it matters

Useful circuits shape amplitudes so measurement favors useful answers.

Misconception

A qubit does not reveal unlimited information when measured; it gives one classical outcome.

Apply

Run H on one qubit and compare counts for 0 and 1.

Example DSL

# Hadamard superposition
qubits 1
H 0
MEASURE 0

Quick check

What do you get from measuring one qubit once?