Abstract
To use the short iterative Lanczos algorithm to solve the time-dependent Schroedinger equation, one must choose, for a given Lanczos space size, a time step. We compare the derivation of the well-known Lubich and Hochbruck time step from SIAM J. Numer. Anal. 34 (1997) 1911 with the a priori time step we proposed in Mohankumar and Carrington (MC) Comput. Phys. Commun., 181 (2010) 1859 and demonstrate that the MC time step is somewhat larger, i.e., that the MC error bound is tighter. In addition, we use the MC approach to derive an error bound and time step for imaginary time propagation. The error bound we derive is much tighter than the error bound of Stewart and Leyk.
1. Introduction
The short iterative Lanczos (SIL) algorithm [1] for solving the time-dependent Schroedinger equation (TDSE) (in atomic units),
is widely used in chemical physics and other fields. To solve the TDSE, the first step is to represent and in a (here orthonormal) basis, to obtain,
where
and
solving the TDSE enables one to compute photodissociation cross section, rate constants, etc. [2,3,4,5,6,7]. To use SIL, Equation (2) is solved by writing , and computing
where is the matrix of m Lanczos vectors,
and is a tridiagonal matrix,
Note that
The notation used here is the same as the notation of [8]. m is small enough that loss of orthogonality of the Lanczos vectors is unimportant. In this paper, we shall assume that is the Lanczos starting vector. In that case
To use the SIL algorithm, one chooses a value of m, propagates from to , and then uses as the starting vector and propagates again from to , etc. For a fixed m, small enough that loss of orthogonality is not a problem, one must choose . It is advantageous to make as large as possible, but must be chosen so that the size of the error at each step is acceptably small. Mathematicians tend to be familiar with the approach of Lubich (L) and Hochbruck [9,10,11] for choosing .
In 2010, we (Mohankumar and Carrington—MC) derived a slightly different equation for choosing [8]. In this paper, we compare the derivations of the Lubich and MC equations and show that is somewhat larger than and therefore that using reduces the cost of propagating. In addition, we derive and test a new equation for for propagating in imaginary time.
2. Comparing the Derivations
2.1. Common Starting Point
Although the L and MC equations for are very similar, their derivations are different. Both derivations begin with a link between an error bound for a Lanczos approximation to a function of a matrix applied to a vector and an error for an approximation of the same function by a polynomial of a certain degree. In [8], we began with a result of Stewart and Leyk [12]. It is very similar to Theorem 2.9 of [9]. According to Theorem 2.9. for any complex-valued function f defined on an interval that contains the eigenvalues of the Hermitian matrix , the error of the Lanczos approximation to is bounded by
Here, is a unit vector and the infimum is taken over all polynomials of degree at most . The corresponding lemma of Stewart and Leyk (Lemma 2, [12]) is similar, but derived differently, using the min–max theorem for symmetric matrices. It is
where
and and are the minimum and maximum eigenvalues of .
2.2. Lubich Derivation
Lubich combines his Theorem 2.9 with a bound on (his Theorem 2.2) to derive a bound on the error. He finds that for any Hermitian matrix, , all of whose eigenvalues are in the interval , the error of the Lanczos method is bounded by
where be a vector of unit Euclidean norm. is derived by setting , replacing the above inequality by an equality, and solving iteratively the following equation
where .
2.3. Mohankumar–Carrington Derivation
In Equation (11), it is the difference of the exact function and the polynomial (here a Chebyshev polynomial) of degree that appears. We therefore need an estimate of the remainder . Since the modulus of cannot exceed unity, we get
In the Appendix A, we show that
3. Test Calculations for Real-Time Propagation
To test the ideas, we propagated a Gaussian wave packet in a 1D harmonic potential. The Hamiltonian (atomic units are used) is
where and , corresponding to a wavenumber of 60 cm. The starting wave packet is displaced from equilibrium by :
The exact solution is known [14],
The Hamiltonian matrix was constructed using the sinc discrete variable representation (DVR) of [15]. The size of the matrix is 80. We set . The DVR points are between −550 and +550 bohr. The spectral range is hartree.
Absolute values of relative errors in the propagated wave packet are shown in Table 1. The errors are at the values of x in the first column. There is one pair of columns for each . The first member of a pair contains errors computed with the MC time step; the second member of a pair contains errors computed with the L time step. The MC time step is somewhat larger, but the MC and L errors are comparable. Both errors are small. The total time for which the wave packet is propagated is approximately the same for an MC and L column with the same . Table 2 gives , , and the percentage increase for several values. When , is about larger.
Table 1.
Results of the comparison of the time-step criteria.
Table 2.
Comparison of time-step sizes.
4. Imaginary Time Propagation
It is sometimes necessary to compute , where is a real matrix. This is done, for example, to compute the ground state of a quantum system [16]. Using the Chebyshev approach, we can derive an error bound for the imaginary time propagation.
4.1. An Error Bound from a Geometric Series
It is straightforward to derive a Chebyshev expansion of , where is real, , and x is between −1 and +1. The expansion coefficients are obtained from the integral [17]
where is a modified Bessel function of the first kind. The expansion is
where
To use Equation (10) to bound , we use a Chebyshev expansion of . Both and z are real. The expansion is obtained by mapping z onto x, using . We find,
If we truncate the series after , then the remainder is
Hence, the bound on is
If the argument of is real, then (9.6.3, Abramowitz and Stegun, page 375 [18]),
We now use the asymptotic expression for (Abramowitz and Stegun, 9.3.1 [18]):
When , the sum in Equation (27) is therefore bounded by a geometric series (as is true for the real-time case)
and itself is bounded by
The geometric series converges only if . Including the factor of two in Equation (10), we find that the error bound is
This is much simpler than the bound given by Stewart and Leyk [12].
4.2. An Error Bound from the First Term in Equation (27)
4.3. Test Calculations
For the case , where is real and symmetric (which corresponds to imaginary time propagation), we tested Equations (32) and (33) using the diagonal matrix , used to test the error bound of SL [12]. Its elements are , , and , where is a uniformly distributed random number between 0 and 1. The minimum and maximum diagonal entries are and , which are also the minimum and maximum eigenvalues. We calculate the Lanczos approximation for , where is a column vector of unit norm. It is , where and (notation of Equation (6)). In Table 3, we give exact values of Q for various values of and c, and also the errors calculated with Equation (30) and Equation (33). Note that here . When c is large, the condition is not satisfied and we cannot sum the geometric series that leads to the error . The corresponding entries in the table are missing. According to Table 3, the bound is conservative and the bound given by Equation (33) is quite good. Both the error bounds we derive are much tighter than the error bound of Stewart and Leyk (their Equation (23)).
5. Conclusions
In this paper, we review and contrast two approaches [8,9] for bounding the error of a Lanczos approximation to , where is a real matrix, t is a real constant, and is a real vector. In physics applications, t is the time. Once an error bound has been found, it is straightforward to derive an equation for the best time step to use. The time step obtained from the MC approach [8] is slightly larger. This means that the cost of the the propagation with the MC time step is slightly less. In addition, we used the MC approach to derive an error bound (and time step) for the case when t in is imaginary. The derivation is much simpler than the previous derivation in [12] and the error bound is much tighter.
Author Contributions
N.M. and T.C. discussed and developed the ideas. N.M. did all the numerical tests.
Funding
This research was funded by Canadian Natural Sciences and Engineering Research Council 78152.
Acknowledgments
We are grateful for the support of Canadian Natural Sciences and Engineering Research Council.
Conflicts of Interest
The authors declare no conflict of interest.
Appendix A
We use Equation (16)
to derive Equation (17), the error bound for real-time propagation. Here, n is a positive integer and x is real positive value. This relation has not previously been proved. The standard result for the bound on the Bessel function is (Equations 9.1.62 in Ref. [18])
where z is complex. When is a positive integer and is real, Equation (A1) reduces to
An exact expression for is given by [19]
for some in the range
Since , the two equations above imply
Surprisingly, the RHS is exactly equal to the usual asymptotic relation for Bessel functions (Equations 9.3.1 in Ref. [18]).
References
- Park, T.J.; Light, J.C. Light, Unitary quantum time evolution by iterative Lanczos reduction. J. Chem. Phys. 1986, 85, 5870. [Google Scholar] [CrossRef]
- Schinke, R. Photodissociation Dynamics; Cambridge University Press: Cambridge, UK, 1993. [Google Scholar]
- Wyatt, R.E.; Zhang, J.Z.H. (Eds.) Dynamics of Molecules and Chemical Reaction; Marcel Dekker: New York, NY, USA, 1996. [Google Scholar]
- Gray, S.K.; Balint-Kurti, G.G. Quantum dynamics with real wave packets, including applica- tion to three-dimensional (J=0)D+H2→HD+H(J=0)D+H2→HD+H reactive scattering. J. Chem. Phys. 1998, 108, 950. [Google Scholar] [CrossRef]
- Park, T.J.; Light, J.C. Quantum flux operators and thermal rate constant: Collinear H+H2. J. Chem. Phys. 1988, 88, 4897. [Google Scholar] [CrossRef]
- Wei, H.; Carrington, T. A time-dependent calculation of the alignment and orientation of the CN fragment of the photodissociation of ICN. J. Chem. Phys. 1996, 105, 141. [Google Scholar] [CrossRef]
- Miller, S.M.; Carrington, T. Calculation of reaction probabilities using wavepackets. Chem. Phys. Lett. 1997, 267, 417. [Google Scholar] [CrossRef]
- Mohankumar, N.; Carrington, T., Jr. A new approach for determining the time step when propagating with the Lanczos algorithm. Comput. Phys. Commun. 2010, 181, 1859. [Google Scholar] [CrossRef]
- Lubich, C. From Quantum to Classical Molecular Dynamics: Reduced Models and Numerical Analysis; European Mathematical Society: Zurich, Switzerland, 2008. [Google Scholar]
- Hochbruck, M.; Lubich, C.; Selhofer, H. Exponential integrators for large systems of differential equations. SIAM J. Sci. Comput. 1998, 19, 1552. [Google Scholar] [CrossRef]
- Hochbruck, M.; Lubich, C. On Krylov Subspace Approximations to the Matrix Exponential Operator. SIAM J. Numer. Anal. 1997, 34, 1911. [Google Scholar] [CrossRef]
- Stewart, D.E.; Leyk, T.S. Error estimates for Krylov subspace approximations of matrix expo-nentials. J. Comput. Appl. Math. 1996, 72, 359. [Google Scholar] [CrossRef][Green Version]
- Tal-Ezer, H.; Kosloff, R. An accurate and efficient scheme for propagating the time dependent Schrdinger equation. J. Chem. Phys. 1984, 81, 3967. [Google Scholar] [CrossRef]
- Schiff, L.I. Quantum Mechanics, 3rd ed.; McGraw-Hill: New York, NY, USA, 1968; p. 74. [Google Scholar]
- Colbert, D.; Miller, W.H. A novel discrete variable representation for quantum mechanical reactive scattering via the S-matrix Kohn method. J. Chem. Phys. 1992, 96, 1982. [Google Scholar] [CrossRef]
- Kosloff, R.; Tal-Ezer, H. A direct relaxation method for calculating eigenfunctions and eigenvalues of the schrdinger equation on a grid. Chem. Phys. Lett. 1986, 127, 223–230. [Google Scholar] [CrossRef]
- Prudnikov, A.P.; Brychkov, Y.A.; Marichev, O.I. (Eds.) Integrals and Series; Gordon and Breach: New York, NY, USA, 1992; Volume 2, p. 453. [Google Scholar]
- Abramowitz, M.; Stegun, I.A. Handbook of Mathematical Functions; Dover: New York, NY, USA, 1965. [Google Scholar]
- Robbins, H. A Remark on Stirling’s Formula. Am. Math. Mon. 1955, 62, 26. [Google Scholar] [CrossRef]
© 2019 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).