Skip to main content

Physics V course sequence · Interactive lesson

Quantum states, Dirac notation and mixtures

This is the grammar the rest of the course is written in. Practise the moves until they are reflex: normalise, project, insert the identity, drop a global phase and keep a relative one — then meet the density operator, because most of the systems you will ever calculate on do not come with a ket.

UPV-02.09 · Lesson 9 of 9 in this unit. Position is not a completion score.
Starting model: Quantum states, Dirac notation and mixturesLeft: the equatorial plane of the Bloch ball (populations held at ½, so the arrow is the whole Bloch vector), the state's coherence drawn as an arrow of length V at angle φ inside the pure ring |a| = 1. Right: the interference fringe P(+x) = ½(1 + V cos φ). At V = 1.00 and φ = 60°: P(+x) = 0.75, coherence |ρ₀₁| = 0.50, purity Tr ρ² = 1.00.⟨σₓ⟩⟨σy⟩|a| = V = 1.000°360°P(+x) = ½(1 + V cos φ)10V = 0: P = ½
Start with a picture. Change the model in the lab below.
1

Build the model

The state is a ray — and not every state is a ket.

The key idea

A quantum state is the ray a unit ket spans in a complex separable Hilbert space; when the preparation is uncertain it is a density operator — a positive, Hermitian, unit-trace operator on that space.

Example. (|0⟩+|1⟩)/√2 and the mixture ½|0⟩⟨0| + ½|1⟩⟨1| both give P(0) = P(1) = ½, yet σₓ returns +1 with probability 1 on the first and ½ on the second: the coherence ⟨0|ρ|1⟩ = ½ versus 0 is the entire difference.

The complete physical model and assumptions

Quantum mechanics assigns an isolated system a unit vector in a complex separable Hilbert space, then immediately weakens the claim: |ψ⟩ and e(iα)|ψ⟩ give identical predictions for every observable, so the physical state is the ray, not the ket. Everything computable flows through the inner product — probabilities are squared overlaps, and any orthonormal basis carries a resolution of the identity Σ|n⟩⟨n| = 1̂ that can be inserted anywhere to change representation at zero cost. The formalism's power is also its limit: a ket encodes the most that can be known, and the moment the preparation itself is uncertain — a source emitting |0⟩ or |1⟩ on a coin flip — no ket exists for the output. The honest object is the density operator ρ = Σ pₖ|ψₖ⟩⟨ψₖ|, positive with unit trace, whose off-diagonal coherences are the entire difference between a superposition, which can interfere, and a mixture of the same basis states, which cannot. What the ray convention costs is vigilance about phase: a global phase never matters, a relative phase inside a superposition always does, and half the errors in this course come from confusing the two.

1The state is a ray in a separable Hilbert space

The first postulate assigns an isolated system a unit vector |ψ⟩ in a complex separable Hilbert space H — two dimensions for a spin-½, the square-integrable functions L² for a particle on a line. But the assignment is many-to-one: |ψ⟩ and e(iα)|ψ⟩ satisfy |⟨φ|e(iα)ψ⟩|² = |⟨φ|ψ⟩|² for every |φ⟩, so no experiment distinguishes them. The physical state is therefore the ray — the one-dimensional subspace {c|ψ⟩ : c ∈ ℂ} — with the unit ket a convenient representative. Separability earns its place in the sentence: it guarantees a countable orthonormal basis, which is what lets a state be a column of amplitudes and an operator a matrix rather than something worse.

2Bras, inner products, and what they compute

