AJCMAmerican Journal of Computational Mathematics2161-1203Scientific Research Publishing10.4236/ajcm.2015.53027AJCM-59427ArticlesPhysics&Mathematics Simulation of Time-Dependent Schrödinger Equation in the Position and Momentum Domains ichaelJennings1*Chicago, IL, USA* E-mail:jenm.79@gmail.com2008201505032913032 August 2015accepted 4 September 7 September 2015© Copyright 2014 by authors and Scientific Research Publishing Inc. 2014This work is licensed under the Creative Commons Attribution International License (CC BY). http://creativecommons.org/licenses/by/4.0/

The paper outlines the development of a new, spectral method of simulating the Schr &ouml;dinger equation in the momentum domain. The kinetic energy operator is approximated in the momentum domain by exploiting the derivative property of the Fourier transform. These results are compared to a position-domain simulation generated by a fourth-order, centered-space, finite-difference formula. The time derivative is approximated by a four-step predictor-corrector in both domains. Free-particle and square-well simulations of the time-dependent Schr &ouml;dinger equation are run in both domains to demonstrate agreement between the new, spectral methods and established, finite-difference methods. The spectral methods are shown to be accurate and precise.

Schr&ouml;dinger Equation Predictor-Corrector Fourier Transform Momentum Domain
1. Introduction

This paper outlines the development of simulations of the time-dependent Schrödinger equation produced in both position and momentum domains. In the position domain this is the x-y plane. In the momentum domain this is the kx-ky plane, as it is the Fourier transform of the position domain  . The simulations demonstrate the accuracy of the spectral methods used in the momentum domain.

All simulations are advanced in time using a four-step predictor-corrector method. The predictor-corrector can be applied independently in both position and momentum domains to step the simulation forward in time. The predictor-corrector is generated using Lagrange polynomials, outlined by  and  . The predictor formula found here is shown to be consistent with established Adams-Bashforth formulas  .

The position-domain approximation of the kinetic energy operator is derived using Lagrange polynomials and consistent with results from  . In the position domain the approximation to the kinetic energy operator is fourth-order accurate. In the momentum domain, the kinetic energy operator approximation is global-order accurate because it relies on the derivative property of the Fourier transform  . The software written to ge- nerate these simulations uses the Fastest Fourier Transform in the West (FFTW) to transform between position and momentum domains  . Simulating the time-dependent Schrödinger equation in the momentum domain achieves higher orders of spatial accuracy. The performance and precision of momentum-domain simulations is comparable to position-domain simulations.

Given an initial state at, the four-step predictor-corrector requires the creation of for in order to compute the first predictor-corrector time-step. A simple backwards Euler method, outlined in  ,  - , is used to generate the wave function at these early time-steps. Each of these early states for is re-normalized after their creation to ensure minimum initial error.

The first simulation is a free particle with no imposed boundary conditions, when the Hamiltonian consists only of the kinetic energy operator. This simulation demonstrates the difference in boundary conditions of each domain. In the position domain, this is equivalent to an infinite square-well potential, or particle-in-a-box. When the wave function reaches one boundary, it is reflected back. In the momentum domain, this is equivalent to periodic boundary conditions. When the wave function disappears into one boundary it will reappear in the opposite boundary, travelling in the same direction. This is to establish a relative performance benchmark when only the kinetic energy operator is applied.

Second, a finite square-well potential of 100 eV is imposed in both domains. This simulation demonstrates the computational burden associated with imposing the same initial and boundary conditions in both domains. Application of the potential function in the position domain is carried out by entry-wise multiplication of the wave function and potential function lattices. In the momentum domain, this operation is equivalent to convolution. Rather than carry out this time-consuming operation, the wave function in the momentum domain is transformed back to the position domain at every time-step in the simulation in order to apply the potential function. The kinetic energy operator is applied when the wave function has been transformed forward into the momentum domain.

Each of the simulations begins with an initial state of a two-dimensional wave packet with a Gaussian envelope. The simulations are stepped forward in time and the complex-valued wave function components and densities, as well as some expectation values, are captured incrementally. The wave function components and densities are converted to image format and animated  .

2. Methods

The following subsections outline the numerical methods used to generate solutions to the Schrödinger equation.

2.1. Time Derivative

