QuantumDynamics.jl

Quantum dynamics simulation environment
Author amartyabose
Popularity
30 Stars
Updated Last
3 Months Ago
Started In
December 2022

Quantum Dynamics

Documentation Build Status Citation
Dev Run tests DOI

QuantumDynamics is an open-source software for the simulation of open quantum systems. Though written with performance in mind, QuantumDynamics provides a high throughput platform for experimentation with state-of-the-art approaches to method development.

The primary problem that QuantumDynamics is aimed at solving is the simulation of the dynamics of a relatively small quantum system coupled to a dissipative environment. Such a system-solvent decomposed problem can typically be represented by the Hamiltonian:

$$\hat{H} = \hat{H}_0 + \hat{H}_\text{env}$$

where \hat{H}_0 is the Hamiltonian of the isolated system and \hat{H}_\text{env} is the Hamiltonian corresponding to the environment and the interaction between the system and the environment.

As demonstrated in the tutorials and the example codes, QuantumDynamics provides some approximate methods for simulating the dynamics of the system. However, the goal of this package is to provide access to more state-of-the-art techniques based on path integrals, tensor networks and other ideas in such a manner that all of these methods can be used as far as possible in a composable manner.

Installation

The QuantumDynamics.jl package is registered. The installation can either be done by going into the Pkg REPL mode for Julia

~ julia
julia> ]
pkg> add QuantumDynamics

or by using the Pkg package manager in a script:

julia> using Pkg
julia> Pkg.add("QuantumDynamics")

This installs the latest stable release of QuantumDynamics.jl. Currently new features are being implemented quite regularly. The stable release may not always be up-to-date. Please add the bleeding edge release version to take advantage of the new features by adding the git repository:

~ julia
julia> ]
pkg> add https://github.com/amartyabose/QuantumDynamics.jl

Various parts of QuantumDynamics.jl depends on the BLAS and LAPACK libraries for efficient implementation of linear algebra routines. Julia generally uses OpenBLAS as a default implementation. The most common alternative is Intel's Math Kernel Library (MKL), which can be used with QuantumDynamics.jl by first installing MKL.jl. In the actual script, MKL.jl should be loaded before loading QuantumDynamics.jl:

julia> using MKL
julia> using QuantumDynamics

Citation

If you use QuantumDynamics in your work, please cite the QuantumDynamics.jl paper:

@article{10.1063/5.0151483,
    author = {Bose, Amartya},
    title = "{QuantumDynamics.jl: A modular approach to simulations of dynamics of open quantum systems}",
    journal = {The Journal of Chemical Physics},
    volume = {158},
    number = {20},
    year = {2023},
    month = {05},
    abstract = "{A simulation of the non-adiabatic dynamics of a quantum system coupled to dissipative environments poses significant challenges. New sophisticated methods are regularly being developed with an eye toward moving to larger systems and more complicated descriptions of solvents. Many of these methods, however, are quite difficult to implement and debug. Furthermore, trying to make the individual algorithms work together through a modular application programming interface can be quite difficult as well. We present a new, open-source software framework, QuantumDynamics.jl, designed to address these challenges. It provides implementations of a variety of perturbative and non-perturbative methods for simulating the dynamics of these systems. Most prominently, QuantumDynamics.jl supports hierarchical equations of motion and methods based on path integrals. An effort has been made to ensure maximum compatibility of the interface between the various methods. Additionally, QuantumDynamics.jl, being built on a high-level programming language, brings a host of modern features to explorations of systems, such as the usage of Jupyter notebooks and high level plotting, the possibility of leveraging high-performance machine learning libraries for further development. Thus, while the built-in methods can be used as end-points in themselves, the package provides an integrated platform for experimentation, exploration, and method development.}",
    issn = {0021-9606},
    doi = {10.1063/5.0151483},
    url = {https://doi.org/10.1063/5.0151483},
    note = {204113},
    eprint = {https://pubs.aip.org/aip/jcp/article-pdf/doi/10.1063/5.0151483/17794821/204113\_1\_5.0151483.pdf},
}