We’ve been working with rotation matrices — R(θ) rotates a vector by angle θ. But rotations can be understood more deeply by asking: what happens when the angle is very, very small?
G is called the generator of rotations. It tells you which direction you move when you begin to rotate. The identity I says “stay where you are,” and δθG is the tiny nudge that starts the rotation.
A finite rotation is the exponential of the generator. This is one of the most important ideas in physics: the generator encodes all rotations. You don’t need to memorize the full rotation matrix — just the generator, and exponentiation does the rest.
We saw last lecture that complex multiplication by eiθ and matrix multiplication by R(θ) do the same thing to a vector. Now we see why: they are two representations of the same object, built from generators that obey the same algebra.
The complex number i and the matrix G are different representations of the same mathematical structure — the generator of 2D rotations.
These are already getting unwieldy. Multiplying two of them together — say to check if they commute — would be a mess of trig identities. And we already established last lecture that 3D rotations don’t commute.
The generator approach cuts through this complexity. Instead of working with the full rotation matrices, we extract the generators — much simpler objects that encode all the essential information.
Notice the pattern: each generator has the familiar SO(2) block (01−10) embedded in the 2×2 subspace corresponding to its plane of rotation, with zeros along the rotation axis. For example, Jz rotates in the x-y plane, so the block sits in the upper-left corner. Jx rotates in the y-z plane, so the block sits in the lower-right corner.
The non-commutativity of 3D rotations — which was messy to show with the full rotation matrices — becomes clean and elegant at the generator level. Let’s compute the commutator [Jx,Jy]=JxJy−JyJx:
Compactly: [Ji,Jj]=ϵijkJk, where ϵijk=+1 for cyclic permutations (xyz, yzx, zxy), -1 for anti-cyclic, and 0 if any indices repeat.
These commutation relations are profound. They capture the entire structure of 3D rotations in a simple algebraic statement. Any set of three objects satisfying these relations generates a rotation group — even if those objects are 2×2 matrices instead of 3×3 matrices. This is the key insight that will connect SO(3) to SU(2).
The physical consequence of non-commuting generators is the uncertainty principle: if two physical quantities are described by non-commuting operators, they cannot both be known simultaneously. We’ll make this precise shortly.
This is a two-configuration system with complex amplitudes. The state is a vector in C2, and we’ve been visualizing it on the Bloch sphere. When we apply gates — Hadamard, phase gates, Pauli matrices — we rotate the state on the Bloch sphere.
We need a group that describes these rotations: transformations of C2 that preserve the normalization ∣c0∣2+∣c1∣2=1.
This group is SU(2): the group of 2×2 unitary matrices with determinant 1.
S = Special: det(U)=1
U = Unitary: U†U=I
2 = 2×2 complex matrices
Unitarity is the complex generalization of orthogonality:
SO(n)
SU(n)
Acts on
Real vectors (Rn)
Complex vectors (Cn)
Preserves
RTR=I (transpose)
U†U=I (conjugate transpose)
Entries
Real
Complex
Determinant
1
1
Both preserve lengths. Orthogonal matrices preserve vTv. Unitary matrices preserve v†v=∣c0∣2+∣c1∣2 — exactly the normalization condition we need for quantum states.
SU(2) should behave like SO(3) — after all, both describe rotations on a sphere. The Bloch sphere has three axes, so SU(2) should have three generators, and those generators should satisfy the same commutation relations as the SO(3) generators Jx,Jy,Jz.
But SU(2) acts on complex space, so the generators will be 2×2 complex matrices instead of 3×3 real matrices.
Compare to SO(3): [Ji,Jj]=ϵijkJk. The same structure — just with a factor of 2i. This factor is a convention: the Pauli matrices are Hermitian (so they can be observables), while the SO(3) generators are antisymmetric. The underlying pattern — which commutator gives which generator — is identical.
Non-commuting generators mean that the corresponding physical quantities cannot be simultaneously known.
Since [σx,σz]=−2iσy=0:
No state can be an eigenstate of both σx and σz
If Sz is definite (∣0⟩ or ∣1⟩), then Sx is completely uncertain
If Sx is definite (∣+⟩ or ∣−⟩), then Sz is completely uncertain
You cannot simultaneously know the spin along two perpendicular axes. This is fundamentally different from classical physics, where all components of angular momentum can be known at once. The non-commutativity of the Pauli matrices — the same non-commutativity we saw for 3D rotations — is the mathematical origin of quantum uncertainty.
You need to rotate by 4π — two full turns — to get back to +I. SU(2) is the double cover of SO(3): it wraps around twice for every single winding of SO(3).
If ∣ψ⟩→−∣ψ⟩, every amplitude picks up a minus sign: c0→−c0, c1→−c1. That -1 is a phase — specifically, it’s the phase eiπ=−1.
For a single isolated state, this phase is unobservable. The probabilities ∣c0∣2 and ∣c1∣2 don’t change when you multiply by -1.
But in a superposition, the phase matters. Consider a state that is a superposition of a rotated part and an unrotated part. The rotated part picks up -1, the unrotated part doesn’t. Where the two parts used to add constructively (interference maximum), they now add destructively (interference minimum). Where they used to cancel (minimum), they now reinforce (maximum).
The interference pattern shifts. The -1 is physically real.
This has been confirmed experimentally. In neutron interferometry experiments, a neutron beam is split, one path is rotated by 2π using a magnetic field, and the beams are recombined. The interference pattern shifts — exactly as predicted by the -1 phase from SU(2). The neutron must be rotated by 4π to restore the original interference pattern.
Fermions (electrons, quarks, neutrinos — the matter particles) have half-integer spin and transform under SU(2): R(2π)=−1.
Bosons (photons, gluons, the Higgs — the force carriers) have integer spin and transform under SO(3): R(2π)=+1.
This distinction is connected to the spin-statistics theorem: fermions obey the Pauli exclusion principle (no two can occupy the same state), while bosons don’t. The -1 under 2π rotation and the exclusion principle are two manifestations of the same deep mathematical structure. More on this later in the course.
The symmetric piece gives ∑ini2I=∣n^∣2I=I. The antisymmetric piece ∑ijninjϵijk vanishes because ninj is symmetric while ϵijk is antisymmetric.
Compare to our SO(2) result: eθG=cosθI+sinθG. The same structure — the generator multiplied by sine, the identity multiplied by cosine. The −i and θ/2 reflect the Hermitian convention and the double cover.
Verification: At θ=2π: Rn^(2π)=cosπI−isinπ(n^⋅σ)=−I. ✓
Up to a global phase (which is unobservable), the phase gate IS a z-rotation. This is why applying P(ϕ) to ∣+⟩ traces the equator of the Bloch sphere — it rotates around the z-axis.
Note: Ry(θ) is a real matrix. This is because −iσy=(01−10), which is the SO(2) generator G. So y-rotations on the Bloch sphere look exactly like classical 2D rotations.
Any U∈ SU(2) can be written as Rn^(θ)=e−iθ(n^⋅σ)/2 for some axis n^ and angle θ. There are no other single-qubit gates. The three Pauli matrices generate all possible qubit operations through rotation.
G and i are the same thing in different representations. G2=−I is the matrix version of i2=−1. Both generate rotations.
SO(3) has three generators Jx,Jy,Jz satisfying [Ji,Jj]=ϵijkJk. Non-commutativity of generators → uncertainty principle.
SU(2) is the quantum rotation group. Its generators — the Pauli matrices — satisfy the same commutation relations as SO(3). They are Hermitian (observables), traceless, and square to the identity (eigenvalues ±1). Their eigenstates are the six Bloch sphere cardinal states.
The double cover:RSU(2)(2π)=−I. The minus sign is a physical phase that shifts interference patterns. Fermions transform under SU(2); bosons under SO(3).
(c) Compute K2. Compare to the rotation generator where G2=−I. What is different?
(d) Using K2=+I, expand the exponential eβK as a Taylor series. Group even and odd powers (as we did in lecture for eθG). What functions appear instead of cosine and sine?
(e) Verify that your result matches B(β).
(f) Compute detB(β). Compare to detR(θ)=1. Is a Lorentz boost a rotation?
(g) Reflect on the difference: G2=−I gives oscillatory behavior (cos,sin) — rotations go around in circles. K2=+I gives hyperbolic behavior (cosh,sinh) — boosts grow without bound. What physical difference does this correspond to? (Can you rotate forever? Can you boost forever?)
Hint: Write a⋅σ=∑iaiσi and b⋅σ=∑jbjσj, multiply, and use the master formula on σiσj. You will need to recognize ∑iaibi=a⋅b and ∑ijkϵijkaibj=(a×b)k.
(b) As a special case, set a=b=n^ (a unit vector). Show that (n^⋅σ)2=I.
(c) Set a=x^ and b=y^. Evaluate both sides of the identity and verify they match.
(d) Set a=b=x^+z^ (not a unit vector). What is [(x^+z^)⋅σ]2? How does this relate to the Hadamard gate?
By comparing U to this formula, determine the rotation angle θ and axis n^.
Hint: The coefficient of I gives cos(θ/2). The coefficients of σx, σy, σz in the remainder give sin(θ/2)nx, sin(θ/2)ny, sin(θ/2)nz.
(d) Describe geometrically what this rotation does on the Bloch sphere. Where does it send ∣0⟩? Where does it send ∣+⟩?
(e) Compute U2. What rotation is this? What about U4?
Problem 4: Visualizing Rotations on the Bloch Sphere (Qiskit)¶
In this problem you’ll use Qiskit to see rotations in action.
Setup: You will need the following imports:
from qiskit import QuantumCircuit
from qiskit.quantum_info import Statevector
from qiskit.visualization import plot_bloch_multivector, plot_bloch_vector
import numpy as np
import matplotlib.pyplot as plt
(a) Start with ∣0⟩ and apply Ry(θ) for θ=0,π/6,π/3,π/2,2π/3,5π/6,π. For each value of θ: - Create a circuit with qc.ry(theta, 0) - Extract the statevector - Visualize on the Bloch sphere (or record the Bloch coordinates)
Describe the path traced out. What curve on the Bloch sphere is this?
(b) Now start with ∣0⟩, apply Ry(π/2) to move to the equator, and then apply Rz(ϕ) for ϕ=0,π/4,π/2,3π/4,π,5π/4,3π/2,7π/4. Describe the path.
(c) Starting from ∣0⟩, apply the following sequences and plot each final state on the Bloch sphere: 1. Ry(π/2) 2. Ry(π/2) then Rz(π/2) 3. Rz(π/2) then Ry(π/2)
Are sequences 2 and 3 the same? Relate to what we learned about non-commutativity.
(d)The path of a general rotation. Choose an axis n^=(1,1,1)/3 and apply Rn^(θ) for θ from 0 to 2π in 20 steps. Start from ∣0⟩. Plot all 20 states on a single Bloch sphere.
Hint: In Qiskit, use qc.r(theta, phi, 0) where phi is the azimuthal angle of n^, or construct the rotation matrix manually and use qc.unitary(U, 0).
This problem tests the lecture’s claim that the phase gate P(ϕ) and the rotation Rz(ϕ) are the same up to a global phase.
Setup:
from qiskit import QuantumCircuit
from qiskit.quantum_info import Statevector
from qiskit_aer import AerSimulator
import numpy as np
(a) Create two circuits that act on ∣+⟩=H∣0⟩:
Circuit A: Apply H, then P(π/3).
Circuit B: Apply H, then Rz(π/3).
Use Statevector.from_instruction(qc) to extract the output states. Print both statevectors. Are they the same?
(b) Compute the ratio of corresponding amplitudes: (state A)0/(state B)0 and (state A)1/(state B)1. Show that the ratio is the same for both components — this is the global phase eiϕ/2.
(c) Add measurements to both circuits. Run each on AerSimulator() with 10,000 shots. Compare the measurement statistics. Are they distinguishable?
(d) Repeat parts (a)–(c) for ϕ=π (where P(π)=Z and Rz(π)=−iZ). Verify that the measurement statistics are still identical despite different global phases.
(e) Explain in your own words: if two unitaries differ only by a global phase, why can’t any measurement distinguish them?
(a) Verify that H=21(σx+σz) by writing out the right-hand side explicitly.
(b) The general SU(2) rotation is Rn^(θ)=cos(θ/2)I−isin(θ/2)(n^⋅σ). Find the rotation axis n^ and angle θ such that H=eiϕRn^(θ), where eiϕ is a global phase. Determine ϕ as well.
Hint: Since H is Hermitian and H2=I, what does that tell you about the rotation angle? What direction is σx+σz?
(c) Verify your answer by computing Rn^(θ) explicitly and comparing to e−iϕH.
(d) Compute H2 directly. Show it equals I. Explain geometrically: why does applying the same rotation twice return to the identity? For what class of rotation angles θ is Rn^(θ)2=I (up to global phase)?
(e) Where does H send each of the six cardinal states? Describe the geometric action of H on the Bloch sphere in one sentence.