Part 1: What is a Second?¶
Let’s start with a simple question: How is the second defined?
The answer has changed throughout history, and it’s a fascinating story of humanity trying to pin down time more and more precisely.
Ancient Times: The Day Divided¶
For most of human civilization, time was defined astronomically. The Babylonians divided the day into 24 hours, each hour into 60 minutes, and each minute into 60 seconds. This gives us:
So a second was simply 1/86,400 of a mean solar day — the average time between two successive noons.
This worked fine for thousands of years. But there was a problem lurking.
The Problem: Earth is a Lousy Clock¶
By the 20th century, astronomers could measure Earth’s rotation precisely enough to notice something troubling: it’s not constant.
Tidal friction from the Moon is gradually slowing Earth’s rotation — days are getting longer by about 2 milliseconds per century
Seasonal variations in atmospheric winds and ocean currents cause wobbles
Earthquakes can suddenly shift mass around and change the rotation rate
Glacial melting redistributes mass toward the equator
The “day” was drifting! A second defined as 1/86,400 of a day would itself be changing over time. Not good for precision science.
1956: The Ephemeris Second¶
The scientific community’s first fix was to base the second on something more stable: Earth’s orbit around the Sun.
In 1956, the second was redefined as:
The “tropical year” is the time from one spring equinox to the next. By pegging it to the year 1900, they avoided the problem of the year length changing over time.
This was more stable than the rotating Earth, but it had a practical problem: you couldn’t actually measure it easily. The year 1900 was in the past! Astronomers had to work backwards from observations, which was slow and cumbersome.
1967: The Atomic Revolution¶
Then came the breakthrough. Physicists realized that atoms could provide a far better standard than any astronomical motion.
In 1967, the General Conference on Weights and Measures made a radical decision: define time using atoms, not astronomy. The second was redefined as:
Specifically, the oscillations of the radiation corresponding to the transition between two hyperfine levels of the cesium-133 ground state.
This number (9,192,631,770) wasn’t arbitrary — it was chosen to match the previous ephemeris second as closely as possible. But now it became the definition.
A Profound Shift¶
Think about what happened here:
Before 1967: We measured atomic frequencies and compared them to the “true” second defined by astronomy
After 1967: The atomic frequency is the second, and astronomical time is measured against it
Today, when you ask “how long is a second?”, the answer is: however long it takes a cesium atom to oscillate 9,192,631,770 times. Atomic clocks don’t measure time; they define it.
This is why atomic clocks are so fundamental — they’re not approximating some external standard, they are the standard.
Part 2: The Cesium Atom¶
Why cesium? And what is this “particular transition”?
Electron Transitions¶
Atoms have electrons in different energy levels. When an electron jumps from a higher level to a lower one, it emits a photon. These are the optical transitions — the ones that produce visible light. The energy difference between the ground state and excited state corresponds to optical frequencies (~1014 Hz).
But There’s More: Spin!¶
From last lecture, we learned that electrons have spin — an intrinsic angular momentum that makes them act like tiny bar magnets.
But here’s something new: the nucleus of the atom also has a magnetic dipole moment! In cesium-133, the nucleus has spin , which means it’s also a tiny bar magnet.
Hyperfine Splitting¶
Now we have two bar magnets in the same atom: the electron spin and the nuclear spin. What happens when you put two bar magnets near each other?
If they’re aligned (pointing the same direction): one energy
If they’re anti-aligned (pointing opposite directions): different energy
This energy difference is called the hyperfine splitting. It’s much smaller than optical transition energies (which is why it’s called “fine” — it’s a fine detail), but it’s incredibly precise and stable.
For cesium-133, this hyperfine splitting corresponds to a frequency:
This is not a measurement — this IS the definition of the second.
Why Atomic Clocks Are So Good¶
Think about this frequency: roughly 10 billion oscillations per second.
If you’re trying to measure time precisely, you want a fast “tick.” A grandfather clock ticks once per second — not very precise. A quartz watch oscillates at 32,768 Hz — better. But cesium oscillates at 9.2 GHz — almost 10 billion ticks per second!
And here’s the key: every cesium atom in the universe is exactly identical. Not approximately the same — exactly the same. This is quantum mechanics: atoms don’t have manufacturing tolerances. A cesium atom in Boulder, Colorado has exactly the same hyperfine splitting as a cesium atom in Paris, or on the Moon, or in a galaxy a billion light-years away.
This is why atomic clocks are the most precise instruments ever built.
Part 3: How Does a Clock Work?¶
We already know the answer from last lecture: the Ramsey interferometer.
The Ramsey Sequence¶
Initialize in (one hyperfine state — say, spins aligned)
π/2-pulse (): Create superposition
Wait time : The state precesses (accumulates phase)
π/2-pulse (): Convert phase to population
Measure: Count atoms in vs
The measurement probability oscillates: where is the accumulated phase.
The Key Question¶
Where does the precession come from in an atomic clock?
In the Stern-Gerlach picture, we applied an external magnetic field. But in an atomic clock, we’re not applying a DC magnetic field — we’re applying microwave radiation.
To understand this, we need to look at atom-light interactions.
Part 4: Atom-Light Interactions¶
The Energy Hamiltonian¶
From last lecture, we know that a spin in a magnetic field has Hamiltonian:
This gives us rotations on the Bloch sphere.
For our two hyperfine states with energy splitting , we can write:
where has energy and has energy .
Time Evolution¶
From last lecture, the time evolution operator is .
Acting on our energy eigenstates:
A superposition picks up a relative phase:
This is precession around the z-axis at frequency — ten billion times per second!
But this is just free evolution. We still need a way to couple the two states — to drive transitions between them.
Part 5: Coupling with Light¶
Light is an Oscillating Field¶
How do we drive transitions between and ?
We use light — specifically, microwave radiation at frequency near .
Light is an oscillating electromagnetic field. The electric field oscillates as , and similarly for the magnetic field. The subscript stands for “laser” (or “light”) — this is the frequency of our applied radiation.
The Interaction Picture¶
When a photon has energy matching the transition (), it can excite the atom from to or stimulate emission from to .
We model this coupling with an interaction term:
where is the Rabi frequency — it tells us how strongly the light couples to the atom (proportional to the light intensity).
The Full Hamiltonian¶
The total Hamiltonian is:
Uh oh. This Hamiltonian is time-dependent. The Schrödinger equation becomes:
This is much harder to solve than the time-independent case!
Part 6: The Rotating Frame Trick¶
Here’s a beautiful trick that transforms our hard, time-dependent problem into an easy, time-independent one.
The Idea¶
The time dependence comes from the oscillating at frequency .
What if we rotate our reference frame at the same frequency? Then the oscillation would appear stationary!
This is like watching a spinning merry-go-round. If you stand on the ground, you see horses going up and down, around and around. But if you ride on the merry-go-round, the horses appear stationary (just bobbing up and down).
The Transformation¶
We define a rotating frame by the unitary transformation:
This rotates our state around the z-axis at frequency — we’re “riding along” with the light field.
The Rotating Frame Hamiltonian¶
After some algebra (see box below), the Hamiltonian in the rotating frame becomes:
where is the detuning — the difference between the atomic frequency and the light frequency.
Derivation: Rotating Frame Hamiltonian
What We’ve Achieved¶
Before: Time-dependent Hamiltonian with oscillating terms — hard!
After: Time-independent Hamiltonian with constant coefficients — easy!
This is just a constant “magnetic field” pointing in a direction determined by and !
Part 7: Understanding the Rotating Frame¶
Let’s build intuition for what means.
Visualizing the Rotating Frame¶
Imagine you’re on the Bloch sphere, but the whole sphere is rotating around the z-axis at frequency (the light frequency).
In the lab frame: The state precesses at (ten billion times per second!).
In the rotating frame: We subtract off the rotation, so the state only precesses at .
If is close to , then is small — the precession appears slow in the rotating frame.
On Resonance ()¶
When (the light is exactly on resonance):
This is just rotation around the x-axis at the Rabi frequency .
The state oscillates between and — these are Rabi oscillations!
Off Resonance ()¶
When :
The effective “field” points in a direction between z and x. The state precesses around this tilted axis.
If : The field is mostly along z, so mostly precession (phase accumulation).
If : The field is mostly along x, so mostly Rabi oscillations.
iClicker Question 1¶
In the rotating frame, what does the detuning represent?
(A) The Rabi frequency
(B) The precession frequency around the z-axis ✓
(C) The total energy of the atom
(D) The intensity of the light
Answer: (B). In the rotating frame, . The term causes precession around z at frequency . When on resonance (), there’s no precession — only Rabi oscillations from the term.
Part 8: Ramsey Interferometry for Atomic Clocks¶
Now we can understand exactly how an atomic clock works!
The Goal¶
We have a local oscillator (a microwave source) at frequency . We want to lock to the atomic frequency .
The Ramsey Sequence in the Rotating Frame¶
Initialize in (ground state)
π/2-pulse (short, strong pulse with ):
During the pulse,
Apply for time
Result:
State is now on the equator of the Bloch sphere
Free evolution for time (light off, so ):
The state precesses around z at frequency
Accumulates phase
Second π/2-pulse:
Converts the accumulated phase into population difference
Measure:
The Feedback Loop¶
If (we’re on resonance): No precession during free evolution → (all atoms return to ground state).
If (we’re off resonance): Precession causes .
The clock algorithm:
Run Ramsey sequence
Measure
If , adjust to reduce
Repeat
The feedback loop locks to . Now our microwave oscillator ticks at exactly the cesium frequency!
Why This Works So Well¶
We’re matching our microwave to cesium atoms
Every cesium atom is exactly identical (quantum mechanics guarantees this)
The longer the free evolution time , the more sensitive we are to small detunings
This is a universal, reproducible standard
iClicker Question 2¶
In a Ramsey sequence for an atomic clock, if the measured probability , this means:
(A) The local oscillator frequency equals the atomic frequency ✓
(B) The atoms have all decayed
(C) The π/2-pulses failed
(D) The free evolution time was too short
Answer: (A). When , the detuning , so there’s no precession during free evolution. The state stays where the first π/2-pulse put it, and the second π/2-pulse returns it exactly to . Zero population in the excited state means we’re on resonance.
Part 9: Clock Precision¶
How Accurate Can This Be?¶
The frequency resolution of the Ramsey sequence is:
Longer free evolution time → better precision.
In a cesium fountain clock:
Atoms are laser-cooled to microkelvin temperatures
Launched upward in a “fountain”
Free-fall time seconds
This gives Hz
For the cesium transition at GHz:
After averaging many measurements:
NIST-F2 (Boulder, Colorado): Fractional accuracy
This means: gains or loses 1 second in 300 million years.
Optical Clocks: The Future¶
The fractional precision scales as . Higher frequency → better precision!
Optical clocks use transitions in the visible/UV range:
Strontium: THz (vs 9.2 GHz for cesium)
Factor of ~50,000 higher frequency!
Current optical clock precision:
This means: gains or loses 1 second in the age of the universe.
These clocks are so precise they can detect:
Gravitational redshift from 1 cm height difference
Your clock runs faster when you stand up!
In your lifetime, the definition of the second will probably switch from cesium to an optical transition.
Part 10: Decoherence — The Enemy¶
So far, we’ve assumed perfect, isolated atoms. Reality is messier.
What Goes Wrong?¶
As the atom precesses during free evolution, the environment can randomly kick its phase.
Imagine running the Ramsey experiment many times:
Ideally: every run accumulates the same phase
Reality: each run sees a slightly different phase
When we average over many runs:
If all runs agree: clear oscillation pattern
If runs have random phases: oscillations wash out
Watching Decoherence Happen¶
Consider the Ramsey fringes as a function of free evolution time :
At short : Clear oscillations with full contrast.
At long : Random phase kicks accumulate → contrast decreases → eventually just flat at .
This decay of oscillation amplitude is dephasing or decoherence.
# Simulating decoherence in Ramsey fringes
import numpy as np
import matplotlib.pyplot as plt
def ramsey_with_dephasing(phi, noise_strength, n_trials=200):
"""Average Ramsey signal with random phase noise."""
results = []
for _ in range(n_trials):
random_phase = np.random.normal(0, noise_strength)
results.append(np.sin((phi + random_phase)/2)**2)
return np.mean(results)
# Plot for different noise strengths
phi = np.linspace(0, 4*np.pi, 100)
for noise in [0, 0.5, 1.0, 2.0]:
P = [ramsey_with_dephasing(p, noise) for p in phi]
plt.plot(phi/np.pi, P, label=f'noise = {noise}')
plt.xlabel('Phase φ/π')
plt.ylabel('P₀')
plt.legend()
plt.title('Ramsey Fringes with Dephasing')
plt.show()Part 11: Physical Sources of Decoherence¶
Where does this random phase noise come from?
Example: NV Centers in Diamond¶
An NV center (nitrogen-vacancy center) is a defect in diamond that acts as a qubit. It’s an electron spin that we can control with microwaves and read out optically.
Sounds great! But there’s a problem...
The diamond crystal contains other spins:
Carbon-13 nuclei (1% natural abundance) have nuclear spin
Other nitrogen impurities have electron spins
These are all tiny bar magnets, randomly oriented, fluctuating
The NV center spin feels the magnetic field from all these neighbors. As the neighbors fluctuate, the field at the NV center changes randomly.
Remember:
Random field → random precession frequency → random phase accumulation.
This is exactly the dephasing we described!
Other Systems¶
| System | Main noise source |
|---|---|
| Neutral atoms | Stray magnetic fields |
| Superconducting qubits | Flux noise, charge noise |
| Trapped ions | Magnetic field fluctuations |
| Quantum dots | Nuclear spin bath, charge fluctuations |
Every qubit platform has its own dominant noise sources, but the effect is the same: random phase kicks.
Part 12: T₁ and T₂ Times¶
We characterize decoherence with two timescales:
T₂: Dephasing Time¶
What it measures: How long until the phase information is lost.
Physical picture: Random rotations around the z-axis scramble the phase.
Bloch sphere: States on the equator spread out into a ring, then average to the center.
T₁: Relaxation Time¶
What it measures: How long until the population decays.
Physical picture: The qubit randomly jumps between states, usually decaying to the ground state (lower energy).
Bloch sphere: All states drift toward the north pole (ground state).
Physical origin: Energy exchange with environment — emit a photon, create a phonon, etc.
The Relationship¶
Why? processes also cause dephasing (if the state changes, the phase information is lost). But you can have pure dephasing without energy decay.
Typical Values¶
| System | ||
|---|---|---|
| Trapped ions | minutes | seconds |
| Neutral atoms | seconds | ~1 second |
| Superconducting qubits | ~100 μs | ~100 μs |
| NV centers | ms | μs – ms |
| Quantum dots | ns – μs | ns |
iClicker Question 3¶
A qubit has ms and μs. Which statement is correct?
(A) This is impossible
(B) Dephasing is the dominant source of error ✓
(C) Energy relaxation is the dominant source of error
(D) The qubit is perfectly isolated
Answer: (B). Having (but still ) means pure dephasing dominates over relaxation. The qubit loses its phase information long before it loses its energy. This is common in solid-state systems where magnetic field fluctuations cause rapid dephasing.
Part 13: Why Quantum Computing is Hard¶
Now we get to the heart of the matter.
Quantum Computing = Interference Machine¶
A quantum computer works by:
Preparing a superposition of many computational states
Letting them evolve and interfere with each other
Measuring the result
The interference is controlled by phases. Different computational paths accumulate different phases, and they add up (constructive interference) or cancel out (destructive interference).
Phase is everything!
The Problem¶
Any interaction with the environment scrambles the phases.
Even the tiniest coupling to the outside world — a stray magnetic field, a thermal photon, a vibrating atom — can kick the phase randomly.
Once the phases are scrambled, the interference pattern is destroyed. The quantum computation fails.
Dephasing is the enemy of quantum computing.
The Fundamental Dichotomy¶
Here’s what makes quantum computing so hard:
We need: Qubits that are perfectly isolated from their environment, so their phases stay coherent.
But we also need: Qubits that interact strongly with each other, so we can do two-qubit gates and create entanglement.
These requirements seem contradictory!
We want:
No coupling to the environment (thermal bath, stray fields, etc.)
Strong coupling to other qubits
Strong coupling to our control fields (so we can do gates)
Perfectly isolated... except for precisely controlled interactions.
This is incredibly difficult to achieve. It’s why, despite decades of effort, we still don’t have large-scale fault-tolerant quantum computers.
The Engineering Challenge¶
Every quantum computing platform is trying to solve this puzzle:
Superconducting qubits: Operate at 10 mK to freeze out thermal noise, use microwave shielding, but still suffer from materials defects
Trapped ions: Levitate ions in vacuum to isolate them, but electrode noise still causes problems
Neutral atoms: Use optical tweezers in ultra-high vacuum, but stray fields still cause dephasing
NV centers: Embedded in solid diamond, surrounded by fluctuating spins
Each platform makes different tradeoffs between isolation and control.
Summary¶
Atomic Clocks¶
The second is defined by the cesium hyperfine transition: Hz
Atomic clocks use Ramsey interferometry to lock a local oscillator to this frequency
Every cesium atom is identical → universal, reproducible standard
Current precision: 10-16 (cesium), 10-18 (optical)
Atom-Light Interactions¶
Full Hamiltonian:
Rotating frame trick:
Time-dependent → time-independent!
Detuning controls precession rate
Decoherence¶
Environment causes random phase kicks → fringes wash out
: dephasing time (phase information lost)
: relaxation time (population decays)
Dephasing is the enemy of quantum computing!
The Quantum Computing Challenge¶
This dichotomy is why quantum computing is so hard.
Homework 2.7¶
Problem: The Rotating Frame Transformation¶
This problem guides you through the rotating frame transformation — the key trick that turns a time-dependent Hamiltonian into a time-independent one.
Setup: We have a two-level atom with energy splitting driven by a light field oscillating at frequency . The lab-frame Hamiltonian is:
Our goal is to transform to a rotating frame where this becomes time-independent.
(a) First, let’s understand the problem. Write using Euler’s formula:
The and terms oscillate at frequency . This time dependence makes the Schrödinger equation hard to solve.
(b) We define the rotating frame transformation:
This is a rotation around the z-axis that accumulates angle over time — it “spins” at the light frequency.
Compute explicitly as a matrix.
Hint: Use
(c) We define the rotating frame state as:
Take the time derivative of both sides. Show that:
Hint: Use the product rule: , and substitute the Schrödinger equation for .
(d) Compute the second term. Show that:
Hint: First find , then , then put it together.
(e) Now we need to transform to the rotating frame: .
The term is easy since commutes with :
For the term, use the identity:
Show that:
(f) Put it together. The driving term transforms to:
Expand this using and .
You should get terms that are constant plus terms oscillating at .
(g) The Rotating Wave Approximation (RWA): When is large (optical or microwave frequencies), the terms oscillate so fast that they average to zero. We drop them.
After applying the RWA, show that the effective rotating-frame Hamiltonian is:
where is the detuning.
(h) Interpret your result:
What happens when (on resonance)?
What happens when (no driving)?
What happens when (far off resonance)?