The same four-step predictor-corrector method is used to step the position and momentum domain simulations forward in time. The predictor and corrector start with the basic form of the differential equation. The substitutions and are made for the following formulas. A four-step predictor-corrector requires five equally-spaced sample points in time. The leading, or current step is. The sample points are distributed in time according to for and a fixed.

2.1.1. Predictor

The predictor uses the integral form of the differential equation.

The function f is approximated by Lagrange polynomials  . Once the polynomial approximation to f has been substituted, the integral is straightforward to compute. This yields Adams-Bashforth coefficients which calculate the predicted value  .

2.1.2. Corrector

The corrector uses the original form of the differential equation.

For the corrector, y is approximated by Lagrange polynomials  . Once the polynomial approximation to y has been substituted, the first derivative is straightforward to compute. This yields the following coefficients which calculate the value.

The predicted value is substituted for in the function to get.

2.1.3. Application to the Schrödinger Equation

In the position domain, the Schrödinger equation is written as follows using operator notation as shorthand. The Hamiltonian operator is written with a P superscript to denote the position domain and with superscript M to denote the momentum domain.

At every time step, the predictor calculation is carried out.

That result is plugged in to the corrector calculation to advance the simulation forward one time-step.

The following sections outline the development of the Hamiltonian operator in the position domain and in the momentum domain.

2.2. Free Particle, Kinetic Energy Operator

The first simulations in the position and momentum domains assume free particle conditions. The particle is given the mass of an electron. Only the kinetic energy operator applies in the Hamiltonian.

Before the simulations are started, the position- and momentum-domain lattices must be constructed. This requires fixing the position-domain step sizes and as well as the number of columns and

number of rows. It is also helpful to define an origin point, and. The position domain

is defined by for and for. The reversal

of the y-direction accounts for the fact that computer storage increments the row index as the row moves down.

The momentum domain lattices are constructed according to the relationship. The momentum domain is defined by for and for. The

high frequencies have been shifted into the negative frequencies. Use of the FFTW library requires applying a phase-shift to the position domain before transforming into the momentum domain if negative frequencies are used instead of high frequencies  .

2.2.1. Position Domain

The approximation to the kinetic energy operator in the position domain was generated using Lagrange polynomials. This was accomplished by approximating the second derivative in one dimension, as the same formula can be applied to all dimensions. This is a centered-space formula accurate to fourth order, requiring five sample points. In terms of the generalized coordinate, the sample points for and a fixed describe the set of sample points centered around. For a function, where, the polynomial approximation to is substituted and the second derivative is calculated. This procedure yields the following approximation to the Laplacian operator:

The real and imaginary parts of the wave function are calculated independently, yielding a pair of coupled equations.

Denote spatial sample points with subscripts: and substitute the approximation to the Laplacian. The simulation can be stepped forward in time once the approximation to the Hamiltonian has been substituted into the predictor corrector formula.

2.2.2. Momentum Domain

The approximation to the kinetic energy operator in the momentum domain was generated using the transform of the derivative operator. Because the momentum domain is the Fourier transform of the position domain, the derivative operator is transformed as well. In terms of the generalized position-domain coordinate, let the

function be the Fourier transform of the function, where and is the ge- neralized momentum-domain coordinate.

The initial position-domain state is transformed forward into the momentum-domain state, where. The real and imaginary parts of are calculated independently,

yielding a pair of coupled equations. The simulation can be stepped forward in time once the approximation to the Hamiltonian has been substituted into the predictor corrector formula.

2.3. Square Well, Potential Energy Operator

A square-well potential was chosen to test the effectiveness and relative performance of the simulations of both domains, when the particle interacts with an electrostatic potential. The particle is again given the mass of an electron. For the purposes of this demonstration, the chosen potential must be high enough to reflect most of the particle off the potential step, back into the region where the potential is zero.

The lattice describing the potential must have the number of columns and number of rows. Before the simulations are started, it is helpful to choose a well boundary index constant and potential step size. Construction of the potential well will simply set the value of if the row or column index is

less than, if the row index is greater than or column index is greater than and elsewhere.

2.3.1. Position Domain

The application of the potential operator is straightforward in the position domain. The lattices representing the real and imaginary parts of the wave-function are multiplied entry-wise by the lattice representing the potential function. The simulation can be stepped forward in time once the approximation to the Hamiltonian has been substituted into the predictor corrector formula.