The Riesz theorem pairs every ket |ψ⟩ with exactly one bra ⟨ψ| — every continuous linear functional on H is of that form — and the pairing ⟨φ|ψ⟩ is the inner product: conjugate-symmetric, ⟨φ|ψ⟩ = ⟨ψ|φ⟩*, and therefore conjugate-linear in the bra slot in the physics convention. Everything measurable is built from it: ⟨ψ|ψ⟩ = 1 is the normalisation Born's rule needs, |⟨φ|ψ⟩|² is the probability that a system prepared in |ψ⟩ passes a test for |φ⟩, and ⟨φ|A|ψ⟩ is a matrix element once an operator sits between. Try it on |ψ⟩ = (3|0⟩ + 4i|1⟩)/5: ⟨ψ|ψ⟩ = (9 + 16)/25 = 1 — but only because the bra conjugates 4i to −4i, making the |1⟩ contribution (−4i)(4i) = +16. Drop the conjugate and you get (9 − 16)/25, a negative probability; the star is not decoration.

3Insert the identity to change basis

Any orthonormal basis (|n⟩) resolves the identity: Σ|n⟩⟨n| = 1̂. Insert it before a ket and the expansion falls out, |ψ⟩ = Σ⟨n|ψ⟩|n⟩, each coefficient a projection cₙ = ⟨n|ψ⟩, with Parseval guaranteeing Σ|cₙ|² = 1 — probability survives a change of representation because the insertion is the identity, not an approximation. Concretely: the z-basis ket |0⟩ meets the x basis |±⟩ = (|0⟩ ± |1⟩)/√2 through ⟨+|0⟩ = ⟨−|0⟩ = 1/√2, so |0⟩ = (|+⟩ + |−⟩)/√2 and a σₓ measurement returns ±1 at ½ each. The same insertion between an operator and a ket, ⟨m|A|ψ⟩ = Σₙ ⟨m|A|n⟩⟨n|ψ⟩, is nothing but matrix-times-column — Dirac notation makes the linear algebra self-assembling.

4Global phase never, relative phase always

Multiply an entire ket by e(iα) and every probability keeps its value: the phase is global and unphysical. Move the same factor inside a superposition and it becomes a relative phase, which measurement can see. Take |ψφ⟩ = (|0⟩ + e(iφ)|1⟩)/√2. In the z basis both amplitudes have modulus 1/√2 whatever φ is: P(0) = P(1) = ½ and φ is invisible. Project on |+⟩ instead: ⟨+|ψφ⟩ = (1 + e(iφ))/2, so P(+x) = ½(1 + cos φ) — a full interference fringe. At φ = 0 the state is |+⟩ itself and P = 1; at φ = π it is |−⟩ and P = 0; at φ = π/2 it is the σy eigenstate and P = ½. The working rule: a phase you can factor out of every term is gauge; one you cannot is data.

5When no ket exists: the density operator

A ket encodes maximal knowledge. A machine that emits |ψₖ⟩ with probability pₖ has handed you less, and no single ket in H reproduces its statistics. The right object is ρ = Σ pₖ|ψₖ⟩⟨ψₖ| — Hermitian, positive, unit trace — with every prediction read off as ⟨A⟩ = Tr(ρA) and P = Tr(ρP̂) for the outcome's projector. A pure state is the special case ρ = |ψ⟩⟨ψ|, a rank-one projector with ρ² = ρ; anything else is mixed, and the basis-free test is purity: Tr ρ² = 1 iff pure, falling to 1/d at the maximally mixed 1̂/d. One warning the notation hides: the decomposition into pₖ and |ψₖ⟩ is not unique. Mixing |0⟩ and |+⟩ at ½ each gives ρ = [[¾, ¼],[¼, ¼]], and mixing that ρ's own eigenstates at 0.854 and 0.146 gives exactly the same matrix — the preparations differ, the physics does not.

6Coherences are what a mixture is missing

