This repository contains the code for the paper:
- X. Chen and I. Franco. Tree tensor network hierarchical equations of motion based on time-dependent variational principle for efficient open quantum dynamics in structured thermal environments, The Journal of Chemical Physics 163, 104109 (2025).
A tutorial is available for TENSO:
- J. C. Rodriguez Betancourt, M. C. Anderson, L. Niu, X. Chen, and I. Franco. TENSO: Software Package for Numerically Exact Open Quantum Dynamics Based on Efficient Tree Tensor Network Decomposition of the Hierarchical Equations of Motion, (2026). Input files accompanying this tutorial are found in the directory tutorial_scripts.
If you find this repository useful, please consider citing our work.
@article{Chen2025,
author = {Xinxian Chen and Ignacio Franco},
doi = {10.1063/5.0278591},
issue = {10},
journal = {The Journal of Chemical Physics},
month = {9},
pages = {104109},
title = {Tree tensor network hierarchical equations of motion based on time-dependent variational principle for efficient open quantum dynamics in structured thermal environments},
volume = {163},
url = {https://pubs.aip.org/jcp/article/163/10/104109/3361762/Tree-tensor-network-hierarchical-equations-of},
year = {2025}
}This repository contains the code for the TENSO algorithm, which is a tensor network based method for generating and integration the master equations for open quantum dynamics in structured thermal environments. The code is written in Python and uses PyTorch for tensor operations. It is designed to be efficient and scalable, allowing for the simulation of large open quantum systems using different tree tensor network topologies. Details of the algorithm can be found in the paper. Detailed documentation is under preparation.
-
Development setup:
-
Create a python virtural environment with python vesion >= 3.10.
-
Prepare dependencies:
numpy,scipy,pytorch,torchdiffeq,tqdm -
Install
tensoin develop mode usingpip:python -m pip install -e . -
For testing, consider
jupyter-lab,matplotlib, etc.
-