Free-Particle Propagator Notebook
This notebook guide turns the exact free-particle propagator into a numerical consistency test. It evolves one initial Gaussian by three routes: the analytic Gaussian formula, direct quadrature of the full-line kernel, and diagonal evolution on a periodic Fourier grid. Agreement among all three is much stronger evidence than a plausible-looking animation.
The derivation of the kernel belongs to Free-Particle Propagator, and the physics of packet spreading belongs to Gaussian Wave Packets and Wave-Packet Spreading. This page focuses on implementation, validation, and the boundary-condition distinction between the infinite line and a finite FFT box.
Purpose
Section titled “Purpose”The notebook should establish that:
- the full-line propagator convolves an initial wavefunction into the correct evolved state;
- direct kernel quadrature and Fourier-space evolution agree when they approximate the same physical problem;
- an FFT implements a periodic-box propagator, not a literal finite sample of the full-line kernel;
- the kernel’s complex phase carries essential information even though its magnitude is spatially constant;
- convergence requires separate tests of grid spacing, box size, oscillatory phase resolution, and boundary contamination.
The notebook should preserve complex amplitudes until the final observable is formed. Comparing only probability densities can conceal a wrong square-root branch or a global phase error.
Physics Goal
Section titled “Physics Goal”For the one-dimensional Hamiltonian
the full-line kernel for is
The branch continuous with unitary forward evolution is
The propagated state is
The notebook should not infer this formula from its numerical output. It should take the exact kernel as an analytic input and test whether each discretization realizes its action correctly.
Analytic Gaussian Benchmark
Section titled “Analytic Gaussian Benchmark”Use the normalized initial packet
Define
The exact evolved wavefunction is
Choose the square root continuously from at . Its probability density is Gaussian with
This benchmark tests amplitude, phase, translation, and spreading simultaneously. The Wave-Packet Time Evolution Notebook develops the packet observables in more detail; here they serve as independent checks on the kernel calculation.
Three Evolution Routes
Section titled “Three Evolution Routes”All routes must begin from the same sampled initial state and be compared on the same position grid.
Analytic route
Section titled “Analytic route”Evaluate directly from the exact expression. Do not renormalize it after sampling. A sampled norm different from one is useful diagnostic information about finite box size and grid resolution.
Full-line kernel quadrature
Section titled “Full-line kernel quadrature”On a uniform grid with spacing , approximate the convolution by
This route has two distinct approximations:
- the integral over the infinite line is truncated to the finite computational interval;
- the resulting oscillatory integral is replaced by a quadrature sum.
The dense operation costs work and memory if the entire kernel matrix is stored. Evaluate rows in blocks when memory is limited. Blocking changes neither the mathematical approximation nor the expected answer.
Do not use in this formula. The kernel tends to a delta distribution, not an ordinary function, and its increasingly rapid oscillations make naive quadrature least reliable precisely when is small.
Periodic Fourier route
Section titled “Periodic Fourier route”Take a periodic interval of length with
There is no duplicate endpoint. The represented wavenumbers are
ordered according to the FFT library. The free evolution of each mode is
The algorithm is therefore:
- normalize with the weighted grid norm;
- transform it with the forward FFT;
- multiply every represented mode by the exact free phase;
- apply the inverse FFT;
- retain the complex result without post-evolution renormalization.
For a time-independent free particle, this is one exact spectral step for the represented periodic modes. There is no time-step error. Disagreement comes from finite spatial bandwidth, periodic boundaries, transform conventions, or an implementation mistake.
Infinite-Line and Periodic Kernels
Section titled “Infinite-Line and Periodic Kernels”The distinction between the two kernels is the conceptual center of the notebook. On a circle of circumference , the exact periodic kernel is
Formally, it can also be written as an image sum,
with the same real-time convergence prescription as the full-line kernel. The image terms are the amplitudes for propagation around the periodic domain by different windings.
Keeping only the Fourier modes represented on the grid gives
where is the FFT mode index set. Its grid convolution is
Because , this is exactly the discrete Fourier algorithm, up to the stated transform normalization. The matrix
is unitary on the discrete grid when every represented mode is retained. By contrast, the matrix formed by sampling on a finite interval is generally not exactly unitary.
The two routes agree before periodic images matter if the initial and evolved packet are negligible near the boundaries and the full-line quadrature is resolved. They are not expected to agree after the packet wraps around the box.
Grid and Baseline Parameters
Section titled “Grid and Baseline Parameters”A useful dimensionless baseline is
Start with
Then the analytic center is , the width is , and the packet remains well separated from either boundary. This time is also large enough that the full-line kernel is not excessively oscillatory at the baseline grid spacing. The values are a starting point, not a substitute for convergence tests.
Record in the notebook:
- , , , , and ;
- , , , , and the FFT wavenumber ordering;
- every evaluation time;
- the floating-point dtype and software versions;
- the source and output blocks used for direct convolution;
- all validation tolerances and the norm used to define each error.
Notebook Workflow
Section titled “Notebook Workflow”Organize the calculation into reproducible cells:
- define parameters and construct a nonduplicated periodic grid;
- build and discretely normalize the initial Gaussian;
- verify that its boundary probability is negligible;
- evaluate the analytic Gaussian benchmark;
- evaluate the full-line kernel convolution in memory-safe blocks;
- evolve the same array by one FFT spectral step;
- compute complex wavefunction errors, density errors, norms, moments, and overlaps;
- visualize the kernel magnitude and phase;
- repeat for grid and box refinements;
- run assertions before producing presentation plots.
Keep computation and plotting separate. A validation cell should still fail clearly when plots are disabled.
Complex Kernel Phase
Section titled “Complex Kernel Phase”For , write the full-line kernel as
where
Its magnitude,
is independent of separation. Localization emerges from destructive and constructive interference in the convolution, not from a decaying kernel magnitude.
For a fixed source point , include four plots:
- the constant magnitude ;
- the real and imaginary parts;
- the wrapped phase in a cyclic color scale or on ;
- the analytic unwrapped quadratic phase .
The wrapped phase contains discontinuous jumps by that are not physical singularities. Do not apply a generic phase-unwrapping routine and assume it reconstructed the branch correctly; compare with the known analytic phase. Plot the periodic kernel separately if desired, because interference among images makes both its magnitude and phase nontrivial.
Phase-Resolution Criterion
Section titled “Phase-Resolution Criterion”The phase change between neighboring source-grid points is approximately
For all source and output points used in a comparison, require this change to be comfortably smaller than . A conservative study should demonstrate convergence as its maximum value decreases, rather than declaring one fixed threshold universally sufficient.
This estimate explains a counterintuitive feature of direct real-time quadrature: decreasing makes the kernel harder to sample. The FFT route does not sample this coordinate-space oscillation directly; it represents the exact phase of each retained momentum mode instead.
Validation Metrics
Section titled “Validation Metrics”Use the discrete inner product
and norm
For two routes and , define the phase-sensitive error
Also report the normalized fidelity
Fidelity is insensitive to a global phase, whereas is not. Both are needed when testing the complex prefactor of a propagator.
The minimum validation table is:
| Check | Diagnostic | Expected behavior |
|---|---|---|
| Initial sampling | and boundary mass | near one before optional discrete normalization; boundary mass converges to zero |
| FFT unitarity | near floating-point roundoff | |
| Analytic agreement | decreases under grid and box refinement | |
| Direct agreement | decreases when truncation and phase resolution improve | |
| Route agreement | converges before periodic images contribute | |
| Center | approaches zero | |
| Width | approaches zero | |
| Composition | two successive evolutions versus one combined evolution | near roundoff for the FFT route |
| Branch phase | complex error and analytic kernel phase | catches errors hidden by density plots |
For the composition test, choose positive and and compare
with
The periodic spectral route should satisfy this identity to roundoff because its mode phases multiply exactly. The direct quadrature route tests the finite-domain approximation to the continuum Composition Law and generally converges more slowly.
Convergence Study
Section titled “Convergence Study”Vary one numerical scale at a time:
- Grid refinement at fixed box. Use , and increase further if the direct phase remains under-resolved.
- Box enlargement at fixed spacing. Increase while keeping approximately fixed. This isolates truncation and periodic-image errors from resolution.
- Time scan. Compare moderate times, a deliberately difficult small time, and a later time approaching wraparound.
- Source truncation. If direct convolution omits initial points below a magnitude threshold, tighten that threshold and confirm stable results.
- Block size. Change only the direct-kernel block size. The result should be unchanged to roundoff.
Plot each error against the relevant resolution scale. A single fine-grid result does not establish convergence. If an error stops decreasing, inspect boundary probability, momentum-space tails near the Nyquist mode, phase resolution, and floating-point cancellation before increasing again.
Expected Results
Section titled “Expected Results”For a well-resolved isolated packet:
- the analytic, direct, and FFT wavefunctions overlap visually in both real and imaginary parts;
- the complex route errors decrease systematically with refinement;
- the FFT norm and composition residual stay near roundoff;
- the direct-convolution norm approaches one but is not exactly preserved at finite resolution;
- the measured center and width follow the analytic formulas;
- the full-line kernel magnitude is constant while its phase oscillates quadratically;
- the direct route deteriorates first as becomes small;
- the FFT and full-line routes separate when periodic wraparound becomes appreciable.
That final separation is expected physics for different boundary conditions, not evidence that one formula is intrinsically wrong.
Common Numerical Failures
Section titled “Common Numerical Failures”- Sampling the wrong kernel. A finite FFT box evolves with , not with a rectangular sample of .
- Duplicating the endpoint. Including both ends of a periodic interval changes the spacing and corrupts the Fourier grid.
- Missing the factor of . FFT frequencies are often returned in cycles per unit length; convert them to angular wavenumbers before using .
- Choosing the wrong square-root branch. Density plots can remain unchanged while the complex wavefunction acquires the wrong global phase.
- Using the coordinate kernel at zero time. Its initial condition is distributional.
- Renormalizing every result. This hides quadrature loss, boundary truncation, and transform-scaling mistakes.
- Comparing only densities. Equal densities do not imply equal states.
- Ignoring periodic wraparound. A packet crossing one boundary re-enters through the other.
- Resolving the packet but not the kernel phase. Smooth initial data do not guarantee accurate direct Fresnel quadrature.
- Materializing an unnecessary dense matrix. Blocked multiplication avoids excessive memory without altering the calculation.
- Changing and together without tracking . The resulting error change cannot be attributed to one cause.
Physical Interpretation
Section titled “Physical Interpretation”The direct kernel and momentum-space routes are two representations of the same unitary operator on the infinite line. Numerically, however, they expose different approximations. Direct quadrature must resolve cancellation among rapidly varying coordinate-space phases. Fourier propagation diagonalizes the Hamiltonian but replaces the line by a band-limited periodic space.
This is why agreement is most informative in a controlled overlap regime: the packet is far from the boundaries, its momentum support is below the grid cutoff, and the coordinate-space kernel phase is resolved. Outside that regime, the disagreement itself identifies which mathematical idealization has changed.
Extensions
Section titled “Extensions”- Replace the Gaussian by a compact smooth packet and compare only the direct and FFT routes.
- Construct explicitly for a small grid and verify discrete unitarity entry by entry.
- Compare the finite mode sum with a regularized image sum.
- Repeat the calculation in two dimensions using the product kernel.
- Introduce a constant force and compare with the corresponding exact quadratic-action kernel.
- Continue to the Harmonic-Oscillator Propagator, where caustic phases add a new branch-tracking issue.
Cross-Links
Section titled “Cross-Links”- Free-Particle Propagator
- Propagator Kernel
- Composition Law
- Propagators and Boundary Conditions
- Gaussian Wave Packets
- Wave-Packet Spreading
- Fast Fourier Transform
- Numerical Quadrature
- Convergence Tests
- Validation Tests
References
Section titled “References”- R. P. Feynman and A. R. Hibbs, Quantum Mechanics and Path Integrals, McGraw-Hill, 1965.
- D. J. Tannor, Introduction to Quantum Mechanics: A Time-Dependent Perspective, University Science Books, 2007.
- M. D. Feit, J. A. Fleck Jr., and A. Steiger, “Solution of the Schrödinger Equation by a Spectral Method,” Journal of Computational Physics 47, 412–433 (1982), doi:10.1016/0021-9991(82)90091-2.
- L. N. Trefethen, Spectral Methods in MATLAB, Society for Industrial and Applied Mathematics, 2000, especially Chapter 3 on periodic grids and the FFT.
- NumPy Developers, Discrete Fourier Transform documentation, consulted for transform normalization and frequency ordering.
Exercises
Section titled “Exercises”1. Derive the discrete spectral kernel
Section titled “1. Derive the discrete spectral kernel”Starting from the finite Fourier expansion of a periodic grid state, derive and show that multiplying it by gives the matrix implemented by an FFT, modewise phase multiplication, and an inverse FFT.
Solution
Write the grid state as
After free evolution,
Insert
Then
Since , the expression in brackets is . This is exactly the forward-transform, diagonal-phase, inverse-transform algorithm.
2. Estimate direct-quadrature resolution
Section titled “2. Estimate direct-quadrature resolution”Let the source and output points satisfy . Derive a local phase-resolution estimate and determine how the required scales as at fixed and .
Solution
The kernel phase is
Therefore
With ,
Requiring for some chosen gives
Thus the direct coordinate-space resolution requirement grows as when approaches zero.
3. Detect a branch error
Section titled “3. Detect a branch error”Suppose a wrong square-root branch multiplies the correct propagated state by . For a normalized state, compute the complex wavefunction error and the fidelity relative to the correct state.
Solution
The phase-sensitive error is
The normalized fidelity is
The density is also unchanged. Fidelity and density checks alone therefore cannot validate the kernel’s complex prefactor.
4. Explain exact discrete composition
Section titled “4. Explain exact discrete composition”Why should the periodic FFT route satisfy composition to roundoff even though it approximates the infinite-line problem only on a finite box?
Solution
Each represented mode evolves by
The mode factors obey
exactly in algebra. The FFT and inverse FFT merely change basis, so the finite-dimensional periodic evolution satisfies the group law. Floating-point transforms and phase evaluation introduce only roundoff. This proves composition for the discrete periodic model; it does not remove the difference between that model and the full line.
5. Design a boundary-condition test
Section titled “5. Design a boundary-condition test”Give a numerical experiment that distinguishes loss of direct-quadrature accuracy from genuine periodic wraparound.
Solution
First refine at fixed . If the direct result approaches the analytic full-line solution while the FFT result remains stable, the original discrepancy was quadrature resolution. Next enlarge while keeping approximately fixed. If the time at which the FFT result departs from the full-line benchmark moves later and the boundary probability decreases, the discrepancy was periodic wraparound. Monitoring the packet probability in fixed boundary strips makes this diagnosis quantitative.