Write both candidates in the (|0⟩, |1⟩) basis. The superposition (|0⟩+|1⟩)/√2 has ρ = ½[[1,1],[1,1]]; the even mixture has ρ = ½[[1,0],[0,1]]. Their diagonals — the populations — agree, so every z measurement agrees. The whole difference sits in the off-diagonal coherence ⟨0|ρ|1⟩: ½ against 0. The Pauli decomposition ρ = ½(1̂ + a⋅σ) makes this geometric: a = (⟨σₓ⟩, ⟨σy⟩, ⟨σz⟩) is a point in the unit ball, pure states on the surface, the even mixture at dead centre, and the coherences are the equatorial components aₓ = 2 Re ρ₀₁, ay = −2 Im ρ₀₁. A σₓ measurement returns +1 with probability ½(1 + aₓ): 1 for the superposition, ½ for the mixture. Interference is nothing exotic — it is a coherence being read out in a rotated basis, and decoherence is that matrix element draining away.

2

Key equations

Read the units, assumptions and limits before substituting.

Ray equivalence (global phase)

|ψ⟩ ≐ e(iα)|ψ⟩ for all real α

|⟨φ|e(iα)ψ⟩|² = |⟨φ|ψ⟩|² for every |φ⟩, so the representative ket is yours to choose — a phase inside a sum is not covered.

≐ reads "represents the same ray"; α dimensionless (radians); both kets unit-normalised, ⟨ψ|ψ⟩ = 1

Resolution of the identity

Σₙ |n⟩⟨n| = 1̂ ⇒ |ψ⟩ = Σₙ cₙ|n⟩, cₙ = ⟨n|ψ⟩

Insert it anywhere to change basis or read off a matrix element; Parseval keeps total probability at one.

(|n⟩) any orthonormal basis; cₙ dimensionless amplitudes with Σ|cₙ|² = 1

Density operator

ρ = Σₖ pₖ|ψₖ⟩⟨ψₖ|, ρ† = ρ, ρ ≥ 0, Tr ρ = 1

The state of a system whose preparation is uncertain — the object that exists when no single ket does.

pₖ ≥ 0 preparation probabilities with Σpₖ = 1, over unit kets |ψₖ⟩ not necessarily orthogonal; ⟨A⟩ = Tr(ρA) for an observable A, P = Tr(ρP̂) for a projector P̂

Purity test

Tr ρ² = 1 ⇔ pure1/d ≤ Tr ρ² ≤ 1

One basis-independent number answers 'ket or mixture?' — no diagonalisation, no choice of axes.

d = dim H; the floor 1/d is reached only by the maximally mixed ρ = 1̂/d

Qubit in the Pauli basis

ρ = ½(1̂ + a⋅σ), a = (⟨σₓ⟩, ⟨σy⟩, ⟨σz⟩), |a| ≤ 1

Every qubit state is a point in the unit ball: pure states on the sphere, the even mixture at the centre.

σ = (σₓ, σy, σz) the Pauli matrices, a the dimensionless Bloch vector; coherences: aₓ = 2 Re ρ₀₁, ay = −2 Im ρ₀₁; Tr ρ² = ½(1 + |a|²)
3

Interactive lab

Predict first. Explore the model. Compare the result.

Explore the model

1.00
0 to 1; steps of 0.05.
60 °
0 to 360 °; steps of 5.

Try this. Slide V from 1 to 0 at any φ: the arrow retreats to the centre and the fringe flattens onto the dashed P = ½ line — the maximally mixed state keeps no coherence for any basis to read. At V = 1 the state is pure and φ alone swings P(+x) through the full range 1 to 0.

Live results

P(+x)
0.75
COHERENCE |ρ₀₁|
0.50
PURITY Tr ρ²
1.00
EIGENVALUE λ₊
1.00

Results follow this lesson’s model and assumptions. Displayed values are rounded.

