Pseudo-spectral method

Missing image
Pseudo-spectral.PNG
Gaussian wavepacket scattering off square well — simulation using pseudo-spectral method

The pseudo-spectral method is a method in computational physics used for direct simulation of a particle with an arbitrary wavefunction interacting with an arbitrary potential.

Contents

Background

The Schrödinger wave equation,

<math>H \psi(\mathbf{r},t) = i \hbar \frac{\partial}{\partial t} \psi(\mathbf{r},t) <math>

can be written

<math>\frac{H}{i \hbar} \psi(\mathbf{r},t) = \frac{\partial}{\partial t} \psi(\mathbf{r},t) <math>

which bears remarkable resemblance to the linear ordinary differential equation

<math>r f(t) = \frac{d}{dt} f(t) <math>

with solution

<math>f(t) = A e^{r t} \,\!<math>

In fact, using the theory of linear operators, it can be shown that the general solution to the Schrödinger wave equation is

<math> \psi(\mathbf{r},t) = e^{-i H t / \hbar} \psi(\mathbf{r},0) <math>

where exponentiation of operators is defined using power series. Now remember that

<math>H = T + V \,\!<math>

where the kinetic energy, <math>T<math> , is given by

<math> T = \frac{p^2}{2 m} = - \frac{\hbar^2}{2m} \nabla^2 <math>

and the potential energy, <math>V<math> often depends only on position, written <math>V(\mathbf{r})<math>. We can write

<math> \psi(\mathbf{r},t) = e^{-i (T + V(\mathbf{r})) t / \hbar} \psi(\mathbf{r},0) <math>

It is tempting to write

<math> \psi(\mathbf{r},t) = e^{-i T t / \hbar} e^{-i V(\mathbf{r}) t / \hbar}\psi(\mathbf{r},0) <math>

so that we may treat each factor separately. However, this is only true if the operators <math>T<math> and <math>V(\mathbf{r})<math> commute, which is not true in general. Luckily, it turns out that

<math> \psi(\mathbf{r},t) \approx e^{-i V(\mathbf{r}) t / 2 \hbar} e^{-i T t / \hbar} e^{-i V(\mathbf{r}) t / 2 \hbar}\psi(\mathbf{r},0) <math>

is a good approximation for small values of <math>t<math>. This is known as the symmetric decomposition. The heart of the pseudo-spectral method is using this approximation iteratively to calculate the wavefunction <math>\psi(\mathbf{r},t) <math> for arbitrary values of <math>t<math>.

The method

For simplicity, we will consider the one-dimensional case. The method is readily extended to multiple dimensions.

Given <math>\psi(x,t) <math>, we wish to find <math>\psi(x,t + \Delta t) <math> where <math>\Delta t<math> is small. The first step is to calculate an intermediate value <math>\phi_{1}(x)<math> by applying the rightmost operator in the symmetric decomposition,

<math> \phi_{1}(x) = e^{-i V(\mathbf{r}) \Delta t / 2 \hbar}\psi(x,t) <math>

This requires only a pointwise multiplication. The next step is to apply the middle operator,

<math> \phi_{2}(x) = e^{-i T \Delta t / \hbar} \phi_{1}(x) <math>

This is an infeasible calculation to make in configuration space. Fortunately, in momentum space, the calculation is greatly simplified. If <math> \Phi_{1}(k)<math> is the momentum space representation of <math>\phi_{1}(x)<math>, then

<math> \Phi_{2}(k) = e^{i \hbar k^{2} \Delta t / 2 m} \Phi_{1}(k) <math>

which also requires only a pointwise multiplication. Numerically, <math>\Phi_{1}(k)<math> is obtained from <math> \phi_{1}(x) <math> using the Fast Fourier transform (FFT) and <math> \phi_{2}(x) <math> is obtained from <math> \Phi_{2}(k) <math> using the inverse FFT.

The final calculation is

<math>\psi(x,t + \Delta t) = e^{-i V(\mathbf{r}) \Delta t / 2 \hbar}\phi_{2}(x) <math>

This sequence can be summarized as

<math>\psi(x,t + \Delta t) = e^{-i V(\mathbf{r}) \Delta t / 2 \hbar} \mathcal{F}^{-1} [e^{i \hbar k^{2} \Delta t / 2 m} \mathcal{F} [e^{-i V(\mathbf{r}) \Delta t / 2 \hbar}\psi(x,t)] ] <math>

Analysis of algorithm

