A circuit is a program: prepare states, apply gates, then measure to obtain classical bits.
Practical note
Real devices are noisy, so circuits are run many times ("shots") to estimate output probabilities.
A quantum circuit is a sequence of gates arranged over time, acting on qubits and usually ending with measurement.
A circuit is a program: prepare states, apply gates, then measure to obtain classical bits.
Real devices are noisy, so circuits are run many times ("shots") to estimate output probabilities.