B10 · Lesson 17 · Dirac notation, commutators and the generalized uncertainty principle
Kets, bras, and why some pairs of quantities can't both be sharp
Dirac's notation writes a state as a ket without committing to a basis, so the same equations cover wave functions, spins and qubits. It makes the structure of the last two lessons easy to read, and it's the language of every quantum-computing paper and datasheet. With it comes the most useful single tool in the formalism, the commutator . Whether two operators commute decides whether their quantities can both be sharp, gives a lower bound on their uncertainties, and tells you which quantities are conserved.
- The stems are the uncertainty product , in units of ħ, for each energy eigenstate: the infinite well's and the harmonic oscillator's, with the bound ½ drawn as a dashed line.
- Every state sits above the bound. Only the oscillator's ground state reaches it, at exactly ½ (n = 0, just off the left edge).
- Higher states have more nodes, so both their position spread and their momentum spread grow. The marker picks one state for the readouts.
Predict
The commutator of position and momentum is . What does the generalized uncertainty principle give for ?
. Heisenberg's relation from lesson 3 is one case of a general theorem: any two observables that don't commute have a joint lower bound on their spreads.
Name it
Kets and bras
- A state is a ket ; in a basis its components are , and in position they're .
- The bra is the conjugate transpose, so is the inner product.
- is an operator; projects onto .
- Completeness: . Inserting it anywhere expands in that basis.
- The probability that a measurement asking "are you in ?" says yes is .
Commutators
so, for example, and .
The generalized uncertainty principle
For any two observables, in any state,
It follows from the Schwarz inequality. Commuting observables have no such bound, and they share a basis of eigenvectors (they're compatible).
Time evolution and conservation
A quantity whose operator commutes with (and doesn't depend on time) is conserved. With Q = x and Q = p this gives Ehrenfest's theorem.
Energy and time
Taking A = H gives , where Δt is how long it takes some observable to change by one standard deviation. A state with a spread of energies changes on a time scale of about ; for an equal superposition of two levels a gap ΔE apart, the state becomes orthogonal to its start after .
Worked example
Find for the infinite well's ground state.
Show the solution
- Position spread. For a well of width a, and , so
- Momentum spread. , and
- The product.
- Compare with the bound. It's above the bound of ħ/2, as a sine bump isn't a Gaussian.
Answer .
Worked example
A qubit is in . What's the probability that it's found in ?
Show the solution
- Overlap.
- Probability.
- What the phase does. The relative phase, invisible to a measurement in the basis, decides the result in this one. It's the same as a Mach–Zehnder interferometer, where the path difference shows up as which port the light leaves by.
Answer the probability is .
Worked example
The ground state of an infinite well gives . What do states 2 and 3 give?
Show the solution
- The product for state n.
- Put in n = 2 and 3. That gives 1.670ħ for n = 2 and 2.627ħ for n = 3.
- Why they grow. Only Gaussian states reach the minimum ħ/2; the box's ground state comes within 14%, and higher states move further away because their momentum spread grows with n while their position spread stays about .
Answer state 2 gives 1.670ħ and state 3 gives 2.627ħ.
Check
What's , in units of ħ, for state n = 3 of an infinite well?
Check
A qubit with φ = 70°: what's the probability of finding it in ?
Check
An equal superposition of two levels 20 meV apart: how long until the state is orthogonal to where it started?
Write units the way you normally would: 1.5 ps and 0.0015 ns are the same answer.
Check
A spin-½ points at 30° from the z axis. What lower bound does the generalized uncertainty principle put on , in units of ħ²? ( and .)
Check
A free-electron packet has with = 5 nm⁻¹. Using , what's , in eV·nm?
Write units the way you normally would: 1.5 eV·nm, 1500 meV·nm and 0.0015 keV·nm are the same answer.
Check
A quantity Q is conserved in every state when
Check
A particle is in state 2 of an infinite well.
(a)
What is , in units of ħ?
(b)
What is , in units of ħ/L?
Check
State n of an infinite well of width L (take L = 1).
Step 1
What is ?
Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.
Step 2
What is in units of ħ?
Explain why
Why can't two observables whose operators don't commute both have definite values?
A definite value of an observable means the state is an eigenvector of its operator. If two operators shared every eigenvector, then applying them in either order to any state written in that basis would give the same thing, and they'd commute. So operators that don't commute can't share a complete set of eigenvectors, and in general a state that's sharp for one is a mixture of eigenvectors of the other, with a spread of results. The generalized uncertainty principle makes this quantitative: the product of the two spreads is at least half the size of the commutator's expectation value. For position and momentum the commutator is the constant iħ, so no state escapes the bound.
Practice
Keep practicing
9 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.