2.3.2. Momentum Domain

In the momentum domain, application of the potential operator transforms to the convolution operation, , where and * represents convolution  . Rather than carry out this computationally expensive operation, the operator is applied in the position domain. This requires transforming back and forth between the position and momentum domains at every time-step. Use of the predictor-corrector compli- cates this procedure somewhat, because the potential operator must be applied at the predictor step and the corrector step.

For simplicity and readability the procedure below does not write the state functions and decomposed into their real and imaginary components.

First, the potential operator is applied in the position domain and transformed to the momentum domain.

The kinetic energy operator is applied to and added to to produce the predictor Hamiltonian.

Following the example of Equation (8) in Section 2.1.3, the predictor formula is applied to produce the predicted value.

At the corrector step, apply only the kinetic energy operator to the predicted value to produce the corrector Hamiltonian.

Following the example of Equation (9) in Section 2.1.3, the corrector formula is applied to produce the corrected value.

Both the corrected value and the predicted value are transformed back to and. The potential energy operator is applied to the predicted value and added to.

3. Results

All simulations are run under the same constraints and initial conditions to illustrate similarities and differences in the particle’s position over time. The free particle simulations show differences in position due to the differences in boundary conditions between the two domains, despite having the same initial conditions. The square well simulations will show strong agreement in position due to the boundary conditions and initial conditions being the same. Regarding precision, all simulations were shown to be accurate to 8 decimal places. This value is stable for the duration of the simulations and was measured by finding the difference between the current state’s density function and 1.

The physical constants of electron mass, electron charge and Planck’s constant are given in standard units. This helps scale the simulations to real-world dimensions, although the simulated particles are much larger than real electrons to show detail. For the square-well simulations, the electrostatic potential is set to +100.0 eV, although this is also expressed in standard units. The well boundary is established at 20 index units inside the lattice boundaries.

The row and column sizes are set to for both position- and momentum-domain simulations. This sets the lattice sizes at a power of two for the FFTW. The geometric origin is set to, in index units. The lattice step sizes are set to meters. The time step is set to

seconds. Each simulation is run for 100,000 time steps. The lifetime of each simulation is 0.1 picoseconds. The components, densities and expectation values are measured and recorded every 500 time steps. This increment is referred to as a “frame” in the graphs below and each frame is equal to seconds.

All initial condition parameters are given in index units and the actual parameters are multiplied by the appropriate lattice step size. The initial conditions set the particle on the +x-axis at index +70.0, relative to the origin point and close to the vertical boundary at the end of the +x-axis. The particle is given positive momentum, which will propel the particle into the boundary. The particle’s spatial wavelength is set to 10.0 index units. The particle’s predicted velocity can be found by the conservation of momentum.

The initial velocity of the particle in all simulations is meters per second in the +x-direction. The initial momentum is therefore kilogram-meters per second. In units normalized by, as shown in the momentum domain simulations, the initial momentum is.

3.1. Free Particle

Based on the initial conditions and predicted velocity, the particle is expected to reach the boundary at time seconds, corresponding to the 64th frame of the simulation. The position-domain particle reflects off the boundary while the momentum-domain particle travels through the boundary and reappears in the opposite boundary, travelling in the same direction at the same velocity. Figure 1 charts the relative position along the x-axis of the position-and momentum-domain particles. The position is given by the expectation value. A marker has been placed at the 64th frame to show where the paths are expected to diverge.

Four free-particle animations are produced for the position domain. One overhead view and one cross- sectional view are produced for the finite-difference free-particle simulation and one overhead view and one cross-sectional view are produced for the spectral free-particle simulation.

Figure 2 shows the cross-sectional view of the free particle’s components and density produced by finite- difference methods. The cross-section is along the x-axis in the position domain.

Figure 3 shows the overhead view of the free particle’s position-domain density produced by finite-difference methods. The particle diffracts as it reflects off the boundary.

Figure 4 shows the cross-sectional view of the free particle’s components and density produced by spectral methods. The cross-section is along the x-axis in the position domain.

