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

B10 · Lesson 13 · Wave packet lab

Spreading, oscillating and tunneling packets, computed with the FFT and the split-step method

Lessons 8 to 12 solved for stationary states and plane waves. Real electrons arrive as packets, localized in space, with a spread of momenta, and moving. A computer can follow a packet directly: in momentum space a free particle's evolution is just a phase factor, and the split-step Fourier method alternates between position space, where the potential acts, and momentum space, where the kinetic energy acts, using the FFT. In this lab you'll write that solver and use it to watch a packet spread, oscillate in a well and split at a barrier, checking each against the formulas you already know. Units are those where ħ = m = 1.

  • A free Gaussian packet's width against time, σ(t)=σ01+(t2σ02)2 in units with ħ = m = 1.
  • A narrow packet spreads quickly; a wide one barely changes. The readout gives the time for the width to double, 23σ02.
  • Your FFT propagator in step 2 must reproduce this curve exactly, since free evolution in momentum space is exact.

Predict

A packet aims at a barrier whose plane-wave transmission at the packet's central energy is exactly 50%. What fraction of the packet gets through?

Name it

Free evolution in momentum space

Transform ψ(x) with the FFT to get its momentum amplitudes; each one evolves by e−ik2t/2 (in units ħ = m = 1); transform back. This is exact for a free particle, at any time, with no time steps at all.

The split-step method

With a potential V(x), the time-step operator e−i(T+V)Δt is approximated by

e−iVΔt/2e−iTΔte−iVΔt/2,

applying the potential's half-steps in position space and the kinetic step in momentum space. Each factor is a pure phase, so the method conserves probability exactly, and its error per step goes as Δt3.

What to check

  • A free packet's width follows σ01+(t/2σ02)2 and its center moves at k0.
  • A coherent state in a harmonic well (ω = 1) swings to the opposite side in half a period, π, keeping its shape.
  • A packet hitting a barrier splits; the transmitted probability is the plane-wave transmission averaged over the packet's momentum distribution, |ϕ(k)|2∝e−2σ2(k−k0)2.

Probability current

j=Im(ψ*dψdx) (with ħ = m = 1) is the flow of probability; for a plane wave eikxL it's kL, the density times the velocity.

Worked example

A packet with σ0 = 2 and k0 = 1 moves freely. Where is it, and how wide, at t = 10?

Show the solution
  1. Position. Its center has moved k0t=10.
  2. Width. σ=21+(10/8)2=3.20
  3. Compare with the simulation. The FFT propagator gives 3.2016, matching to every digit shown, because the evolution in momentum space is exact.
  4. What it means. The width grew by 60% in the time the packet moved five widths: a packet of electrons in a device spreads noticeably over the distances it travels.

Answer its center has moved 10 from where it started, and the packet is 3.20 wide.

Worked example

A coherent state (σ=12) starts at x = 5 in a harmonic well with ω = 1. Where is it after t = π?

Show the solution
  1. Half a period. With ω = 1, t = π is half a period, so it's at x = −5, the mirror point, with the same shape.
  2. Compare with the simulation. The split-step solver with Δt = 0.01 puts the center at −4.99999 and keeps the total probability at 1 to thirteen digits.
  3. Why the method is used. That it conserves probability exactly, whatever the step, is why it's the standard tool for laser pulses in fibers and wave packets in semiconductor structures.

Answer at x = −5, the mirror point, with the same shape.

Worked example

A packet with σ = 15 and k0 = 1.2 (energy 0.72) meets a barrier of height 1 and width 1. How much gets through?

Show the solution
  1. Plane-wave transmission. At the central energy it's 0.545.
  2. Average over the packet. Averaged over the packet's momentum spread it's 0.545 too, since the spread is small: 12σ=0.033
  3. The simulation. A split-step simulation on a grid of spacing 0.0977, though, finds 0.500.
  4. The culprit is the grid. 11 grid points fall inside the barrier, so the simulated barrier is effectively 1.074 wide, and the averaged transmission for that width is 0.503.
  5. A better-placed grid. On a grid of spacing 0.1 placed so exactly 10 points fall inside, the simulation gives 0.544. Tunneling depends so steeply on width that how a grid samples a sharp barrier is the main source of error.

Answer about 0.545 of the packet gets through; a simulation only finds this when its grid samples the barrier's width correctly.

Check

Step 1. Write gauss(x, s, k0, x0) returning a normalized Gaussian packet e−(x−x0)2/4s2+ik0x on the grid x, and stats(x, psi) returning its width and center from |ψ|2.

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 free(x, psi, t) that evolves a free packet by time t (ħ = m = 1) exactly, using the FFT: multiply each momentum component by e−ik2t/2, with k from np.fft.fftfreq. gauss and stats are included.

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 ssfm(x, psi, V, dt, n) that takes n split-step Fourier steps: half a potential step, a full kinetic step in momentum space, and another half potential step. gauss and stats are included.

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 transmitted(s, k0, V0, d) that sends a packet of width s and wavenumber k0 from x = −80 at a barrier of height V0 and width d centered at 0, on the grid xi=−400+(i+12)×0.1 for i = 0 to 7999 (so a width-1 barrier covers exactly 10 points), runs the split-step solver (Δt = 0.05) until t = 240/k0, and returns the probability beyond the barrier. Then write average_T(s, k0, V0, d), the plane-wave transmission averaged over the packet's momentum distribution. gauss and ssfm are included.

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 current(x, psi) returning the probability current Im(ψ*dψdx) on the grid, computing the derivative with the FFT (multiply by ik).

Python 3.14 with numpy and matplotlib, running in your browser. Tab indents; press Esc and then Tab to move on.

Check

In units where ħ = m = 1, how long does a free packet of initial width 1 take to double in width?

Check

A packet has width 15 (ħ = m = 1). What is its spread in wavenumber?

Explain why

Why does the split-step method conserve probability exactly, no matter how large its time step?

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.