Skip to main content

WaveTrain

by Jerome Riedel, Patrick Gelß, and Burkhard Schmidt

Freie Universität Berlin, Germany

WaveTrain-Logo

Short description

WaveTrain is an open-source software for numerical simulations of chain-like quantum systems with nearest-neighbor (NN) interactions only (with or without periodic boundary conditions). This Python package is centered around tensor train (TT, or matrix product) representations of quantum-mechanical Hamiltonian operators and (stationary or time-evolving) state vectors. WaveTrain builds on the Python tensor train toolbox scikit_tt, which provides efficient construction methods, storage schemes, as well as solvers for eigenvalue problems and linear differential equations in the TT format.

WaveTrain comprises solvers for time-independent and time-dependent Schrödinger equations employing TT decompositions to construct low-rank representations. Often, the TT ranks of state vectors are found to depend only marginally on the chain length N, which results in the computational effort growing only slightly more than linearly in N, thus mitigating the curse of dimensionality. Thus, WaveTrain complements the existing WavePacket project at SourceForge which does not offer these advantages but which can be used for general Hamiltonians, i.e., without restriction to chain-like systems.

As a complement to the Python classes for full quantum mechanics, WaveTrain also contains classes for fully classical and mixed quantum-classical (Ehrenfest or mean field) dynamics of bipartite ("slow-fast" and/or "heavy-light") systems. Moreover, the graphical capabilities allow visualization of quantum dynamics ‘on the fly’, with a choice of several different graphical representations based on reduced density matrices.

Full description

For a detailed description of the WaveTrain software, see our article that appeared in April 2023 in J. Chem. Phys.1.

Installation

After downloading and installing the Python tensor train toolbox scikit_tt, installation of the WaveTrain software package is straightforward

pip install git+https://github.com/PGelss/scikit_tt
pip install wave_train 

where pip belongs to a Python installation with minimum version requirement 3.7.0. For a developer installation you can download the latest version of WaveTrain to your local computer by using the 'git clone' command.

git clone https://github.com/PGelss/wave_train.git 
cd wave_train
python setup.py install --user

Applications

see our work on solving the TISE2 and TDSE3 for coupled excitons and phonons

  1. J. Riedel, P. Gelß, R. Klein, and B. Schmidt, "WaveTrain: A Python Package for Numerical Quantum Mechanics of Chain-Like Systems Based on Tensor Trains", J. Chem. Phys. 158 (16), 164801 (2023) ↩

  2. P. Gelß, R. Klein, S. Matera, B. Schmidt, "Solving the Time-Independent Schrödinger Equation for Chains of Coupled Excitons and Phonons using Tensor Trains", J. Chem. Phys. 156 (2), 024109 (2022) ↩

  3. P. Gelß, R. Klein, S. Matera, and B. Schmidt, "Quantum Dynamics of Coupled Excitons and Phonons in Chain-Like Systems: Tensor Train Approaches and Higher-Order Propagators", arXiv:2302.03725 ↩

Release files for wave-train 1.0.11

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for wave-train 1.0.11
File Size Uploaded
wave_train-1.0.11.tar.gz 67.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for wave-train 1.0.11
File Interpreter ABI Platform
wave_train-1.0.11-py3-none-any.whl Python 3 none any Details

Total release size: 152.6 kB

Release files / wave_train-1.0.11.tar.gz

Download URL wave_train-1.0.11.tar.gz
Size 67.9 kB
Tags Source
SHA-256 checksum
How to use checksums
d478b8319f4dd46a0ed1b75dd9154eb5d5207c9ace72af43007ffa46d26fe9d9
BLAKE2b-256 checksum
How to use checksums
1052fdab83d0cbb154c9c091e1d7032e167f123a261900e3fa73cf9e343f48a6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.18

Release files / wave_train-1.0.11-py3-none-any.whl

Download URL wave_train-1.0.11-py3-none-any.whl
Size 84.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
80434fd3a15c6be6be998d862656ba7a010511d8b8ff3f59f49337383aeb8a26
BLAKE2b-256 checksum
How to use checksums
4128a872621c3e2a9da36522e55c859bf54eb38026a9272f0404cc180a6058f5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.18

Release history Release notifications | RSS feed

This release

1.0.11 This release

2 release files

1.0.10

2 release files

1.0.8

2 release files

1.0.7

2 release files

1.0.6

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.1

2 release files

0.1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page