Comparing <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1100464x133.png" xlink:type="simple"/></inline-formula> of free particle produced by finite-difference and spectral methods Cross-sectional animation still at 64<sup>th</sup> frame of free particle simulation produced by finite-difference methods Overhead animation still at 64<sup>th</sup> frame of free particle simulation produced by finite-differ- ence methods Cross-sectional animation still at 64<sup>th</sup> frame of free particle simulation produced by spectral methods

Figure 5 shows the overhead view of the free particle’s position-domain density produced by spectral methods. The particle continues to diffuse in space as it pass through the boundary.

3.2. Square Well

Based on the initial conditions and predicted velocity, the particle is expected to reach the boundary at time seconds, corresponding to the 42nd frame of the simulation. The particles in both domains reflect off the boundary imposed by the electrostatic potential. Figure 6 charts the positions of the particles, given by the expectation value.

Overhead animation still at 64<sup>th</sup> frame of free particle simulation produced by spectral methods Comparing <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1100464x141.png" xlink:type="simple"/></inline-formula> of bound particle in square well produced by finite- difference and spectral methods3.2.1. Position Domain

Four square-well animations are produced for the position domain. One overhead view and one cross-sectional view are produced for the finite-difference square-well simulation and one overhead view and one cross- sectional view are produced for the spectral square-well simulation.

Figure 7 shows the cross-sectional view of the bound particle’s components and density produced by finite- difference methods. The cross-section is along the x-axis in the position domain.

Figure 8 shows the overhead view of the bound particle’s position-domain density produced by finite- difference methods. The particle diffracts as it reflects off the potential wall.

Figure 9 shows the cross-sectional view of the bound particle’s components and density produced by spectral methods. The cross-section is along the x-axis in the position domain.

Figure 10 shows the overhead view of the bound particle’s position-domain density produced by spectral methods. The particle diffracts as it reflects off the potential wall.

Cross-sectional animation still at 42<sup>nd</sup> frame of square well simulation produced by finite-difference methods Overhead animation still at 42<sup>nd</sup> frame of square well simulation produced by finite-difference methods Cross-sectional animation still at 42<sup>nd</sup> frame of square well simulation produced by spectral methods Overhead animation still at 42<sup>nd</sup> frame of square well simulation produced by spectral methods
3.2.2. Momentum Domain

One additional animation is produced for the momentum-domain, square-well simulation that shows the cross- sectional view of the momentum density function. The cross-section is taken along the axis. Figure 11 shows a cross-sectional view of the density function in the momentum domain at the 42nd frame. As the particle interacts with the electrostatic potential, the particle is reflected and reverses direction. In the momentum domain, this is indicated by the density function disappearing from the positive axis and reappearing on the negative axis.

Figure 12 illustrates this reversal of direction over time by measuring the expectation value. A marker has been placed at the 42nd frame indicating when the particle interacts with the boundary and reverses direction.

Cross-sectional, momentum-domain animation still at 42<sup>nd</sup> frame of square well simulation produced by spectral methods <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/8-1100464x150.png" xlink:type="simple"/></inline-formula>of bound particle in square well produced by spectral methods
4. Discussion

Momentum-domain simulations of the time-dependent Schrödinger equation provide precise and accurate results; however, the application of these techniques is not limited to the Schrödinger equation. The methods

described in this paper are also suitable to simulate the heat equation, where describes

temperature in space and time and is the thermal diffusivity. The spectral methods described here may be applied to any parabolic differential equation. The spectral methods also transform the Hartree-Fock operation in a many-body problem from convolution in the position domain to entry-wise multiplication in the momentum domain, although this application is not explored here due to resource constraints.

These simulations were produced on single-core, AMD Athlon X2 processor. The spectral methods demonstrated faster performance for the free-particle simulation, while the finite difference methods demonstrated faster performance for the square-well simulation. None of the simulations employed parallel computing techniques due to the limitations of the hardware. Multiple cores would allow multiple Fourier transforms to be calculated at the same time. Because the spectral-method, square-well simulation requires multiple Fourier transforms at every time step, introducing parallel computing techniques would increase performance substantially.

Acknowledgements

Thanks to Craig Unrein for proofreading assistance.

Cite this paper

MichaelJennings, (2015) Simulation of Time-Dependent Schrödinger Equation in the Position and Momentum Domains. American Journal of Computational Mathematics,05,291-303. doi: 10.4236/ajcm.2015.53027