Interactive Physics V modelLeft: the equatorial plane of the Bloch ball (populations held at ½, so the arrow is the whole Bloch vector), the state's coherence drawn as an arrow of length V at angle φ inside the pure ring |a| = 1. Right: the interference fringe P(+x) = ½(1 + V cos φ). At V = 1.00 and φ = 60°: P(+x) = 0.75, coherence |ρ₀₁| = 0.50, purity Tr ρ² = 1.00.⟨σₓ⟩⟨σy⟩|a| = V = 1.000°360°P(+x) = ½(1 + V cos φ)10V = 0: P = ½
Left: the equatorial plane of the Bloch ball (populations held at ½, so the arrow is the whole Bloch vector), the state's coherence drawn as an arrow of length V at angle φ inside the pure ring |a| = 1. Right: the interference fringe P(+x) = ½(1 + V cos φ). At V = 1.00 and φ = 60°: P(+x) = 0.75, coherence |ρ₀₁| = 0.50, purity Tr ρ² = 1.00.

Predict → change one variable → check

Plan a change before running it. Every other input stays at the saved baseline.

Saved baseline. Visibility V = 2|ρ₀₁|: 1.00; Relative phase φ: 60 °

Baseline 1.00; choose 0 to 1, in steps of 0.05.
4. Compared with the saved baseline, this result will…

This experiment is kept only while this page is open. It does not change saved course progress.

4

Catch the common trap

An equal superposition is not "the system secretly being |0⟩ or |1⟩ with probability ½ each" — that sentence describes the mixture ρ = 1̂/2, a different state with different predictions. The two agree only in the basis you happened to write them in: measure σₓ and (|0⟩+|1⟩)/√2 answers +1 every single time, while the mixture stays at 50/50 in every basis. The matrices say why: the superposition keeps the off-diagonal coherence ⟨0|ρ|1⟩ = ½, the mixture has none, and probabilities in any rotated basis depend on exactly that entry. The ignorance reading also misplaces the uncertainty: in the mixture one of |0⟩ or |1⟩ was prepared and you do not know which; in the superposition neither was, and no hidden choice between them survives the σₓ test.

5

Practice & worked examples

3 authored examples. Make an attempt, then reveal the reasoning one step at a time.

EasyExample 1

A qubit is prepared as the unnormalised ket 3|0⟩ + 4i|1⟩. Normalise it, find the probabilities of the outcomes 0 and 1, then the probability of +1 when σₓ is measured, given |+⟩ = (|0⟩ + |1⟩)/√2.

Sketch your answer or reasoning, then compare it with the authored solution. Your writing is not automatically graded or saved.

0 of 4 steps revealed.

MediumExample 2

For |ψφ⟩ = (|0⟩ + e(iφ)|1⟩)/√2, find P(+x) as a function of φ and evaluate it at φ = π/3. Then show that multiplying the whole ket by e(iπ/7) changes nothing, while moving that same factor onto |1⟩ alone changes the answer.

Sketch your answer or reasoning, then compare it with the authored solution. Your writing is not automatically graded or saved.

0 of 4 steps revealed.

HardExample 3

A source emits |0⟩ with probability ½ and |+⟩ = (|0⟩+|1⟩)/√2 with probability ½. Construct ρ in the (|0⟩, |1⟩) basis, find its Bloch vector, purity and eigenvalues, and explain why the ½/½ recipe does not appear in the spectrum.

Sketch your answer or reasoning, then compare it with the authored solution. Your writing is not automatically graded or saved.

0 of 5 steps revealed.

6

Quick check

Select an answer and explain it before checking.

A source outputs qubits that give 0 and 1 with probability ½ each when measured in the (|0⟩, |1⟩) basis. Which measurement settles whether it emits the superposition (|0⟩+|1⟩)/√2 or the even mixture ρ = 1̂/2?
7

Review & continue

A quantum state is the ray a unit ket spans in a complex separable Hilbert space; when the preparation is uncertain it is a density operator — a positive, Hermitian, unit-trace operator on that space.

  • Explain the relationship without looking at the equation.
  • Check a sign, a unit and a model assumption in your working.
  • Return to the lab or worked example if a step is still unclear.

Extra challenging questions

Connect several ideas, explore supplied data, and compare your reasoning with a worked solution.