Skip to content

ifgroup/pytenso

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TENSO: Tensor Equations for Non-Markovian Structured Open systems

This repository contains the code for the paper:

A tutorial is available for TENSO:

You can Find Our Documentation in our Website:

https://ifgroup.github.io/pytenso

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}
}
@article{10.1063/5.0198567,
    author = {Chen, Xinxian and Franco, Ignacio},
    title = {Bexcitonics: Quasiparticle approach to open quantum dynamics},
    journal = {The Journal of Chemical Physics},
    volume = {160},
    number = {20},
    pages = {204116},
    year = {2024},
    month = {05},
    issn = {0021-9606},
    doi = {10.1063/5.0198567},
    url = {https://doi.org/10.1063/5.0198567},
    eprint = {https://pubs.aip.org/aip/jcp/article-pdf/doi/10.1063/5.0198567/19970556/204116_1_5.0198567.pdf},
}
@misc{rodriguezbetancourt2026tensosoftwarepackagenumerically,
      title={TENSO: Software Package for Numerically Exact Open Quantum Dynamics Based on Efficient Tree Tensor Network Decomposition of the Hierarchical Equations of Motion}, 
      author={Juan C. Rodriguez-Betancourt and Michelle C. Anderson and Luchang Niu and Xinxian Chen and Ignacio Franco},
      year={2026},
      eprint={2603.17711},
      archivePrefix={arXiv},
      primaryClass={physics.chem-ph},
      url={https://arxiv.org/abs/2603.17711}, 
}

Overview

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.

Quick setup

  • Development setup:

    1. Create a python virtural environment with python vesion >= 3.10.

    2. Prepare dependencies: numpy, scipy, pytorch, torchdiffeq, tqdm

    3. Install tenso in develop mode using pip:

       python -m pip install -e .
      
    4. For testing, consider jupyter-lab, matplotlib, etc.

For a Detail Documentation

About

A Python package for Tensor Equations for Non-Markovian Structured Open quantum system.

Resources

License

Stars

7 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages