The computational basis is the standard set of quantum states labeled by definite bit-string outcomes. A quantum state assigns an amplitude to each basis outcome, and its probability equals the squared amplitude magnitude. section 2.2.2 section 3.1.2
Use the computational basis to:
- Represent single-qubit outcomes 0 and 1, with amplitudes and corresponding probabilities. section 3.1.2
- Represent multi-qubit outcomes as binary strings, such as 1101 for the integer 13. section 7.4.1
- Track which measurement outcomes remain possible as quantum gates transform amplitudes. section 7.4.1 section 2.2.2
Recovering 13
Applying the inverse quantum Fourier transform to a four-qubit geometric-sequence state progressively eliminates outcomes with incorrect bits. After Hadamard gates, controlled phase rotations, and qubit swaps, the state reaches the computational basis state for 13, written 1101 in binary. section 7.4.1
Use the state-table visualization to inspect the possible bit-string outcomes of a three-qubit system and their probabilities. section 2.2.2