If the wavefunction is approximated by its value at <math>n<math> distinct points, each iteration requires 3 pointwise multiplications, one FFT, and one inverse FFT. The pointwise multiplications each require <math>O(n)<math> effort, and the FFT and inverse FFT each require <math>O(n \lg n)<math> effort. The total computational effort is therefore determined largely by the FFT steps, so it is imperative to use an efficient (and accurate) implementation of the FFT. Fortunately, many are freely available.

Error analysis

The error in the pseudo-spectral method is overwhelmingly due to discretization error.

Needed: a more in-depth error analysis

Navigation

  • Art and Cultures
    • Art (https://academickids.com/encyclopedia/index.php/Art)
    • Architecture (https://academickids.com/encyclopedia/index.php/Architecture)
    • Cultures (https://www.academickids.com/encyclopedia/index.php/Cultures)
    • Music (https://www.academickids.com/encyclopedia/index.php/Music)
    • Musical Instruments (http://academickids.com/encyclopedia/index.php/List_of_musical_instruments)
  • Biographies (http://www.academickids.com/encyclopedia/index.php/Biographies)
  • Clipart (http://www.academickids.com/encyclopedia/index.php/Clipart)
  • Geography (http://www.academickids.com/encyclopedia/index.php/Geography)
    • Countries of the World (http://www.academickids.com/encyclopedia/index.php/Countries)
    • Maps (http://www.academickids.com/encyclopedia/index.php/Maps)
    • Flags (http://www.academickids.com/encyclopedia/index.php/Flags)
    • Continents (http://www.academickids.com/encyclopedia/index.php/Continents)
  • History (http://www.academickids.com/encyclopedia/index.php/History)
    • Ancient Civilizations (http://www.academickids.com/encyclopedia/index.php/Ancient_Civilizations)
    • Industrial Revolution (http://www.academickids.com/encyclopedia/index.php/Industrial_Revolution)
    • Middle Ages (http://www.academickids.com/encyclopedia/index.php/Middle_Ages)
    • Prehistory (http://www.academickids.com/encyclopedia/index.php/Prehistory)
    • Renaissance (http://www.academickids.com/encyclopedia/index.php/Renaissance)
    • Timelines (http://www.academickids.com/encyclopedia/index.php/Timelines)
    • United States (http://www.academickids.com/encyclopedia/index.php/United_States)
    • Wars (http://www.academickids.com/encyclopedia/index.php/Wars)
    • World History (http://www.academickids.com/encyclopedia/index.php/History_of_the_world)
  • Human Body (http://www.academickids.com/encyclopedia/index.php/Human_Body)
  • Mathematics (http://www.academickids.com/encyclopedia/index.php/Mathematics)
  • Reference (http://www.academickids.com/encyclopedia/index.php/Reference)
  • Science (http://www.academickids.com/encyclopedia/index.php/Science)
    • Animals (http://www.academickids.com/encyclopedia/index.php/Animals)
    • Aviation (http://www.academickids.com/encyclopedia/index.php/Aviation)
    • Dinosaurs (http://www.academickids.com/encyclopedia/index.php/Dinosaurs)
    • Earth (http://www.academickids.com/encyclopedia/index.php/Earth)
    • Inventions (http://www.academickids.com/encyclopedia/index.php/Inventions)
    • Physical Science (http://www.academickids.com/encyclopedia/index.php/Physical_Science)
    • Plants (http://www.academickids.com/encyclopedia/index.php/Plants)
    • Scientists (http://www.academickids.com/encyclopedia/index.php/Scientists)
  • Social Studies (http://www.academickids.com/encyclopedia/index.php/Social_Studies)
    • Anthropology (http://www.academickids.com/encyclopedia/index.php/Anthropology)
    • Economics (http://www.academickids.com/encyclopedia/index.php/Economics)
    • Government (http://www.academickids.com/encyclopedia/index.php/Government)
    • Religion (http://www.academickids.com/encyclopedia/index.php/Religion)
    • Holidays (http://www.academickids.com/encyclopedia/index.php/Holidays)
  • Space and Astronomy
    • Solar System (http://www.academickids.com/encyclopedia/index.php/Solar_System)
    • Planets (http://www.academickids.com/encyclopedia/index.php/Planets)
  • Sports (http://www.academickids.com/encyclopedia/index.php/Sports)
  • Timelines (http://www.academickids.com/encyclopedia/index.php/Timelines)
  • Weather (http://www.academickids.com/encyclopedia/index.php/Weather)
  • US States (http://www.academickids.com/encyclopedia/index.php/US_States)

Information

  • Home Page (http://academickids.com/encyclopedia/index.php)
  • Contact Us (http://www.academickids.com/encyclopedia/index.php/Contactus)

  • Clip Art (http://classroomclipart.com)
Toolbox
Personal tools