B10 · Lesson 47 · Quantum dynamics lab
Relaxation, Ramsey fringes, Landau–Zener sweeps, golden-rule decay and Bell correlations, simulated
Lessons 26 to 44 gave formulas for how quantum systems change: Bloch-vector relaxation with and , Ramsey fringes, the Landau–Zener jump, the golden rule's exponential decay, and the singlet's correlations. Each formula rests on assumptions, such as an infinitely long sweep or a perfectly flat continuum. In this lab you'll simulate each process directly and see the formulas emerge, and where they bend: a decay that isn't exponential at first, a sweep that hasn't finished. Units are ħ = 1.
- A Ramsey experiment: two π/2 pulses separated by a wait T, with the drive detuned by Δ. The curve is the population of the upper state against T, with fringes fading as the coherence decays with time .
- Raise the detuning: the fringes crowd together, one per . Shorten : they fade sooner.
- The readout gives the fringe period. Step 2 simulates the pulses and the wait with matrices.
Predict
A level decays into a broad continuum at rate Γ by the golden rule. Is its survival probability exactly from the start?
No. At the very start the amplitude leaks out as or so, quadratically, because it takes time for the population to explore the continuum. Only after a time comparable to the inverse of the continuum's width does the decay settle into the golden rule's exponential. That early stage is what the quantum Zeno effect of lesson 16 exploits.
Name it
What to simulate
- Relaxation: the Bloch equations and (with = +1 the ground state), stepped in time.
- Ramsey: a π/2 rotation about x, free precession , and another π/2 rotation; the upper population is for ideal pulses.
- Landau–Zener: stepped with the exact propagator of each short interval, with .
- Golden rule: one level coupled by V to M levels spaced δ, diagonalized exactly; the survival probability approaches with .
- Bell correlations: for the singlet, combined into .
The exact two-level propagator
For any Hamiltonian of the form , with . Using it for each short step, with H evaluated at the step's middle, is far faster than calling a general matrix exponential.
Worked example
A qubit with = 50 and = 30 starts on the equator of the Bloch sphere. What do the Bloch equations give at t = 20?
Show the solution
- Horizontal component. It decays as
- Vertical component. climbs from 0 toward 1 as
- Compare with the simulation. Stepping the equations with Δt = 0.001 gives 0.51341 and 0.32968, matching to four digits.
- The path. The vector shrinks and swings toward the north pole along a curve, not a straight line, because its two parts decay at different rates.
Answer at t = 20 the horizontal component is 0.513 and is 0.330.
Worked example
A Landau–Zener sweep has V = 0.5 and v = 1. What jump probability does a simulation from t = −300 to 300 give, compared with the formula?
Show the solution
- The formula.
- The simulation. With the exact propagator over steps of 0.002, it gives 0.205.
- Where the difference comes from. The difference of about 1.5% is the sweep's finite length: the populations keep oscillating slightly, decaying as , long after the crossing. Running longer shrinks it, which is how you tell a truncation error from a mistake.
Answer the simulation gives 0.205, against 0.208 from the formula.
Worked example
One level couples with V = 0.02 to 801 levels spaced 0.01 apart. How does its survival compare with the golden rule at t = 2 and t = 5?
Show the solution
- Golden-rule rate.
- At t = 5. The exact survival is 0.290, against .
- At t = 2. It's 0.627 against 0.605.
- Why early times differ. The early survival is higher because the decay starts quadratically; the exponential takes over once the level has had time to resolve the continuum's structure.
- Very long times. Both numbers would drift further when the population returns from the finite set of levels, after about .
Answer the survival is 0.627 at t = 2 and 0.290 at t = 5, against the golden rule's 0.605 and 0.285.
Check
Step 1. Write bloch(T1, T2, t, dt) that steps the Bloch equations by Euler's method from = (1, 0, 0) and returns at time t.
Python 3.14 with numpy and matplotlib, running in your browser. Tab indents; press Esc and then Tab to move on.
Check
Step 2. Write ramsey(D, T) that applies a π/2 rotation about x, free precession , and another π/2 rotation to the state (1, 0), returning the upper population.
Python 3.14 with numpy and matplotlib, running in your browser. Tab indents; press Esc and then Tab to move on.
Check
Step 3. Write lz_sim(V, v, T, dt) that steps the Landau–Zener Hamiltonian from −T to T with the exact two-level propagator at each step's midpoint, starting in the first diabatic state, and returns the probability of still being in it.
Python 3.14 with numpy and matplotlib, running in your browser. Tab indents; press Esc and then Tab to move on.
Check
Step 4. Write golden(V, delta, M, t) that builds one level coupled by V to M levels at energies , diagonalizes it, and returns the first level's survival probability at time t.
Python 3.14 with numpy and matplotlib, running in your browser. Tab indents; press Esc and then Tab to move on.
Check
Step 5. Write chsh(a1, a2, b1, b2) for the singlet () and best_chsh() that searches Alice's second angle a2 and Bob's angles b1, b2 over a grid of 90 values each from 0 to π (Alice's first angle fixed at 0) and returns the largest S.
Python 3.14 with numpy and matplotlib, running in your browser. Tab indents; press Esc and then Tab to move on.
Check
A Ramsey experiment is detuned by Δ = 2 rad per unit time. How far apart are its fringes in wait time?
Check
A level couples with V = 0.01 to a continuum of levels spaced 0.001 apart (ħ = 1). What is its golden-rule decay rate?
Explain why
Why does a decaying level's survival fall quadratically at first, before the golden rule's exponential takes over?
At the very start, the level's amplitude has only just begun leaking into the continuum, and every final state receives a little amplitude growing in proportion to time, all in step. The probability lost is the square of that amplitude, so it grows as . As time goes on, the final states with different energies drift out of phase with the initial level at different rates, and only those within a narrow energy window, of width about , keep receiving amplitude coherently. That narrowing window turns the quadratic growth into a steady rate, proportional to the density of states at the right energy: the golden rule. The crossover happens after a time of order divided by the continuum's width.
Practice
Keep practicing
4 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.