quantum-mechanics quantum-computing
Definition
Superposition (Quantum Mechanics)
A superposition is a quantum state that is a linear combination of basis states. In quantum computing, a qubit can exist in a superposition of the computational basis states and :
where are complex amplitudes satisfying .
Distinction:
- Classical bit: Either or (mutually exclusive)
- Qubit: Can be , , or any superposition
Multi-Qubit Superposition
For qubits, the superposition spans all computational basis states:
with .
Two-Qubit Superposition
For qubits, a general superposition is
with .
Why does the sum of the coefficients squared have to be equal to 1?
The squared magnitudes represent probabilities of measurement outcomes. When measuring a superposition, outcome occurs with probability . Since measurement must yield some outcome, the probabilities must sum to 1. Mathematically, this is the normalisation condition ensuring is a unit vector in Hilbert space: .
Quantum Parallelism
A quantum computer operating on qubits in superposition can process all basis states “in parallel” through a single application of a quantum operation. This is the source of quantum speedup in many algorithms.
Measurement
When a superposition state is measured in the computational basis:
- Outcome occurs with probability
- Outcome occurs with probability
- The state collapses to the measured basis state