I’ve always been bothered by the way that scattering problems are introduced in introductory quantum mechanics courses. A typical problem is stated like this: given a particle moving toward a potential barrier, what is the probability that the particle tunnels through the barrier versus being reflected? Typically, these problems are approached by solving for the stationary states of the scattering potential Hamiltonian subject to certain constraints. Admittedly, the pedigree of this approach is impressive; it was employed by George Gamow in the first treatment of quantum tunneling. Yet at the same time, this approach contains troubling flaws. Most scattering problems have no stationary states – the eigenstates of their Hamiltonians are piecewise plane waves that are not normalizable. In order to treat them truly rigorously, a time-dependent approach must be employed.

To the rescue comes this excellent paper, that demonstrates how the standard plane-wave treatment is a limiting case of time-DEPENDENT Gaussian wave packet scattering. Whereas plane waves aren’t real (a given electron cannot be everywhere in space at once), Gaussian wave packets can be physically observed. The authors derive an improved formula for the tunneling probability that depends on the width of the initial wave packet.

I verified this result numerically using an FFT-based propagation method. You can play the scattering animation with the potential_step.py script found here. We start with a wave packet approaching a step potential:

After a certain amount of time, the wave packet will strike the barrier and split in two:

The two packets will then separate over time:

The following chart demonstrates the accuracy of the formula derived by McKagan et al.:

The main advantage of the wave packet approach is that the tunneling/reflection probabilities are obtained directly through standard “vanilla” quantum mechanics methods – just integrate the wave function in the region of interest! To me, this is much better than messing around with plane waves.

I recently hacked up a simulation of one of the simplest quantum dynamics problems – propagating a free particle in time. In the process, I came to appreciate something about the use of Fourier transforms in quantum dynamics that I did not previously understand. You can see how the wave function of the particle spreads out over time, like it is supposed to, but eventually develops a strange wave pattern that should not exist:

The free particle is a surprisingly interesting case in quantum mechanics because it has no stationary states; the solutions to the time-independent Schrodinger equation for the free particle are not normalizable, and thus do not correspond to physically realizable states. In practice, we obtain a wave mechanics description of the free particle that matches our classical intuition of a billiard ball flying through space by using a wave packet, an expansion in plane waves:

Often in quantum mechanics one will see these types of expressions written with transformed using the de Broglie relation , but we will ignore those details here.

A particularly useful type of wave packet is the Gaussian wave packet:

Because the momentum distribution corresponding to this wave packet is also a Gaussian, the Gaussian wave packet matches our classical ideas of a particle moving through space with position and momentum that are both known to within some uncertainty.

How do we know that the electrons emitted from some source are described by a Gaussian wave packet, and not any other type of function? Well, we can measure the momentum distribution of the particles when they hit the detector. There is experimental and theoretical evidence that thermionic electrons obey a Gaussian momentum distribution. The momentum operator commutes with the free-particle Hamiltonian, and we thus know that the momentum-space wave function of the particle (and thus the position-space wave function as well), was always Gaussian along its trajectory to the detector.

We propagate this Gaussian in time by using the standard rearrangement of the time-dependent Schrodinger equation for a time-independent Hamiltonian:

The simplicity of our Hamiltonian allows easy application of the propagator operator on the right-hand side using the plane-wave expansion of our wave function:

The really cool part is that the momentum-space wave function can be computed easily by sampling values of the position space wave function along our interval and using the standard discrete Fourier transform numerical method to calculate the coefficients of the plane waves. We can see that the momentum space wave function calculated this way matches the exact result, and is constant in time as it should be:

However, having never worked in signal processing, I had never really pondered the nature of the object yielded by the DFT. While the analytic FT yields a perfect representation of an aperiodic function, the DFT performed over any finite interval yields a representation with a period equal to the length of the interval.

This means that when we evolve the wave packet in time, what we really do is evolve an infinite number of evenly-spaced wave packets. This comes with the territory of using the inverse Fourier transform to generate our position-space wave function at each time step – the result is intrinsically periodic:

We don’t get the choice of ignoring these other images. This can cause problems when the wave packet develops a significant amplitude near the edges of the interval, as the wave packet images outside of our interval begin to “bleed” into it, corrupting our wave function.

After noticing this effect, I made a quick proof-of-concept demonstration. We begin by initializing a Gaussian wave packet in the center of our interval and propagating it in time:

If we apply the Fourier transform and inverse Fourier transform in the course of propagating for one step, we can see that if we plot our new wave function on a larger interval, it has become periodic:

Running the simulation out further causes interference between the images to develop:

In practice, this effect is avoid by increasing the size of the box. In some cases, such as when modeling a truly periodic chemical system such as a crystal, the periodicity of the Fourier representation confers a great advantage.

The code used to make all of these plots is on GitHub.

Lagrange interpolation is one of the coolest numerical methods that I have ever studied; there is much beauty in its sublime simplicity. In the post I want to discuss the basic idea of the technique as well as a problem with the technique that has been missing from the textbooks that I have consulted thus far. We wish to solve the following problem: given some function , can we construct a convenient approximate polynomial that reproduces the exact value of at some set of points . Lagrange approached this problem by approximating as a linear combination of its values at the interpolation points:

Examining this functional form, we can see that in order to satisfy our requirement that , we need our functions to satisfy the following conditions:

Lagrange constructed the following functions to satisfy these conditions:

You can verify that this function satisfies the requirements above. For a cool illustration of how well this process can work, consider the figure below:

You can see that as we use more and more interpolation points, our result systematically converges toward the function that we are approximating:

Runge’s Phenomenon

An interesting property of Lagrange interpolation is that adding more interpolation points, and thus using a higher-degree polynomial to approximate our function, can actually lead to worse accuracy in some cases. This problem is known as Runge’s Phenomenon, and is illustrated in the figure below:

As you can see, we no longer obtain well-behaved convergence with higher-order polynomials:

This problem can be ameliorated by the use of better interpolation points such as the Chebyshev nodes, which I will discuss in a future post. The source code used to prepare these plots is available on my github.