1.2.2 Uncertainty and Incompatibility#

Prompts

  • What is the commutator \([\hat{A}, \hat{B}]\), and what does it tell you about two observables?

  • Compute \([\hat{X}, \hat{Z}]\) directly from the Pauli matrices. What do you notice?

  • If two observables commute, what does that imply about their simultaneous measurability?

  • State the Heisenberg uncertainty principle. Why does the size of the commutator matter?

  • For a qubit in state \(\vert+\rangle\) (eigenstate of \(\hat{X}\)), what are \(\Delta\hat{X}\) and \(\Delta\hat{Z}\)? Do they violate the uncertainty relation?

Lecture Notes#

Overview#

Quantum mechanics places fundamental limits on the joint knowledge we can have of non-commuting observables. This section explores the commutator, proves that commuting observables share an eigenbasis, and derives the Heisenberg uncertainty principle.

Expectation Value and Variance#

For a measurement outcome that is random, we characterize the distribution by its expectation value and variance. If observable \(\hat{O}\) has eigenstates \(\vert O=m \rangle\) with eigenvalues \(m\), and state \(\vert\psi\rangle = \sum_m \psi_m \vert O=m \rangle\), then:

\[ \langle\hat{O}\rangle_\psi = \sum_m m \, P(m \vert \psi, \hat{O}) \]

where \(P(m \vert \psi, \hat{O}) = |\psi_m|^2\) is the probability of outcome \(m\).

Expectation Value and Variance

For a Hermitian operator \(\hat{O}\) and state \(\vert\psi\rangle\):

\[ \langle\hat{O}\rangle_\psi = \langle\psi\vert\hat{O}\vert\psi\rangle \]
\[ \mathrm{Var}(\hat{O}) = \langle\hat{O}^2\rangle - \langle\hat{O}\rangle^2 \]
\[ \Delta\hat{O} = \sqrt{\mathrm{Var}(\hat{O})} \]

The uncertainty \(\Delta\hat{O}\) is the standard deviation of outcomes.

The Commutator#

When two operators \(\hat{A}\) and \(\hat{B}\) applied in different orders yield different results, we measure this non-commutativity by the commutator:

Commutator

\[ [\hat{A}, \hat{B}] = \hat{A}\hat{B} - \hat{B}\hat{A} \]

If \([\hat{A}, \hat{B}] = 0\), the operators commute.

Commuting Operators Share Eigenbasis#

A central theorem relates commutativity to shared eigenstates:

Theorem: Commuting Operators

Two Hermitian operators \(\hat{A}\) and \(\hat{B}\) commute, i.e. \([\hat{A}, \hat{B}] = 0\), if and only if they share a complete set of simultaneous eigenstates.

Equivalently: If \([\hat{A}, \hat{B}] = 0\), we can measure both \(\hat{A}\) and \(\hat{B}\) simultaneously with arbitrary precision on a single copy of the state.

Heisenberg Uncertainty Principle#

The physical consequence of non-commutativity is the uncertainty principle:

Robertson Uncertainty Relation

For any state \(\vert\psi\rangle\) and any two observables \(\hat{A}\), \(\hat{B}\):

\[ \Delta\hat{A} \cdot \Delta\hat{B} \geq \frac{1}{2}\vert \langle[\hat{A}, \hat{B}]\rangle\vert \]

where \(\Delta\hat{O} = \sqrt{\langle\hat{O}^2\rangle - \langle\hat{O}\rangle^2}\) and \(\langle[\hat{A}, \hat{B}]\rangle = \langle\psi\vert[\hat{A}, \hat{B}]\vert\psi\rangle\).

When two observables do not commute, the product of their uncertainties has a positive lower bound set by their commutator.

Repeated identical measurements

The uncertainty principle describes repeated measurements on identical copies of the same prepared state, not sequential measurement of a single copy. If you measure \(\hat{A}\) first and then \(\hat{B}\) on the same particle, you collapse the state and \(\hat{B}\)’s outcome depends on \(\hat{A}\)’s result—that is a different story (back-action). Here we imagine preparing the state fresh many times and analyzing the distribution across those trials.

Summary#

  • The expectation value \(\langle\hat{O}\rangle = \langle\psi\vert\hat{O}\vert\psi\rangle\) and variance \(\mathrm{Var}(\hat{O}) = \langle\hat{O}^2\rangle - \langle\hat{O}\rangle^2\) quantify measurement distributions.

  • The commutator \([\hat{A}, \hat{B}] = \hat{A}\hat{B} - \hat{B}\hat{A}\) measures whether operator order matters.

  • Commuting observables share a simultaneous eigenbasis and can be measured together with arbitrary precision.

  • The Robertson uncertainty relation \(\Delta\hat{A} \cdot \Delta\hat{B} \geq \frac{1}{2}\vert \langle[\hat{A}, \hat{B}]\rangle\vert\) is a fundamental constraint on non-commuting observables.

See Also

Homework#

1. Pauli commutator calculation. Compute \([\hat{X}, \hat{Z}]\) directly by matrix multiplication and verify that it equals \(-2\mathrm{i}\hat{Y}\).

2. Commutation relations and states. For the state \(\vert\psi\rangle = \frac{1}{\sqrt{2}}(\vert 0\rangle + \vert 1\rangle)\) (eigenstate of \(\hat{X}\) with eigenvalue \(+1\)), compute:

(a) \(\langle\hat{X}\rangle\), \(\langle\hat{Y}\rangle\), \(\langle\hat{Z}\rangle\)

(b) \(\Delta\hat{X}\), \(\Delta\hat{Y}\), \(\Delta\hat{Z}\)

(c) Check the uncertainty relation: \(\Delta\hat{X} \cdot \Delta\hat{Z} \geq \frac{1}{2}\vert \langle[\hat{X}, \hat{Z}]\rangle\vert\).

3. Commutator product rule. Prove the product rule for commutators: \([\hat{A}, \hat{B}\hat{C}] = [\hat{A}, \hat{B}]\hat{C} + \hat{B}[\hat{A}, \hat{C}]\).

4. Pauli matrices. Verify all three Pauli commutation relations:

(a) \([\hat{X}, \hat{Y}] = 2\mathrm{i}\hat{Z}\)

(b) \([\hat{Y}, \hat{Z}] = 2\mathrm{i}\hat{X}\)

(c) \([\hat{Z}, \hat{X}] = 2\mathrm{i}\hat{Y}\)

5. Simultaneous measurement. Explain why the uncertainty principle does not prevent measuring \(\hat{Z}\) with zero uncertainty on the eigenstate \(\vert 0\rangle\). Does this violate the Robertson relation? Why or why not?

6. Commuting operator zero expectation. For the Pauli operators, show that \([\hat{\sigma}^i, \hat{\sigma}^j] = 0\) if and only if \(i = j\). Use this to explain why the three Pauli operators cannot all be measured simultaneously with arbitrary precision.

7. Uncertainty principle application. A qubit is prepared in state \(\vert\psi\rangle = \cos\alpha\vert 0\rangle + \sin\alpha\vert 1\rangle\) (real \(\alpha\)). Find the value

(s) of \(\alpha\) that maximize \(\Delta\hat{Z}\). Interpret your result.

8. Robertson relation. Apply the Robertson uncertainty relation to the pair \((\hat{X}, \hat{Z})\). For which state does the product of uncertainties \(\Delta\hat{X} \cdot \Delta\hat{Z}\) achieve its minimum value? Compute that minimum.