Welcome to ChemTensor’s documentation!

https://github.com/qc-tum/chemtensor/actions/workflows/ci.yml/badge.svg

ChemTensor is an efficient tensor network library for electronic structure calculations of chemical systems (typically small molecules). It is based on the matrix product state (MPS) and tree tensor network state (TTNS) formalism and variants of DMRG.

ChemTensor is written in C for performance reasons. The file basic_dmrg_fermi_hubbard.c contains a standalone demonstration of constructing the Fermi-Hubbard model Hamiltonian as MPO and running DMRG.

ChemTensor also offers a Python 3 interface for more straightforward accessibility and experimentation.

Examples

Examples using the Python interface:

Python API

C source code