Start with the preview
Start here — today's preview. Watch “Ever heard of Quantum Operators and Commutators? (Explained for Beginners)!” from Parth G before (or after) this session. The lab will wait. Mostly.
Ever heard of Quantum Operators and Commutators? (Explained for Beginners)!
Parth G explains what a quantum operator is and why commutators, which measure whether the order of two operations matters, are so useful, including their role in Ehrenfest's theorem. Watch it first, then come back to see the same ideas written in Dirac's notation and worked through with real two-by-two matrices.
Watch on YouTubeMore from the video vault
9. Dirac's Bra and Ket Notation
Barton Zwiebach's lecture from MIT's 8.05 Quantum Physics II (Fall 2013) builds Dirac's notation from the inner product upward: bras and kets, projection operators, the adjoint of an operator, Hermitian and unitary operators, and the uncertainty of a Hermitian operator. It runs well ahead of this course, so treat it as a view of where today's grammar leads.
Watch on YouTubeEigenvectors and eigenvalues | Chapter 14, Essence of linear algebra
Not a quantum video, but the clearest picture anywhere of what an eigenvector is: a direction that a transformation only stretches, squashes or flips, never turns. Hold that image through the session, because a quantum eigenstate is exactly such a direction, and its eigenvalue is a possible measurement result.
Watch on YouTube- Ever heard of Quantum Operators and Commutators? (Explained for Beginners)! — Parth G — https://www.youtube.com/watch?v=so1szjHu7jY
- 9. Dirac's Bra and Ket Notation — MIT OpenCourseWare — https://www.youtube.com/watch?v=r2NMWEsNcTs
- Eigenvectors and eigenvalues | Chapter 14, Essence of linear algebra — 3Blue1Brown — https://www.youtube.com/watch?v=PFDu9oVAE-g
Today's mission
Dr. Q · cold openPsigor, put down that ladder; we are finished climbing it, for now. Last session I waved two robotic hands at you, one raising, one lowering, and promised that operators would get a session of their own. Today I keep that promise. Beneath every wavefunction, every energy level and every probability in this course lies a grammar, a handful of symbols that Paul Dirac polished into the most efficient notation in physics: kets, bras and brackets. In that grammar a measurement becomes a question with a fixed menu of answers, a prediction becomes the overlap of two arrows, and the uncertainty principle falls out of a single line of algebra in which the order of multiplication matters. Fetch the chalk, Psigor. Back to the blackboard!
By the end of this session you will be able to:
- Write quantum states as kets and bras, compute ⟨φ|ψ⟩ as an overlap, and turn it into a probability with the Born rule.
- Explain why every observable is represented by a Hermitian operator and why its eigenvalues, the only possible measurement results, are always real.
- Expand a state in an observable's eigenbasis, read off the probability of each result, and calculate the expectation value ⟨ψ|Â|ψ⟩.
- Use the Pauli matrices to find the eigenvalues, eigenstates and expectation values of an electron's spin or a qubit.
- Calculate commutators, decide whether two observables are compatible, and explain how the commutator of x̂ and p̂, which equals iħ, produces the uncertainty principle.
- Describe in words what the momentum operator, p̂ = −iħ d/dx, does to a wavefunction, and why a plane wave has a definite momentum ħk.
Read it — or listen along
7 parts. Press play on any part and the paragraph being read lights up as Dr. Q speaks.
States Are Arrows: Kets and Hilbert Space
For thirteen chapters we have described quantum systems with wavefunctions, a complex number ψ(x) attached to every point in space. That picture hides a deeper structure. Recall the oscillator: any state of the spring can be built by adding up its rungs, each multiplied by a complex number. Objects that can be added together and scaled by numbers are what mathematicians call vectors. The great leap made between 1925 and 1932 by Heisenberg, Born, Jordan, Dirac and John von Neumann was to take this literally: a quantum state is a vector, an arrow in an abstract space of possibilities, and a wavefunction is just one way of listing its components.
Dirac gave the arrow its modern costume. He wrote a state as |ψ⟩ and called the symbol a ket; the label inside is only a name, so |n⟩ can stand for the oscillator's rung n and |↑⟩ for an electron whose spin points up. Kets live in a Hilbert space, named after the Göttingen mathematician David Hilbert: a vector space with complex components and a rule for measuring lengths and angles. Its dimension is the largest number of states some measurement could tell apart perfectly: two for an electron's spin, infinitely many for a particle's position.
Two rules make kets useful. Superposition is simply vector addition: if |a⟩ and |b⟩ are possible states, so is α|a⟩ + β|b⟩ for any complex numbers α and β, the linearity of chapter 10's Schrödinger equation in vector clothing. And every physical state has length exactly one, a condition called normalization that makes probabilities add up to 1. The smallest interesting case has two dimensions: every state of an electron's spin, a photon's polarization or a qubit is a column of just two complex amplitudes. That two-row column is the workbench for this whole session.
Watch this part
Bras, Brackets and the Overlap
To compare two arrows in ordinary space you use the dot product, which multiplies matching components and adds the results: largest when the arrows point the same way, zero when they are perpendicular. Complex components need one extra twist: the components of one arrow must be complex-conjugated, every i turned into −i, and Dirac's notation builds that twist in. His bra, written ⟨φ|, holds the same components as |φ⟩, laid on their side as a row and each replaced by its complex conjugate. Place a bra against a ket and you get a bracket, ⟨φ|ψ⟩, a single complex number. Split the word bracket in two, drop the c, and you have Dirac's joke, unveiled in a three-page paper in 1939.
This number, the inner product, measures overlap: how much of the state |ψ⟩ lies along the direction |φ⟩. A state's overlap with itself, ⟨ψ|ψ⟩, is the squared length of its arrow; the conjugation guarantees that this is a positive real number, which normalization sets to 1. And states with zero overlap are called orthogonal, the Hilbert-space word for perpendicular. Orthogonal states are perfectly distinguishable: spin up and spin down, say, or two different rungs of the oscillator.
Now the payoff: Born's rule of chapter 9 in Dirac's clothing. Suppose a system is in the state |ψ⟩ and a measurement has an outcome whose state is |φ⟩. Call the overlap c = ⟨φ|ψ⟩; the probability of that outcome is |c|², the squared magnitude of the overlap. Light gives the oldest demonstration. In 1809 Étienne-Louis Malus found that polarized light meeting a polarizer turned at angle θ to its polarization keeps a fraction cos²θ of its intensity. Send the light through a polarizing filter one photon at a time and each photon passes whole or is absorbed whole: cos θ is the overlap between the photon's polarization state and the filter's, and cos²θ is the probability that it passes.
Watch this part
Observables Are Hermitian Operators
In chapter 10 an operator was a rule that turns one function into another. In Dirac's grammar an operator, written with a hat as in Â, turns one ket into another, and it is linear: it respects sums and multiples. In a finite-dimensional Hilbert space every such rule is a matrix, a square grid of numbers that multiplies the column of amplitudes. The central postulate of this chapter is that every observable, every measurable quantity from energy to spin, is represented by an operator of one special kind, which answers two questions before any experiment is done: which results are possible, and which states would give each result with certainty.
The special kind is called Hermitian, after the French mathematician Charles Hermite, whose polynomials shaped last session's oscillator wavefunctions. Flip a matrix across its main diagonal, so that rows become columns, and replace every entry by its complex conjugate; the result is the adjoint, written † and read 'A-dagger'. A Hermitian operator equals its own adjoint: its diagonal entries are real, and each entry above the diagonal is the complex conjugate of its mirror image below. Hermitian does not mean real: the matrix with rows (0, −i) and (i, 0) is perfectly Hermitian, as Part 5 will show.
Why insist on this? Because it delivers three guarantees, the first of which Hermite himself proved in 1855. The eigenvalues of a Hermitian operator, the numbers a for which Â|a⟩ = a|a⟩ has a non-zero solution, are always real, as every reading on a dial must be. Eigenvectors belonging to different eigenvalues are orthogonal, so different results are perfectly distinguishable. And the eigenvectors form a complete set of perpendicular axes for the whole space, a result called the spectral theorem. The measurement postulate then reads: the only possible results of measuring an observable are the eigenvalues of its operator. The energies of the box and the oscillator were eigenvalues of the Hamiltonian all along.
Watch this part
Eigenstates: Questions With Certain Answers
An eigenvector of an observable is called an eigenstate, the quantum version of a quantity with a definite value: in the eigenstate |a⟩, a measurement of A returns a every time, with no spread at all. Because the eigenstates of a Hermitian operator form a complete set of perpendicular axes, any state can be expanded along them: |ψ⟩ = c₁|a₁⟩ + c₂|a₂⟩ + c₃|a₃⟩ and so on, one complex coefficient per result. Each coefficient is an overlap, cₙ = ⟨aₙ|ψ⟩, and the probability of the result aₙ is |cₙ|². Because the axes are perpendicular and the arrow has length one, these probabilities add up to exactly 1: Pythagoras, promoted to the foundations of physics.
You have done this before without the vocabulary. Expanding a wavefunction in the stationary states of a box or a spring was an expansion in the eigenbasis of the Hamiltonian, and the squared coefficients were the probabilities of each energy. One state can be expanded in many eigenbases, one per observable, just as one arrow has different components along differently oriented axes. Rotating the axes changes the description, never the arrow, and a state with a definite value of one observable is generally a superposition with respect to another.
Repeat a measurement on many identically prepared copies and the results average to the expectation value: each possible result aₙ multiplied by its probability, |cₙ|², then all added up. Dirac's notation packs the same quantity into a sandwich, ⟨ψ|Â|ψ⟩: let the operator act on the ket, then take the overlap with the original state, with no need to find a single eigenvector. Worked example 2 does exactly this for an electron spin.
Watch this part
The Two-Level Workshop: Pauli's Matrices
Now let us build the simplest quantum instrument there is. Take an electron's spin and choose as axes the two states a z-measurement can return: |↑⟩, the column with entries 1 and 0, and |↓⟩, the column with entries 0 and 1. A general state is a column of two complex amplitudes, α for up and β for down, with |α|² + |β|² = 1. In 1927 Wolfgang Pauli, building spin into Schrödinger's theory, represented its three components by three two-by-two matrices: σz has rows (1, 0) and (0, −1), σx has rows (0, 1) and (1, 0), and σy has rows (0, −i) and (i, 0). Spin along each axis is ħ/2 times the matching matrix.
Every Pauli matrix is Hermitian with eigenvalues +1 and −1 only, so spin measured along any axis is +ħ/2 or −ħ/2, never anything in between: the stark two-valuedness Otto Stern and Walther Gerlach saw in 1922, when a beam of silver atoms split in two, the story of chapter 17. The eigenstates of σz are |↑⟩ and |↓⟩. Those of σx are equal-weight superpositions, |+x⟩ = (1/√2)(|↑⟩ + |↓⟩) and |−x⟩ = (1/√2)(|↑⟩ − |↓⟩), while those of σy carry a relative factor of i or −i: a phase a z-measurement can never see, yet one that transforms the statistics of a y-measurement.
The same matrices run quantum computers, where they go by X, Y and Z and the two states are written |0⟩ and |1⟩. X swaps the two amplitudes, a quantum NOT; Z flips the sign of the second. Programmers also use the Hadamard matrix, (1/√2) times the matrix with rows (1, 1) and (1, −1), which is Hermitian too, with eigenvalues +1 and −1. But not every useful matrix is an observable. The phase gate S, with rows (1, 0) and (0, i), has eigenvalues 1 and i: a perfectly good operation on a qubit, but no dial can ever read i. Gates transform states; observables are menus of answers. X, Y, Z and the Hadamard happen to be both.
Watch this part
Order Matters: Commutators
With ordinary numbers, 3 × 5 equals 5 × 3. With matrices, the order of multiplication can change the answer, and quantum mechanics is built on the difference. Put σx first and σz second and the product, σxσz, is the matrix with rows (0, −1) and (1, 0); reverse the order and you get rows (0, 1) and (−1, 0), its exact negative. A book on your desk shows the same effect: give it a quarter turn about a vertical axis, then a quarter turn about a horizontal one, and compare with the same turns in the opposite order. The book ends up facing a different way, because rotations do not commute, and spin operators are, at heart, the generators of rotations.
The commutator of  and B̂, written with square brackets as [Â, B̂], is the product in one order minus the product in the other, ÂB̂ − B̂Â: zero exactly when the order makes no difference. For spin, the commutator of σx with σy is 2i times σz, and likewise around the cycle x, y, z. Here is the physics: two observables share a complete set of eigenstates, and so can have definite values together, exactly when their operators commute. Such observables are compatible, like the energy and total angular momentum of a hydrogen atom. Incompatible ones cannot be pinned down together: no state is an eigenstate of both σx and σz, so no electron has a definite spin along both x and z.
Commutators also set the price of incompatibility. In 1929 Howard Percy Robertson proved, for any two observables, that the product of their spreads, ΔA·ΔB, is at least half the magnitude of the average of their commutator. Where that average is zero the bound is zero too; where it is not, the state itself forbids both quantities from being sharp at once, however perfect the laboratory. In 2007 Valentina Parigi, Alessandro Zavatta and Marco Bellini in Florence, with Myungshik Kim of Queen's University Belfast, added a single photon to a beam of thermal light and then removed one, or did the reverse, and showed by quantum tomography that the two orders leave measurably different states. Mwahaha — measurably! Last chapter's ladder operators, caught failing to commute.
Watch this part
Position, Momentum and the Famous iħ
For a particle on a line, the star observables are position and momentum, and the Hilbert space has infinitely many dimensions, one for each point. The position operator x̂ is simple: multiply ψ(x) by x. The momentum operator is the surprise, p̂ = −iħ d/dx, which in words says: take the slope of the wavefunction at every point and multiply by −iħ. The factor i makes the operator Hermitian, which a bare slope operator is not; the minus sign makes a wave travelling toward positive x carry positive momentum; and ħ converts wiggliness into units of momentum.
Why the slope? Try it on the plane wave e^(i·k·x), a complex wave that corkscrews along the x-axis with wavelength λ = 2π/k. Its slope is i·k times the wave itself, so p̂ returns the same wave multiplied by −iħ × i·k = ħk. The plane wave is a momentum eigenstate with eigenvalue p = ħk = h/λ: de Broglie's relation from chapter 6, now built into the machinery. A standing sine wave, sin(kx), is not an eigenstate but an equal superposition of waves running left and right, with momenta +ħk and −ħk. And p̂² divided by 2m reproduces the curvature term of chapter 10's Hamiltonian, −(ħ²/2m) d²/dx².
Now the commutator. Apply x̂p̂ − p̂x̂ to any wavefunction f. The first term gives −iħ times x times the slope of f. The second needs the slope of the product x·f, which by the product rule is f plus x times the slope of f, all multiplied by −iħ. Subtract, and everything cancels except iħ·f. Hence the canonical commutation relation, x̂p̂ − p̂x̂ = iħ. Max Born and Pascual Jordan made it the cornerstone of matrix mechanics in September 1925; it is carved on Born's gravestone in Göttingen as pq − qp = h/2πi. Earle Kennard proved Δx·Δp ≥ ħ/2 in 1927, and Robertson's inequality derives it from this one commutator. Uncertainty is not a failing of clumsy instruments; it is a theorem about operators that refuse to commute.
Watch this part
Go deeper on video
18 more videos for this chapter, 12 of them from universities, research institutes and Nobel lectures. The clips under “Watch this part” in the lesson start at the moment that matters.
Key equations
Overlap and the Born rule
The bracket multiplies the complex-conjugated components of the bra by the matching components of the ket and adds them up: an overlap. Its squared magnitude is the probability that a system in state psi is found in state phi, and normalization makes the total probability one.
| Symbol | Meaning | Unit |
|---|---|---|
| |ψ⟩ | ket: the state of the system, a column of complex amplitudes ψₙ | dimensionless |
| ⟨φ| | bra: the conjugated row built from the outcome state |φ⟩ | dimensionless |
| φₙ* | complex conjugate of the n-th component of |φ⟩ (every i becomes −i) | dimensionless |
| P(φ) | probability that a measurement finds the system in |φ⟩ | dimensionless, between 0 and 1 |
Say it: “the inner product of phi and psi equals the sum over n of phi n star times psi n. The probability of phi equals the magnitude of that inner product, squared. And the inner product of psi with itself equals one”
Hermitian operators and their eigenvalues
An observable's operator equals its own conjugate transpose. Its eigenvalues are the only possible measurement results, and being Hermitian guarantees they are real; its eigenstates are the states that give each result with certainty.
| Symbol | Meaning | Unit |
|---|---|---|
| Â | operator representing the observable A (a matrix for a finite system) | units of the observable |
| † | adjoint: the conjugate transpose of  | units of the observable |
| aₙ | eigenvalue: a possible measurement result | units of the observable |
| |aₙ⟩ | eigenstate: the definite-value state for result aₙ | dimensionless |
Say it: “A-dagger equals A. A acting on ket a n gives the number a n times ket a n, and every eigenvalue a n is a real number”
Eigenbasis expansion and expectation value
Any state can be written along the eigenstates of an observable. The squared coefficients are the probabilities of each result, and the expectation value, the long-run average of many measurements, is the probability-weighted sum of the eigenvalues, or equivalently the sandwich of the operator between bra and ket.
| Symbol | Meaning | Unit |
|---|---|---|
| cₙ | amplitude for result aₙ: the overlap of |aₙ⟩ with |ψ⟩ | dimensionless (complex) |
| |cₙ|² | probability of measuring aₙ | dimensionless |
| ⟨A⟩ | expectation value: average over many identically prepared systems | units of the observable |
Say it: “ket psi equals the sum over n of c n times ket a n, where c n is the inner product of a n and psi. The expectation value of A equals bra psi, A, ket psi, which equals the sum over n of a n times the magnitude of c n squared”
The Pauli matrices
Three Hermitian two-by-two matrices, each with eigenvalues plus one and minus one, describe spin one half and every other two-level system. Spin along any axis can therefore only be measured as plus or minus h-bar over two.
| Symbol | Meaning | Unit |
|---|---|---|
| σx, σy, σz | Pauli matrices, called X, Y and Z in quantum computing | dimensionless |
| Sₖ | spin component along axis k = x, y or z | J·s |
| ħ | reduced Planck constant, 1.055×10⁻³⁴ | J·s |
Say it: “sigma x has rows zero, one and one, zero. Sigma y has rows zero, minus i and i, zero. Sigma z has rows one, zero and zero, minus one. The spin component along each axis is h-bar over two times the matching sigma”
Commutators and Robertson's uncertainty relation
The commutator measures how much the order of two operators matters. Zero means the observables are compatible and can be definite together; a non-zero commutator puts a floor under the product of their spreads. That floor depends on the state, unless the commutator is a constant, as it is for position and momentum.
| Symbol | Meaning | Unit |
|---|---|---|
| [Â, B̂] | commutator of the operators  and B̂ | units of A times units of B |
| ΔA, ΔB | standard deviations of the results of measuring A and B in the same state | units of A, units of B |
Say it: “the commutator of A and B equals A B minus B A. The commutator of sigma x and sigma y equals two i sigma z. And delta A times delta B is at least one half the magnitude of the average of the commutator of A and B”
Momentum operator and the canonical commutator
Momentum is the slope of the wavefunction times minus i h-bar, so a plane wave has definite momentum h-bar k, de Broglie's relation. The commutator of position and momentum is the same constant for every state, and through Robertson's relation it yields Heisenberg's uncertainty principle.
| Symbol | Meaning | Unit |
|---|---|---|
| p̂ | momentum operator | kg·m/s |
| x̂ | position operator: multiply the wavefunction by x | m |
| k | wavenumber, 2π/λ | m⁻¹ |
| Δx, Δp | standard deviations of position and momentum | m, kg·m/s |
Say it: “p equals minus i h-bar times d by d x. p acting on e to the i k x gives h-bar k times e to the i k x. The commutator of x and p equals i h-bar, which implies delta x times delta p is at least h-bar over two”
Real numbers, step by step
Cover the steps, try the problem yourself, then reveal the solution one step at a time.
Overlaps with a hidden phase
A qubit is prepared in |ψ⟩ = 0.6|0⟩ + 0.8i|1⟩. Check that it is normalized, find the probabilities of 0 and 1 in a Z measurement, and find the probabilities of the outcomes |+⟩ = (1/√2)(|0⟩ + |1⟩) and |+i⟩ = (1/√2)(|0⟩ + i|1⟩). Then compare with the state 0.6|0⟩ + 0.8|1⟩, which has no i.
Step 1: Write the bra by conjugating each amplitude: ⟨ψ| = 0.6⟨0| − 0.8i⟨1|. The self-overlap is then 0.6 × 0.6 + (−0.8i) × (0.8i) = 0.36 + 0.64 = 1, so the state is normalized.
Step 2: Z measurement: the amplitudes are ⟨0|ψ⟩ = 0.6 and ⟨1|ψ⟩ = 0.8i, so P(0) = 0.6² = 0.36 and P(1) = |0.8i|² = 0.64.
Step 3: Overlap with |+⟩: ⟨+|ψ⟩ = (1/√2)(0.6 + 0.8i). Its squared magnitude is (0.36 + 0.64) ÷ 2 = 0.50.
Step 4: Overlap with |+i⟩: its bra is (1/√2)(⟨0| − i⟨1|). The overlap of this bra with |ψ⟩ is therefore (1/√2)(0.6 + (−i)(0.8i)) = (1/√2)(0.6 + 0.8) = 0.990, and the probability is 0.98.
Step 5: Without the i, the state 0.6|0⟩ + 0.8|1⟩ gives the same Z probabilities, 0.36 and 0.64, but the other two swap: the overlap with |+⟩ becomes 1.4 divided by √2, a probability of 0.98, while the probability of |+i⟩ drops to 0.50.
The state is normalized; P(0) = 0.36 and P(1) = 0.64; P(+) = 0.50 and P(+i) = 0.98. Removing the i leaves the Z statistics untouched but swaps the other two, to 0.98 and 0.50
Why it matters: A relative phase is invisible to one measurement and decisive for another, which is why amplitudes must be complex numbers and why a bra conjugates them. Drop the conjugation and the self-overlap would come out as 0.36 − 0.64 = −0.28, a negative total probability.
An expectation value from a two-by-two matrix
An electron's spin is in the state 0.6|↑⟩ + 0.8|↓⟩. Using Sz = (ħ/2)σz and Sx = (ħ/2)σx, find ⟨Sz⟩ and ⟨Sx⟩ in units of ħ and in joule-seconds, and check ⟨Sx⟩ against the probabilities of the two x-results.
Step 1: σz leaves the up amplitude alone and flips the sign of the down amplitude, so ⟨ψ|σz|ψ⟩ = 0.36 − 0.64 = −0.28, and ⟨Sz⟩ = −0.28 × ħ/2 = −0.14ħ.
Step 2: σx swaps the two amplitudes: acting on the column (0.6, 0.8) it gives (0.8, 0.6). The overlap with the original state is 0.6 × 0.8 + 0.8 × 0.6 = 0.96, so ⟨Sx⟩ = 0.96 × ħ/2 = 0.48ħ.
Step 3: In SI units, with ħ = 1.0546×10⁻³⁴ J·s: ⟨Sx⟩ = 0.48 × 1.0546×10⁻³⁴ = 5.06×10⁻³⁵ J·s and ⟨Sz⟩ = −0.14 × 1.0546×10⁻³⁴ = −1.48×10⁻³⁵ J·s.
Step 4: Check in the eigenbasis of σx: the overlaps with |+x⟩ and |−x⟩ are (0.6 + 0.8)/√2 and (0.6 − 0.8)/√2, so the probabilities are 1.96 ÷ 2 = 0.98 and 0.04 ÷ 2 = 0.02. Then ⟨σx⟩ = 0.98 − 0.02 = 0.96, exactly as before.
⟨Sz⟩ = −0.14ħ ≈ −1.48×10⁻³⁵ J·s and ⟨Sx⟩ = 0.48ħ ≈ 5.06×10⁻³⁵ J·s; an x-measurement gives plus ħ/2 with probability 0.98
Why it matters: The sandwich gave the answer without finding a single eigenvector. The three averages, 0.96 along x, 0 along y and −0.28 along z, satisfy 0.96² + 0² + 0.28² = 1, because together they form a unit arrow pointing almost along +x: the Bloch vector of chapter 23.
Caught not commuting: σx and σz
Multiply σx by σz in both orders, find the commutator [σx, σz], and decide whether an electron can have a definite spin along both x and z.
Step 1: σx times σz: the first row of σx, (0, 1), times the two columns of σz gives (0, −1); the second row, (1, 0), gives (1, 0). So σxσz has rows (0, −1) and (1, 0).
Step 2: σz times σx: the rows of σz, (1, 0) and (0, −1), times the columns of σx give rows (0, 1) and (−1, 0), the exact negative.
Step 3: Subtract: the commutator σxσz − σzσx has rows (0, −2) and (2, 0). Since σy has rows (0, −i) and (i, 0), this is −2i times σy, because −2i × (−i) = −2 and −2i × i = 2.
Step 4: The commutator is not zero, so σx and σz share no eigenstate. Check directly: the eigenstates of σz are |↑⟩ and |↓⟩, and σx turns |↑⟩ into |↓⟩, so |↑⟩ is not an eigenstate of σx.
σxσz has rows (0, −1) and (1, 0), σzσx is its negative, and the commutator [σx, σz] = −2iσy, which is not zero; no state has definite spin along both x and z
Why it matters: Robertson's relation makes the trade-off quantitative: the product of the spreads of σx and σz is at least half the size of the average of −2iσy, which is simply the size of the average of σy. For an electron prepared spin-up along y that bound is 1, and both spreads equal 1: x and z are as uncertain as a two-valued quantity can be.
The momentum operator meets an electron wave
In Clinton Davisson and Lester Germer's experiment of 1927, electrons with kinetic energy 54 eV diffracted from a nickel crystal. Show that the plane wave e^(i·k·x) is an eigenstate of p̂ = −iħ d/dx, then find the electrons' momentum, wavelength and wavenumber.
Step 1: Differentiate: the slope of e^(i·k·x) is i·k times the same wave. Multiply by −iħ: −iħ × i·k = −i²ħk = ħk. The operator returns the same wave times the number ħk, so the wave is an eigenstate with momentum eigenvalue p = ħk.
Step 2: Momentum from energy: p = √(2mE) = √(2 × 9.109×10⁻³¹ kilograms × 54 × 1.602×10⁻¹⁹ joules) = √(1.576×10⁻⁴⁷) = 3.97×10⁻²⁴ kilogram-metres per second.
Step 3: Wavelength: λ = h/p = 6.626×10⁻³⁴ ÷ 3.97×10⁻²⁴ = 1.67×10⁻¹⁰ metres, or 0.167 nm, comparable to the spacing between atoms in the crystal, which is why the electrons diffract.
Step 4: Wavenumber: k = p/ħ = 3.97×10⁻²⁴ ÷ 1.0546×10⁻³⁴ = 3.76×10¹⁰ per metre; 2π divided by the wavelength gives the same value.
The plane wave is an eigenstate with eigenvalue ħk; for electrons of 54 eV, p ≈ 3.97×10⁻²⁴ kilogram-metres per second, λ ≈ 0.167 nm and k ≈ 3.76×10¹⁰ per metre
Why it matters: Davisson and Germer inferred a wavelength of 0.165 nm from their diffraction peak, within about 1 percent of this prediction. In operator language, de Broglie's λ = h/p is no longer a separate postulate; it is the eigenvalue equation of −iħ d/dx.
What everyone gets wrong
Read the myth, decide whether you believed it, then bust it.
- Myth #1
An operator is the act of measuring: applying  to a state is what a measurement does to it.
TruthAn operator is a mathematical object, not a physical event. It encodes the possible results, its eigenvalues, and the states that give them with certainty, its eigenstates. Applying it to a ket produces another vector that is generally not the post-measurement state: σx turns spin-up into spin-down, yet an x-measurement on a spin-up electron yields spin along +x or −x, each half the time, and never spin-down. Measurement is a physical interaction with an apparatus; in the standard textbook account it leaves the system in one of the operator's eigenstates, with probability |cₙ|².
- Myth #2
Matrix order never matters, so AB is always the same as BA.
TruthOrdinary numbers commute, but matrices and operators generally do not: σxσz and σzσx are exact negatives of each other, and x̂p̂ − p̂x̂ = iħ. The difference, the commutator, is physics, not pedantry. It decides whether two observables can be definite together, sets the minimum product of their uncertainties, and was observed directly in 2007 by adding and subtracting single photons in both orders. Some pairs do commute, such as any two diagonal matrices, and observables whose operators commute are exactly the compatible ones.
- Myth #3
The expectation value is the result you should expect from a single measurement.
TruthThe expectation value ⟨ψ|Â|ψ⟩ is the average over many measurements on identically prepared systems. Each single measurement gives one of the eigenvalues, and the average may be none of them: for the spin state of worked example 2, ⟨Sz⟩ = −0.14ħ, yet every single z-measurement returns +ħ/2 or −ħ/2.
- Myth #4
Hermitian just means real and symmetric, so complex numbers never appear in observables.
TruthHermitian means equal to its own conjugate transpose. Real symmetric matrices qualify, but so do matrices with complex entries, provided mirror-image entries are complex conjugates: σy, with rows (0, −i) and (i, 0), is Hermitian and represents a perfectly measurable spin component. What must be real are the diagonal entries and the eigenvalues.
Your turn at the controls
Welcome to the Operator Workshop. On the instrument screen sits a single qubit, its state drawn as an arrow with its two complex amplitudes listed beside it. On the bench lies a rack of two-by-two matrices: Pauli X, Y and Z, the Hadamard, the phase gate S and more. Load any operator and the workshop shows its matrix, tells you whether it is Hermitian, finds its eigenvalues and eigenvectors, and reports the probability of each result and the expectation value ⟨ψ|Â|ψ⟩ for your current state. A commutator calculator multiplies any two operators in both orders and displays the difference. Then the game begins: rotate the state into the eigenstates of target operators, and judge which pairs of operators commute.
Your tasks
0/5How it connects to the theory
Every operator in the workshop is a two-by-two matrix acting on the column of two amplitudes, exactly as in Part 5. The eigenvalues it reports are the only results a measurement could return, which is why every Hermitian matrix on the bench shows real ones while S, which is not Hermitian, shows 1 and i. The probabilities are squared overlaps |⟨aₙ|ψ⟩|², and the expectation value is the sandwich ⟨ψ|Â|ψ⟩, equal to the probability-weighted sum of the eigenvalues. When the commutator calculator returns zero, as it does for Z and S, which are both diagonal, the two operators share eigenstates and one state can satisfy both targets. When it returns something non-zero, as for X and Z, no state is an eigenstate of both, and landing on one target scrambles the other: Robertson's uncertainty relation, playing out in two dimensions.
Operator Workshop: Matrices That Measure loads as you scroll down.
Make it stick
Spell BRA-KET, the notation itself, to recall the whole chapter. B: Bra, the ket laid on its side with every amplitude complex-conjugated. R: Real results only, because observables are Hermitian and Hermitian eigenvalues are real. A: Average, the expectation value ⟨ψ|Â|ψ⟩, a long-run mean rather than a promised result. K: Ket, the state itself, a column of complex amplitudes of total length one. E: Eigenstates, the definite-value states; expand in them, take overlaps, square for probabilities. T: Turn order matters, ÂB̂ − B̂Â, with x̂p̂ − p̂x̂ = iħ behind the uncertainty principle. To use it, walk the letters whenever you meet a measurement problem: B and K, write down the state and its bra; R, check that the operator is Hermitian and find its real eigenvalues; E, expand in the eigenstates and square the overlaps; A, average the results; T, ask whether a second observable commutes with the first.
Picture the state as an arrow in a room, and an observable as a set of perpendicular rulers fixed to the walls, one ruler for each possible result. The amplitude for a result is the shadow the arrow casts along that ruler, and the probability is the shadow's length squared; because the rulers are perpendicular and the arrow has length one, Pythagoras makes the probabilities add up to one. A second observable is a rotated set of rulers, and an arrow lying exactly along one ruler of the first set casts shadows on several rulers of the second: definite for one observable, uncertain for the other. Where it breaks: the shadows are complex numbers whose phases matter for interference; the room can have infinitely many dimensions; orthogonal kets need not be perpendicular in real space, since spin up and spin down are orthogonal kets that point in opposite directions; and reading a ruler is not passive, because in the standard account a measurement leaves the arrow lying along the ruler that gave the result.
The whole chapter in one lineStates are kets, observables are Hermitian operators with real eigenvalues as results, probabilities are squared overlaps, and order matters: x̂p̂ − p̂x̂ = iħ.
Flashcards
Saved on this device. Knew it moves a card up a box; still learning sends it back to box 1. Boxes 4–5 count as mastered.
Play it into long-term memory
Match the vocabulary, then take the Quiz Show. Score 70% or better to tick it off your checklist.
Vocab Match
Match each term to its definition, against the clock.
- 12 pairs in 2 rounds
- 100 points a match, more on a streak
- −25 per mistake · speed bonus each round
- Finish with 3 mistakes or fewer to win
Dr. Q's Quantum Quiz Show
Welcome, contestants! 8 questions, 30 seconds each, and one mad scientist judging you, lovingly. Answer fast for a speed bonus; answer right in a row and your points multiply.
- 100 per answer
- +100 speed bonus
- ×2 streak bonus
Prove it on paper
Answer every question, check your work, and read the explanations — the stretch challenge is for the truly mad.
Work through every question with the lesson closed, then check yourself. Use ħ = 1.0546×10⁻³⁴ J·s, h = 6.626×10⁻³⁴ J·s, mₑ = 9.109×10⁻³¹ kg and 1 eV = 1.602×10⁻¹⁹ J. Write every matrix row by row: the matrix with rows (a, b) and (c, d). Recall σx has rows (0, 1) and (1, 0), σy has rows (0, −i) and (i, 0), and σz has rows (1, 0) and (0, −1). Show every step in the calculation questions.
Part A
Vocabulary
- Ket
- Dirac's symbol |ψ⟩ for a quantum state: a vector in Hilbert space, written for a finite system as a column of complex amplitudes.
- Bra
- The partner ⟨ψ| of a ket: the same amplitudes laid out as a row and complex-conjugated, used to form inner products.
- Inner product
- The bracket ⟨φ|ψ⟩, a complex number measuring the overlap of two states; its squared magnitude is a probability.
- Hilbert space
- The complex vector space, with lengths and angles defined, in which the state vectors of a quantum system live.
- Observable
- A measurable physical quantity, such as energy, momentum or spin, represented in quantum mechanics by a Hermitian operator.
- Hermitian operator
- An operator equal to its own conjugate transpose; its eigenvalues are real and its eigenstates form a complete, orthogonal set.
- Eigenvalue
- A number a for which Âψ = aψ has a non-zero solution ψ; for an observable, one of the possible results of a measurement.
- Eigenstate
- A state that an operator only multiplies by a number; for an observable, a state in which that quantity has a definite value.
- Eigenbasis
- A complete set of orthogonal eigenstates of an observable, used as axes for expanding any state.
- Expectation value
- The average result ⟨ψ|Â|ψ⟩ of measuring an observable on many identically prepared systems.
- Pauli matrices
- The three Hermitian two-by-two matrices σx, σy and σz, each with eigenvalues ±1, describing spin one half and qubits.
- Commutator
- [Â, B̂] = ÂB̂ − B̂Â, which measures whether the order of two operators matters; zero means the observables are compatible.
Part B
Questions
Auto-checked, except answers in words or symbols, which you mark yourself.
- Question 1.Multiple choice
A qubit is in the state |ψ⟩ = 0.8|0⟩ − 0.6i|1⟩. Which expression is its bra ⟨ψ|?
- Question 2.Multiple choice
Which of these two-by-two matrices is Hermitian?
- Question 3.Multiple choice
The operator for some observable has eigenvalues −2, 0 and +5. What can a single measurement of that observable return?
- Question 4.True or false
Applying the matrix σz to a spin state produces the state the electron is left in after its spin is measured along z.
- Question 5.True or false
For any two square matrices A and B of the same size, AB = BA.
- Question 6.True or false
If a system is in an eigenstate of  with eigenvalue a, then ⟨A⟩ = a and the spread ΔA is zero.
- Question 7.Fill in the blank
An operator that equals its own conjugate transpose, and therefore has only real eigenvalues, is called .
- Question 8.Fill in the blank
Two observables whose operators commute, so that they can have definite values at the same time, are called .
- Question 9.Short answer
Using commutators, explain why no electron can have a definite spin component along both the x-axis and the z-axis at the same time.
- Question 10.Short answer
Describe in words what the momentum operator p̂ = −iħ d/dx does to a wavefunction. Why is the plane wave e^(ikx) a state of definite momentum while the standing wave sin(kx) is not?
- Question 11.Calculation
A qubit is prepared in a state proportional to |0⟩ + (1 + i)|1⟩. (a) Normalize it. (b) Find the probabilities of the results 0 and 1. (c) Find ⟨σz⟩. (d) Find ⟨σx⟩ using the sandwich ⟨ψ|σx|ψ⟩.
This one asks for more than one value — give each, with its units.
- Question 12.Calculation
An electron's spin state gives spin-up along z with probability 0.90. Find (a) ⟨Sz⟩ and (b) the spread ΔSz, both in units of ħ and in J·s.
This one asks for more than one value — give each, with its units.
- Question 13.Calculation
Multiply out the Pauli matrices to find σxσy and σyσx, and show that [σx, σy] = 2iσz.
The answer here is a statement or an expression, not a single number — work it out, then compare it with the model answer and mark it yourself.
- Question 14.Calculation
An electron is described by a plane wave of wavelength 0.50 nm. Find (a) its wavenumber k, (b) its momentum eigenvalue ħk, and (c) its kinetic energy in eV.
This one asks for more than one value — give each, with its units.
Part C · optional, dangerous, extremely rewarding
Mad scientist challenge
The Hadamard workshop. The Hadamard matrix H is (1/√2) times the matrix with rows (1, 1) and (1, −1). (a) Show that H is Hermitian and that H² is the identity. (b) Use H² = 1 to prove that its eigenvalues can only be +1 or −1, and find the normalized eigenvector for +1. (c) A qubit is prepared in |0⟩ and the observable H is measured. Find the probabilities of +1 and −1 and the expectation value ⟨H⟩, and check ⟨H⟩ with the sandwich ⟨0|H|0⟩. (d) Compute the commutator [H, σz]. Can H and σz have definite values at the same time?
Recap & sign-off
Key takeaways
- A quantum state is a unit-length vector |ψ⟩ in a complex Hilbert space, and ⟨ψ| is the same amplitudes as a complex-conjugated row.
- The probability of finding |ψ⟩ in the state |φ⟩ is the squared magnitude of their overlap, ⟨φ|ψ⟩.
- Every observable is a Hermitian operator, equal to its own conjugate transpose; its real eigenvalues are the only possible measurement results.
- Eigenstates are definite-value states; expanding any state in an observable's eigenbasis gives amplitudes cₙ = ⟨aₙ|ψ⟩ and probabilities |cₙ|².
- The expectation value ⟨ψ|Â|ψ⟩ is the long-run average of many measurements, and it need not be a possible result.
- For spin and qubits, the Pauli matrices σx, σy and σz each have eigenvalues +1 and −1, so spin along any axis is measured as +ħ/2 or −ħ/2.
- Operators need not commute. Commuting observables can be definite together; for non-commuting ones, Robertson's relation sets a floor under the product of their spreads.
- The momentum operator −iħ d/dx turns wiggliness into momentum, and the commutator x̂p̂ − p̂x̂ = iħ makes the uncertainty principle a theorem rather than a limitation of instruments.
Dr. Q signs offAnd there it is, my brilliant apprentices: the grammar of the quantum world. States are arrows, observables are Hermitian menus of real answers, probabilities are squared overlaps, and the order of operations is written into the laws of nature. Psigor has already sorted the lab's matrices into those that commute and those that quarrel. Next session we put this grammar to work on the deepest question of all: what actually happens when we measure? Chapter 15 is Superposition and Measurement. Bring dice. Bring nerve.
Your chapter checklist
Tick these off in any order. It's a guide, not a law of physics — you can mark the chapter complete whenever you're ready.
- Listen to the whole lesson (not yet)Or read it all — but the voice is more fun.
- Win the lab challenge (not yet)Operator Workshop: Matrices That MeasureGo to the lab
- Score 70% or more on the Quiz Show (not yet)Six to eight questions, no penalties for guessing.Take the quiz
- Check your worksheet (not yet)Answer, check, and read the explanations.Open the worksheet
Sources & further reading
- HyperPhysics: Operators in Quantum Mechanics · hyperphysics.phy-astr.gsu.edu
- Stanford Encyclopedia of Philosophy: Quantum Mechanics (Hilbert space, observables and operators) · plato.stanford.edu
- MIT OpenCourseWare 8.05 Quantum Physics II (Fall 2013), Lecture 9: Dirac's Bra and Ket Notation · ocw.mit.edu
- P. A. M. Dirac (1939), A new notation for quantum mechanics, Mathematical Proceedings of the Cambridge Philosophical Society 35, 416–418 · doi.org
- Parigi, Zavatta, Kim & Bellini (2007), Probing quantum commutation rules by addition and subtraction of single photons to/from a light field, Science 317, 1890 (PubMed record) · pubmed.ncbi.nlm.nih.gov