Crank–Nicolson Method
Crank–Nicolson advances Schrödinger evolution through a linear solve. For a fixed Hermitian Hamiltonian, its update is a Cayley transform: it preserves norm exactly in exact arithmetic and is second-order accurate in time. Stability permits a large step without exponential growth; it does not make that step physically accurate.
Helpful background. The numerical Schrödinger equation defines the represented initial-value problem.
Deriving the Cayley update
Section titled “Deriving the Cayley update”Apply the trapezoidal rule to with fixed :
Rearranging gives
Let . The update is . Since the two factors are commuting functions of Hermitian , . It also commutes with , so the discrete energy expectation is conserved for a fixed Hamiltonian.
Do not form the inverse. Factor the left matrix once when and are fixed, then reuse the factorization. A one-dimensional nearest-neighbor spatial stencil gives a tridiagonal solve; more general sparse matrices may incur fill-in.
Phase accuracy on one eigenmode
Section titled “Phase accuracy on one eigenmode”For , the update multiplier is
Its magnitude is one, but its phase differs from . Expanding,
Thus phase error accumulates over long times. Large-energy modes can have badly distorted frequencies even though the trajectory remains bounded.
One eigenmode step with , starting from multiplier . The exact phase is radians; Crank–Nicolson gives . Both points have modulus one, so a normalization check misses the angular error.
A scalar energy shift changes the numerical phase error of this rational approximation; account for its global phase and test the relevant energy bandwidth.
Nonorthogonal and time-dependent cases
Section titled “Nonorthogonal and time-dependent cases”In a fixed nonorthogonal basis with overlap , use
This preserves in exact arithmetic. Euclidean norm is not the physical norm unless the basis is orthonormal.
For time-dependent , a midpoint-frozen Hermitian matrix used in both factors gives a second-order implicit-midpoint step that remains unitary. The literal endpoint trapezoidal formula, with on the right and on the left, is also second order under smoothness assumptions but is not generally exactly unitary. State which version is implemented.
Non-Hermitian absorbers intentionally violate norm conservation. Interpret norm loss through the absorber model rather than applying the closed-system proof.
Solver residuals and refinement
Section titled “Solver residuals and refinement”An inexact linear solve adds its own error. Record the residual of the linear system, vary its tolerance below the time-step error, and check norm drift over the full trajectory. Solving each step to a loose tolerance can accumulate a systematic error even when the method’s exact update is unitary.
For a two-level diagonal Hamiltonian and an equal superposition, compare the computed relative phase after a fixed total time with the exact one. Halving should reduce the leading phase error by roughly four. Also run a forward/backward check; reversibility alone cannot detect the method’s modified eigenfrequencies.
Exercises
Section titled “Exercises”For , compare the exact one-step phase magnitude with that of Crank–Nicolson.
Solution
The exact phase magnitude is radians. Crank–Nicolson gives radians. Both multipliers have unit modulus, but the phase error is about radians in a single step.
References
Section titled “References”- Crank, J., and P. Nicolson, “A practical method for numerical evaluation of solutions of partial differential equations of the heat-conduction type,” Proceedings of the Cambridge Philosophical Society 43, 50–67 (1947); 1996 reprint — the implicit second-order scheme.
- Hairer, E., C. Lubich, and G. Wanner, Geometric Numerical Integration, 2nd ed., Springer, 2006 — midpoint integration, invariants, and modified dynamics.