ReferencesGriffiths, D.J. (2005) Introduction to Quantum Mechanics. 2nd Edition, Prentice Hall, New Jersey.Hamming, R.W. (1973) Numerical Methods for Scientists and Engineers. 2nd Edition, Dover, New York.Kahaner, D., Moler, C. and Nash, S. (1989) Numerical Methods and Software. Prentice Hall, Upper Saddle River.Moxley III, F.I., Zhu, F. and Dai, W. (2012) A Generalized FDTD Method with Absorbing Boundary Condition for Solving a Time-Dependent Linear Schr&ouml;dinger Equation. American Journal of Computational Mathematics, 2, 163-172. http://dx.doi.org/10.4236/ajcm.2012.23022Bracewell, R.N. (2000) The Fourier Transform and Its Applications. 3rd Edition, McGraw-Hill, Boston.Frigo, M. and Johnson, S.G. (2005) The Design and Implementation of FFTW3. Proceedings of the IEEE, 93, 216-231. http://dx.doi.org/10.1109/JPROC.2004.840301Askar, A. and Cakmak, A. (1978) Explicit Integration Method for the Time-Dependent Schr&ouml;dinger Equation for Collision Problems. Journal of Chemical Physics, 68, 2794-2798. http://dx.doi.org/10.1063/1.436072Maestri, J.J., Landau, R.H. and Páez, M.J. (2000) Two-Particle Schr&ouml;dinger Equation Animations of Wavepacket Wave-Packet Scattering. American Journal of Physics, 68, 1113-1119. http://dx.doi.org/10.1119/1.1286310Soriano, A., Navarro, E.A., Porti, J.A. and Such, V. (2004) Analysis of the Finite Difference Time Domain Technique to Solve the Schr&ouml;dinger Equation for Quantum Devices. Journal of Applied Physics, 95, 8011-8018. http://dx.doi.org/10.1063/1.1753661Sullivan, D.M. (2012) Quantum Mechanics for Electrical Engineers. John Wiley and Sons, Hoboken. http://dx.doi.org/10.1002/9781118169780Visscher, P. (1991) A Fast Explicit Algorithm for the Time-Dependent Schr&ouml;dinger Equation. Computers in Physics, 5, 596-598. http://dx.doi.org/10.1063/1.168415Chen, Z.D., Zhang, J.Y. and Yu, Z.P. (2009) Solution of the Time-Dependent Schr&ouml;dinger Equation with Absorbing Boundary Conditions. Journal of Semiconductors, 30, 012001-1-012001-6.Hunter, J.D. (2007) Matplotlib: A 2D Graphics Environment. Computing in Science & Engineering, 9, 90-95. http://dx.doi.org/10.1109/MCSE.2007.55
{"ft_lang_label":"__label__en","ft_lang_prob":0.8807372,"math_prob":0.914724,"size":23393,"snap":"2019-43-2019-47","text_gpt3_token_len":4728,"char_repetition_ratio":0.18072598,"word_repetition_ratio":0.17028137,"special_character_ratio":0.19651178,"punctuation_ratio":0.11815562,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.99128103,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2019-10-22T15:24:15Z\",\"WARC-Record-ID\":\"<urn:uuid:a2272be5-a85a-46f6-99d9-caed84cb546a>\",\"Content-Length\":\"69930\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:cc52efa8-9845-4dd1-816f-036024bf2765>\",\"WARC-Concurrent-To\":\"<urn:uuid:6c334337-369f-4de4-8859-fa50fdb50eee>\",\"WARC-IP-Address\":\"173.208.146.83\",\"WARC-Target-URI\":\"http://www.scirp.org/xml/59427.xml\",\"WARC-Payload-Digest\":\"sha1:H5CHQUAV7B4IXNHY3WH3ORGTRMPI62ZV\",\"WARC-Block-Digest\":\"sha1:7PKAF7IFVGYNSOPENN7YPKYUR3XY4DUE\",\"WARC-Identified-Payload-Type\":\"application/xml\",\"warc_filename\":\"/cc_download/warc_2019/CC-MAIN-2019-43/CC-MAIN-2019-43_segments_1570987822098.86_warc_CC-MAIN-20191022132135-20191022155635-00028.warc.gz\"}"}