Wave-Packet Scattering Notebook
A time-dependent scattering animation can look persuasive while its transmission probability is wrong. Norm conservation does not detect an unresolved barrier, a premature measurement, periodic wraparound, or comparison with the wrong plane-wave quantity. This notebook turns the animation into a controlled numerical experiment.
A Gaussian packet approaches an exactly solvable rectangular barrier from the left. The state is propagated with a unitary split-step Fourier method. At late time, regional norms are compared with an independent benchmark obtained by averaging the exact stationary transmission coefficient over the packet’s momentum distribution.
The canonical Wave Packets and Scattering page owns the relation between localized packets and stationary scattering amplitudes. Rectangular Barrier Tunneling owns the matching derivation. This page owns the propagation algorithm, parameter study, convergence evidence, failure modes, and reproducibility record.
Run the investigation. The program and retained results below support the stated experiment. Follow Running an Experiment for environment and output-directory guidance. The recorded evidence applies to its stated parameters and environment.
Physical Problem
Section titled “Physical Problem”Use dimensionless units
and solve
The barrier is centered at the origin:
The reported calculation uses
The initial state is the normalized Gaussian
Its position and momentum standard deviations are
For the production run,
The central kinetic energy is
so the central plane-wave component is in the tunneling regime. The packet has negligible negative-momentum weight, approximately on the reported grid.
Independent Analytic Benchmark
Section titled “Independent Analytic Benchmark”For , the exact plane-wave transmission coefficient is
where
The corresponding trigonometric expression is used for . The matching calculation is not repeated here; it belongs to Rectangular Barrier Tunneling.
At the central wavenumber,
That is not the exact target for a packet of finite bandwidth. If is the normalized initial momentum amplitude, the packet benchmark is
For the reported packet,
The difference from is about , much larger than the final numerical propagation error. Comparing the simulation only with would therefore misidentify a physical bandwidth effect as a numerical error.
Split-Step Fourier Propagation
Section titled “Split-Step Fourier Propagation”Write the Hamiltonian as
The symmetric second-order step is
per step, giving global error when the required regularity and commutator bounds are controlled. The kinetic factor is diagonal in momentum space:
One numerical step is therefore:
Every multiplication is by a unit-modulus phase, and the orthonormal discrete Fourier transform is unitary. The represented finite-grid evolution therefore conserves the discrete norm up to floating-point roundoff.
That structural property is valuable but limited. It proves that the algorithm did not lose probability. It does not prove that the represented Hamiltonian, barrier, packet, or time step is accurate.
Periodic Grid and Barrier Placement
Section titled “Periodic Grid and Barrier Placement”The FFT imposes periodic boundary conditions on a box of length . Use cell-centered positions
For every grid in the convergence sequence, the barrier edges lie between cells and exactly cells represent the barrier. This avoids changing the effective barrier width irregularly as changes.
The production parameters are:
| Quantity | Value |
|---|---|
| Box length | |
| Grid points | |
| Spacing | |
| Time step | |
| Final time | |
| Time steps | |
| Barrier neighborhood | $ |
| Boundary-monitor width | at each edge |
The final reflected and transmitted packets remain far from the periodic boundaries. No absorber is used, so unitarity and regional accounting remain direct. The price is that propagation must stop before either outgoing packet wraps around the box.
Regional Probability Accounting
Section titled “Regional Probability Accounting”Choose , well outside the barrier. Define
and
These regions partition the grid, so
Before the collision, is mostly incident probability and must not be called reflection. Only after the outgoing pieces separate and becomes negligible may one identify
Evolution
Section titled “Evolution”The density begins as a right-moving Gaussian, develops interference structure during the collision, and ends as spatially separated reflected and transmitted packets.
Density snapshots for , , , , and . The shaded strip marks the barrier. The density scale changes between panels: packet probability is determined by the area under each outgoing branch, not by its peak height.
Selected regional probabilities are:
The interaction probability peaks near . At that time the labels incident, reflected, and transmitted are not separately meaningful. By , the interaction remainder is negligible and the regional norms have stabilized.
Final Observable
Section titled “Final Observable”The finest propagation gives
The accounted norm is
Against the independent packet-spectrum benchmark,
This discrepancy is about relative to the transmitted probability. It is small compared with the finite-bandwidth correction to .
Convergence Study
Section titled “Convergence Study”The rectangular barrier is discontinuous. Although the symmetric splitting is formally second order, the discontinuity populates high spatial frequencies and makes coarse time-step behavior less regular than a smooth-potential textbook estimate suggests. The observable must therefore be converged empirically.
Coordinated refinement
Section titled “Coordinated refinement”The main sequence halves and together while holding and fixed:
| | | | | | |---:|---:|---:|---:|---:| | | | | | | | | | | | | | | | | | | | | | | | |
The successive observed orders are approximately
The sequence approaches second-order behavior, but this coordinated path alone cannot say whether space or time dominates.
Panel (a) tracks left, interaction, and right regional probabilities. Panel (b) compares the propagated transmission with the exact momentum-weighted barrier coefficient under coordinated refinement. Exact norm conservation at every resolution does not prevent the coarsest transmitted probability from being wrong by more than .
Time step at fixed grid
Section titled “Time step at fixed grid”At fixed and :
| Absolute Error | ||
|---|---|---|
The error approaches a nonzero plateau. Reducing further cannot remove the spatial representation error at this .
Box length at fixed resolution
Section titled “Box length at fixed resolution”Hold and fixed:
| Final Edge Probability | |||
|---|---|---|---|
The and transmissions agree to about . The smaller box happens to give a similar integrated transmission at , but probability has already entered the boundary-monitor region. It has no useful safety margin against periodic wraparound and is rejected.
Packet Bandwidth Is a Physical Control
Section titled “Packet Bandwidth Is a Physical Control”For the Gaussian family,
Changing changes the physical incoming state, not merely the numerical resolution. The exact spectrum averages are:
The packet result approaches as the momentum distribution narrows. A wider packet samples the nonlinear energy dependence of and should not be expected to reproduce the central plane-wave value.
Validation Ledger
Section titled “Validation Ledger”Discrete norm
Section titled “Discrete norm”The production run satisfies
over the recorded time series.
Regional accounting
Section titled “Regional accounting”At every recorded time, the three regional probabilities sum to the discrete norm within floating-point summation error.
Independent stationary benchmark
Section titled “Independent stationary benchmark”The late-time transmitted norm agrees with the exact momentum-weighted barrier coefficient within at the finest resolution.
Negative momentum
Section titled “Negative momentum”The initial negative- probability is below , so essentially the entire packet approaches the barrier from the left.
Packet separation
Section titled “Packet separation”The final interaction-region probability is below . This is the operational check that the late-time regional norms may be interpreted as reflection and transmission.
Boundary clearance
Section titled “Boundary clearance”The final probability in the outermost units on either side is below for . The result confirms box-size stability.
Independent convergence axes
Section titled “Independent convergence axes”The calculation varies time step at fixed grid, box length at fixed spacing, packet width in the analytic benchmark, and space-time resolution along a coordinated refinement path.
Error Ledger
Section titled “Error Ledger”| Source | Physical or Numerical? | Diagnostic | Control |
|---|---|---|---|
| Packet bandwidth | physical state choice | compare with | vary |
| Time splitting | numerical | fixed- time-step sequence | reduce |
| Barrier/grid representation | numerical | spatial plateau and coordinated refinement | reduce with aligned edges |
| Periodic wraparound | numerical | edge probability and sweep | enlarge or stop earlier |
| Incomplete separation | numerical interpretation | propagate longer without reaching edges | |
| Momentum aliasing | numerical | spectral weight near $ | k |
| Region placement | numerical interpretation | vary in a free asymptotic zone | move boundaries and recheck plateaus |
| Floating-point accumulation | numerical | norm drift versus step count | record precision and backend |
The bandwidth correction should not be added to the numerical error. It is the difference between two different physical inputs: a finite packet and an ideal monochromatic beam.
Absorbers and Flux Alternatives
Section titled “Absorbers and Flux Alternatives”No absorber is needed for this run because the box is large enough. In longer simulations, a complex absorbing potential or mask can suppress boundary reflection, but then the evolution is intentionally nonunitary. Three precautions become necessary:
- place the absorber outside every measurement surface;
- verify that the absorber does not reflect appreciably;
- compute reflection and transmission from flux through surfaces or regional norms before absorption, rather than treating lost norm as one channel automatically.
A convergence study must then vary absorber onset, width, strength, and functional form in addition to and .
Downloadable Program and Data
Section titled “Downloadable Program and Data”- Download the NumPy program
- Download the convergence data
- Download the time-step study
- Download the box-size study
- Download the regional time series
- Download the packet-width sweep
- Download the snapshot data
Run the program with python wave-packet-scattering.py --output-dir wave-packet-output. NumPy is required. Matplotlib is optional; without it, all validation checks and CSV outputs still run.
The source carries the SPDX identifier MIT; the program and generated tabular data are released under the MIT License.
Reproducibility Metadata
Section titled “Reproducibility Metadata”| Item | Published Run |
|---|---|
| Operating system | Windows 11, x86-64 |
| Python | 3.12.13 |
| NumPy | 2.3.5 |
| BLAS/LAPACK | OpenBLAS 0.3.30, 64-bit integer interface |
| Scalar type | complex128 state, float64 observables |
| Transform | orthonormal NumPy FFT |
| Propagator | symmetric second-order split step |
| Main grid | , , |
| Main time step | , steps |
| Potential | , , cell-aligned edges |
| Packet | , , |
| Measurement regions | , $ |
| Random seed | none; the calculation is deterministic |
| License | MIT |
The script prints the Python and NumPy versions. An archival rerun should also retain np.show_config() because FFT and floating-point details can affect the last few digits.
Known Failure Modes
Section titled “Known Failure Modes”Trusting norm conservation as an accuracy certificate
Section titled “Trusting norm conservation as an accuracy certificate”The coarsest run conserves norm to roughly while its transmission error exceeds . Unitarity certifies probability preservation, not resolution of the observable.
Measuring too early
Section titled “Measuring too early”At , nearly one third of the probability remains in the interaction region. Calling the left and right integrals final reflection and transmission then would omit a large unresolved component.
Propagating too late
Section titled “Propagating too late”On a periodic FFT grid, an outgoing packet eventually re-enters from the opposite edge. A visually plausible second collision can be pure wraparound.
Comparing with the central plane wave
Section titled “Comparing with the central plane wave”The finite packet averages over a nonzero bandwidth. Near a threshold or resonance, this average can differ substantially from .
Holding only one cutoff fixed
Section titled “Holding only one cutoff fixed”Reducing at reaches a spatial error plateau. Refining time alone cannot repair an unresolved barrier.
Sampling a discontinuity inconsistently
Section titled “Sampling a discontinuity inconsistently”If the barrier edge moves through grid cells as changes, the convergence sequence changes both the discretization and the effective physical width. Align the edge convention or integrate the cell potential consistently.
Ignoring absorber systematics
Section titled “Ignoring absorber systematics”An absorber can remove norm cleanly while reflecting phase or amplitude back toward the interaction region. Its parameters require their own convergence study.
Reading peak height as probability
Section titled “Reading peak height as probability”Scattering filters and disperses the packet. Peak density is not a channel probability; integrate the full separated branch.
Common Mistakes
Section titled “Common Mistakes”- Using an FFT without recognizing its periodic boundary condition.
- Choosing too close to the Nyquist wavenumber.
- Launching the packet so near the barrier that it initially overlaps the potential.
- Reporting as reflection before checking interaction and edge probabilities.
- Calling left-side probability reflection before the incident branch has cleared the measurement surface.
- Changing while accidentally changing the represented barrier width.
- Treating a smoother-looking high-resolution animation as quantitative convergence evidence.
- Omitting the physical packet-width correction from the comparison target.
Exercises
Section titled “Exercises”- Derive the momentum variance of the initial Gaussian packet.
Solution
The Fourier amplitude is Gaussian about with probability density proportional to
Comparing with a normal density gives
so and .
- Explain why each split-step update preserves the represented norm.
Solution
For a real potential, has unit modulus at every grid point. The kinetic factor also has unit modulus at every represented wavenumber. With an orthonormal FFT, the forward and inverse transforms are unitary. A product of unitary maps is unitary, so the discrete norm is preserved apart from floating-point roundoff.
- Use the last two coordinated-refinement errors to estimate the observed order.
Solution
The errors are
and
Since the spacing is halved,
- Why does the fixed- time-step study approach a nonzero error?
Solution
Reducing removes the splitting error but leaves the spatially represented Hamiltonian unchanged. At sufficiently small , the time propagator accurately evolves that finite-grid Hamiltonian, whose barrier and high-wavenumber response still differ from the continuum problem. The remaining discrepancy is therefore a spatial plateau.
- A run has , , and . May one report and ?
Solution
No. One quarter of the probability still lies in the interaction region and can later join either outgoing branch. The regional sum confirms accounting, but the packet has not separated. Continue propagation while monitoring boundary clearance, or use a flux-based extraction outside the interaction region.
- Suppose an absorber removes of the norm on the right and on the left. Under what conditions may those losses be interpreted as transmission and reflection?
Solution
Only if each absorber lies beyond a channel-specific measurement surface, outgoing flux reaches it after leaving the interaction region, reflection from the absorber is negligible, and the remaining interaction probability is accounted for. Absorbed norm by itself does not identify which physical process produced the loss.
- Why is varying not an ordinary numerical convergence test?
Solution
Changing changes the physical momentum distribution and therefore the incoming state. The limit approaches a monochromatic beam, but finite values describe different experiments. Grid and time-step refinements should converge the result for each chosen separately.
Cross-Links
Section titled “Cross-Links”- Computational Notebooks
- Wave Packets and Scattering
- Rectangular Barrier Tunneling
- Reflection and Transmission Coefficients
- Gaussian Wave Packets
- Wave Packet Spreading
- Wave-Packet Time Evolution
- Unitarity and Conservation of Probability
- Fourier Transform
- Convergence Tests
References
Section titled “References”- G. Strang, “On the construction and comparison of difference schemes,” SIAM Journal on Numerical Analysis 5, 506–517, 1968, doi:10.1137/0705041.
- 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.
- D. Kosloff and R. Kosloff, “A Fourier method solution for the time dependent Schrödinger equation as a tool in molecular dynamics,” Journal of Computational Physics 52, 35–53, 1983, doi:10.1016/0021-9991(83)90015-3.
- S. Blanes, F. Casas, and A. Murua, “Symplectic splitting operator methods for the time-dependent Schrödinger equation,” Journal of Chemical Physics 124, 234105, 2006, doi:10.1063/1.2203609.
- J. R. Taylor, Scattering Theory: The Quantum Theory of Nonrelativistic Collisions, Dover, 2006.
- J. M. Thijssen, Computational Physics, 2nd ed., Cambridge University Press, 2007.