Repository logo

Infoscience

  • English
  • French
Log In
Logo EPFL, École polytechnique fédérale de Lausanne

Infoscience

  • English
  • French
Log In
  1. Home
  2. Academic and Research Output
  3. Journal articles
  4. TimeEvolver: A program for time evolution with improved error bound
 
research article

TimeEvolver: A program for time evolution with improved error bound

Michel, Marco
•
Zell, Sebastian  
August 1, 2022
Computer Physics Communications

We present TimeEvolver, a program for computing time evolution in a generic quantum system. It relies on well-known Krylov subspace techniques to tackle the problem of multiplying the exponential of a large sparse matrix iH, where His the Hamiltonian, with an initial vector v. The fact that His Hermitian makes it possible to provide an easily computable bound on the accuracy of the Krylov approximation. Apart from effects of numerical roundoff, the resulting a posteriori error bound is rigorous, which represents a crucial novelty as compared to existing software packages such as Expokit[1]. On a standard notebook, TimeEvolverallows to compute time evolution with adjustable precision in Hilbert spaces of dimension greater than 10(6)

Program summary

Program Title: TimeEvolver

CPC Library link to program files: https://doi.org/10.17632/vvwvng9w36.1

Code Ocean capsule: https://codeocean.com/capsule/8431379 Developer's repository link: https://github.com/marco-michel/TimeEvolver

Licensing provisions: MIT

Programming language: C++

Supplementary material: An example which demonstrates the computation of time evolution in a concrete physical system.

Nature of problem: Computing time evolution in a generic physical quantum system can be reduced to the numerical task of calculating exp(-iHt)v. Here His the Hamiltonian matrix, which is large and sparse, icorresponds to the imaginary unit, tdenotes time and the vector vrepresents the initial state. A program is needed to perform this computation efficiently. Since the use of approximation methods is unavoidable, it is important to quantify as rigorously as possible the resulting error. Moreover, in order to facilitate the application to various problems in physics, additional functionalities are needed, in particular for forming the Hamiltonian matrix from a more abstract representation of the Hamiltonian operator. Solution method: The program employs known Krylov subspace methods for calculation the exponential of the large sparse matrix (- iHt) times the vector v. The Arnoldi algorithm is used to form the Krylov subspace and exponentiation of the resulting small matrix is achieved by diagonalization. The fact that (-iHt) is anti-Hermitian makes it possible to calculate the error of the Krylov approximation in terms of an easily-computable integral formula. This allows to choose a maximal size of the time step, after which the method is restarted and a new Krylov subspace is formed, while respecting an adjustable error bound. It is rigorous up to inaccuracies of a one-dimensional numerical integral and effects of finite machine precision, for which we also give an estimate. All linear algebra operations are performed with the Intel (R) Math Kernel Library and Boost is used for numerical integration. The methods for deriving the Hamiltonian matrix rely on a hashtable representation of Hilbert space. (c) 2022 The Author(s). Published by Elsevier B.V. This is an open access article under the CC BY license (http://creativecommons.org/licenses/by/4.0/).. Additionally, we provide routines for deriving the matrix Hfrom a more abstract representation of the Hamiltonian operator.

  • Details
  • Metrics
Type
research article
DOI
10.1016/j.cpc.2022.108374
Web of Science ID

WOS:000800026600013

Author(s)
Michel, Marco
Zell, Sebastian  
Date Issued

2022-08-01

Publisher

ELSEVIER

Published in
Computer Physics Communications
Volume

277

Article Number

108374

Subjects

Computer Science, Interdisciplinary Applications

•

Physics, Mathematical

•

Computer Science

•

Physics

•

numerical simulation

•

quantum mechanics

•

krylov subspace

•

time evolution

•

schrodinger equation

•

unitary operator

•

krylov subspace approximations

•

matrix

•

systems

Editorial or Peer reviewed

REVIEWED

Written at

EPFL

EPFL units
LPTP  
Available on Infoscience
June 20, 2022
Use this identifier to reference this record
https://infoscience.epfl.ch/handle/20.500.14299/188551
Logo EPFL, École polytechnique fédérale de Lausanne
  • Contact
  • infoscience@epfl.ch

  • Follow us on Facebook
  • Follow us on Instagram
  • Follow us on LinkedIn
  • Follow us on X
  • Follow us on Youtube
AccessibilityLegal noticePrivacy policyCookie settingsEnd User AgreementGet helpFeedback

Infoscience is a service managed and provided by the Library and IT Services of EPFL. © EPFL, tous droits réservés