Level 1

Measurement

Measurement samples a classical result according to the probabilities produced by the circuit.

Try it now

Visualize

01

One shot gives one result; many shots reveal the distribution.

Understand

Counts are repeated samples, not a direct look at hidden state.

Why it matters

Quantum algorithms must make the desired result likely enough to observe.

Misconception

Measurement is not passive reading; it ends the pre-measurement state for that run.

Apply

Change shots from 32 to 4096 and compare stability.

Example DSL

# Measurement demo
qubits 1
H 0
MEASURE 0

Quick check

Why do two simulator runs with few shots vary?