Qubits, Unitary Gates, and Circuit Measurement
Track amplitudes through a small gate circuit and distinguish a measured bit from the state used to predict it.
- Source
- Anbloq
- Language
- English
- Created
- Updated
- Chapters
- 2
- Reading time
- 1 min
In this article2 chapters
A qubit is represented by a normalized amplitude vector
Write a pure qubit as \(\alpha|0\rangle+\beta|1\rangle\) with \(|\alpha|^2+|\beta|^2=1\). Measuring in that basis gives the two outcomes with probabilities equal to squared magnitudes. A unitary gate changes the amplitude vector while preserving that norm. A bit-flip unitary exchanges the two computational basis states. Operations between measurements act on the state description, not on a hidden already-sampled outcome.
A change of basis can expose relative phase
States with amplitudes \((1,1)/\sqrt2\) and \((1,-1)/\sqrt2\) give the same computational measurement probabilities. A Hadamard before measurement maps them to distinct basis states. Quantum interference explains how contributions cancel. Quantum complexity uses uniform circuit families to define resource-bounded classes.[1][2]