Quantum computing starts with a prepared state, applies controlled physical operations, and measures at the end. Exact arithmetic here means exact results for the stated model inputs; measured inputs still carry uncertainty and significant-figure limits.
highlighted = computed this step
Prepare a known state
A quantum computation starts by preparing a controlled physical state. Here the prepared state is zero with probability 1.
prepare ∣0⟩
Apply a checked state transformation
The H gate transforms the prepared state into an equal superposition with exact symbolic amplitudes.
prepare→gate
Measurement reads a probability distribution
The final measurement reads probabilities. This page shows the distribution; it does not simulate a random measurement draw.
gate→measure
The sequence keeps a probability budget
The prepared state starts certain, the gate spreads the budget, and measurement reads that final budget. The rows are states of the same computation, not random samples.