A measurement of an angular-momentum component yields one of its eigenvalues, with probabilities set
by the state. The average over many identical measurements is the expectation value, the most
directly comparable prediction between theory and experiment.
Definition
For an observable A^ and a normalized state ∣ψ⟩, the expectation value is
⟨A^⟩=⟨ψ∣A^∣ψ⟩.
It is the mean of the eigenvalues weighted by their measurement probabilities. For
A^=L^z acting on ∣ψ⟩=∑mcm∣ℓ,m⟩,
⟨L^z⟩=m∑ℏm∣cm∣2,
since each ∣ℓ,m⟩ contributes its eigenvalue ℏm with probability ∣cm∣2.
The spin-1/2 case
For a single spin-21 (a qubit), identify ∣↑⟩=∣0⟩ and
∣↓⟩=∣1⟩, with S^z=2ℏσz. The two
eigenvalues are ±2ℏ, so
⟨S^z⟩=2ℏ(p0−p1),
where p0=∣⟨0∣ψ⟩∣2 and p1=∣⟨1∣ψ⟩∣2. The expectation value
ranges continuously from +2ℏ (pure ∣0⟩) to −2ℏ (pure
∣1⟩), even though each individual measurement returns only one of the two discrete values.
A parametrized state
Apply a Y-rotation to ∣0⟩:
Ry(θ)∣0⟩=cos2θ∣0⟩+sin2θ∣1⟩.
Then p0=cos2(θ/2) and p1=sin2(θ/2), so using the double-angle identity
cos2(θ/2)−sin2(θ/2)=cosθ,
⟨S^z⟩=2ℏcosθ.
This is exactly the vector-model result: θ is the polar angle of the Bloch vector, and the
z-projection of a unit spin is 2ℏcosθ.
Try it
Use Ry(θ) with θ=π/3 to prepare the state, then compute and return
⟨S^z⟩=21(p0−p1) (with ℏ=1). It should equal 0.25.
Run your code to see the quantum state.
Sign in on the full site to ask questions and join the discussion.