B1047 of 55
0 XP
  1. Hook
  2. Play
  3. Predict
  4. Name it
  5. Check
  6. Explain

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 T1 and T2, 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 T2.
  • Raise the detuning: the fringes crowd together, one per 2πΔ. Shorten T2: 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 e−Γt from the start?

Name it

What to simulate

  • Relaxation: the Bloch equations r˙x,y=−rx,yT2 and r˙z=−rz−1T1 (with rz = +1 the ground state), stepped in time.
  • Ramsey: a π/2 rotation about x, free precession e−iΔσzT/2, and another π/2 rotation; the upper population is cos2⁡ΔT2 for ideal pulses.
  • Landau–Zener: H=(vt/2VV−vt/2) stepped with the exact propagator of each short interval, cos⁡ωΔt−isin⁡ωΔtωH with ω=(vt/2)2+V2.
  • Golden rule: one level coupled by V to M levels spaced δ, diagonalized exactly; the survival probability approaches e−Γt with Γ=2πV2δ.
  • Bell correlations: E(a,b)=−cos⁡(a−b) for the singlet, combined into S=|E(a1,b1)−E(a1,b2)+E(a2,b1)+E(a2,b2)|.

The exact two-level propagator

For any Hamiltonian of the form (aVV−a), e−iHΔt=cos⁡ωΔtI−isin⁡ωΔtωH with ω=a2+V2. 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 T1 = 50 and T2 = 30 starts on the equator of the Bloch sphere. What do the Bloch equations give at t = 20?

Show the solution
  1. Horizontal component. It decays as e−20/30=0.513
  2. Vertical component. rz climbs from 0 toward 1 as 1−e−20/50=0.330
  3. Compare with the simulation. Stepping the equations with Δt = 0.001 gives 0.51341 and 0.32968, matching to four digits.
  4. 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 rz 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
  1. The formula. P=e−2πV2/v=e−π/2=0.208
  2. The simulation. With the exact propagator over steps of 0.002, it gives 0.205.
  3. Where the difference comes from. The difference of about 1.5% is the sweep's finite length: the populations keep oscillating slightly, decaying as 1t, 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
  1. Golden-rule rate. Γ=2πV2δ=0.251
  2. At t = 5. The exact survival is 0.290, against e−Γt=0.285.
  3. At t = 2. It's 0.627 against 0.605.
  4. 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.
  5. Very long times. Both numbers would drift further when the population returns from the finite set of levels, after about 2πδ=630.

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 (rx,rz) 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 diag(e−iDT/2,eiDT/2), 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 (j−M//2)δ, 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 (E=−cos⁡(a−b)) 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?

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.