Abstract

In this article, I present a very fast and high-precision (up to 33 decimal places) C++ implementation of the semi-global time propagation algorithm for a system of coupled Schrödinger equations with a time-dependent Hamiltonian. It can be used to describe time-dependent processes in molecular systems after excitation by femto- and attosecond laser pulses. It also works with an arbitrary user supplied Hamiltonian and can be used for nonlinear problems. The semi-global algorithm is briefly presented, the C++ implementation is described and five sample simulations are shown. The accompanying C++ source code package is included. The high precision benchmark (long double and float128) shows the estimated calculation costs. The presented method turns out to be faster and more accurate than the global Chebyshev propagator. Program summaryProgram Title: SemiGlobalCppCPC Library link to program files:https://doi.org/10.17632/429rszyc65.1Developer's repository link:http://gitlab.com/cosurgi/SemiGlobalCppLicensing provisions: GNU General Public License 2Programming language: C++Nature of problem: The femto- and attosecond chemistry requires fast and high precision computation tools for quantum dynamics. Conventional software has problems with providing high precision calculation results (up to 33 significant digits), especially when the computation has to be as fast as possible.Solution method: This software fills in the gap by providing the semi-global algorithm [1–3] for arbitrary number of coupled electronic states for the time dependent Hamiltonian and nonlinear inhomogeneous source term. It is implemented in a way that allows computation with precision of 15, 18 or 33 significant digits, where the computation speed can be directly controlled by setting the required error tolerance. The semi-global algorithm [1–3] is implemented in C++ providing a 10× speed boost compared to original publication of semi-global algorithm implemented in Matlab/Octave [1–3].

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.