Chapter 04
One-dimensional problems and numerical methods
Parity, phase shifts, transfer matrices — and writing your own Schrödinger solver.
- Sections
- 5
- Finalised
- 5/5
- Simulations
- 2
- Estimated time
- 3 hours
- Read first
- Chapter 02Chapter 03
- 4.1Symmetry and parity◈ 1 sim(s)When a potential is left-right symmetric, every bound-state wavefunction is either even or odd — not a coincidence, but a free gift delivered by the commutator [H,P] = 0.
- 4.2Scattering states and phase shifts◈ 1 sim(s)Everything a potential does to an incident wave condenses, in the end, into one angle: how far it pulled the waveform in, or pushed it out.
- 4.3The transfer matrix methodPackage each slab of potential as a 2×2 matrix, and an entire multilayer structure becomes a matrix product — the double barrier's razor-sharp resonance and the energy bands of a superlattice both grow straight out of the multiplication.
- 4.4Solving the Schrödinger equation numericallySwap the continuous x axis for a row of grid points and the Schrödinger equation becomes a tridiagonal matrix eigenvalue problem — ten lines of code solve the bound states of any potential.
- 4.5A numerical solver for custom potentialsPackage last section's method into a general-purpose solver: feed in any potential curve, get back levels and wavefunctions — then commission it on the double well, explaining the ammonia maser along the way.