Chapter 1 — Mathematical Language of Quantum Computing
1. Why quantum computing needs a mathematical language
A classical bit is described by one of two discrete values, 0 or 1. A qubit requires a richer description because its state may contain two complex probability amplitudes. The purpose of the mathematics in this chapter is not to turn the course into a linear-algebra course; it is to give us a precise language for predicting what a circuit can do. We will use vectors, complex numbers, inner products, and matrices only when they illuminate a quantum operation or measurement.
2. Complex amplitudes are not probabilities
Write a pure qubit as |ψ⟩ = α|0⟩ + β|1⟩. The complex numbers α and β are amplitudes. The Born rule converts them to measurement probabilities: P(0)=|α|² and P(1)=|β|². A valid normalized state therefore satisfies |α|²+|β|²=1. Two states can have the same computational-basis probabilities while having different relative phases, and those phases can later affect interference.
3. Kets, bras, vectors, and inner products
In the computational basis, |0⟩ corresponds to the column vector (1,0)ᵀ and |1⟩ to (0,1)ᵀ. A ket |ψ⟩ is a column vector. Its bra ⟨ψ| is the conjugate transpose. The inner product ⟨φ|ψ⟩ measures overlap; ⟨ψ|ψ⟩=1 for a normalized state. Orthogonal states have zero inner product and can be perfectly distinguished in the associated basis.
4. Global and relative phase
Multiplying an entire state by e^{iγ} produces a global phase and does not change observable predictions. Relative phase is different. The states (|0⟩+|1⟩)/√2 and (|0⟩−|1⟩)/√2 have the same probabilities if measured immediately in the computational basis, but a later Hadamard transforms them differently. This is one of the first places where quantum amplitudes behave unlike ordinary probabilities.
Student exploration and activities
Why this matters
Quantum programs are manipulated through amplitudes, vectors, matrices, and probabilities. The immediate use case is not abstract physics: this language lets a programmer predict a circuit before spending simulator or QPU time. It also prevents a common error—treating an amplitude as though it were an ordinary probability.
Where students usually struggle
Students often accept the notation |ψ⟩ without connecting it to a vector, forget normalization, or conclude that phase is irrelevant because it may disappear from one measurement basis. Measurement probabilities depend on the basis, and relative phase can become visible through later interference.
Suggested student activity
Students can compare two quantum states with identical computational-basis probabilities but different relative phases. They can predict whether the states are equivalent, apply a basis-changing gate, and use the results to explain the role of phase.
Questions for exploration
Students can make a prediction, explain the reasoning in plain language, and identify an observation that would challenge the prediction. The outcome can then be connected to the mathematical model introduced in this chapter.
Worked example
Normalize |v⟩=|0⟩+i|1⟩. Its squared norm is 1+1=2, so |ψ⟩=(|0⟩+i|1⟩)/√2. Immediate measurement gives P(0)=P(1)=1/2. The factor i is not visible in those two probabilities, but it is part of the state and can influence a later basis transformation.
How to reason about the result
Separate three layers: (1) the ideal mathematical prediction, (2) finite-shot sampling, and (3) implementation effects such as noise or compilation. A good laboratory report identifies which layer can plausibly explain an observed discrepancy.
Check your understanding
- Why can α=1 and β=1 not describe a normalized qubit without rescaling?
- What information is lost if we replace amplitudes by probabilities too early?
- Explain the difference between global and relative phase in one paragraph.
Projects unlocked
Before moving on
You should be able to explain the central idea in your own words, perform the worked example without copying it, and make a falsifiable prediction for the first linked project.