Tenpy main module

  • full name: tenpy

  • parent module: tenpy

  • type: module

Submodules

algorithms

A collection of algorithms such as TEBD and DMRG.

linalg

Linear-algebra tools for tensor networks.

models

Definition of the various models.

networks

Definitions of tensor networks like MPS and MPO.

tools

A collection of tools: mostly short yet quite useful functions.

version

Access to version of this library.

Module description

TeNPy - a Python library for Tensor Network Algorithms

TeNPy is a library for algorithms working with tensor networks, e.g., matrix product states and -operators, designed to study the physics of strongly correlated quantum systems. The code is intended to be accessible for newcomers and yet powerful enough for day-to-day research.

run_simulation([simulation_class, ...])

Run the simulation with a simulation class.

resume_from_checkpoint(*[, filename, ...])

Resume a simulation run from a given checkpoint.

run_seq_simulations(sequential[, ...])

Sequentially run (variational) simulations.

console_main(*command_line_args)

Command line interface.

show_config()

Print information about the version of tenpy and used libraries.

tenpy.__version__ = '1.0.4'

hard-coded version string

tenpy.__full_version__ = '1.0.4'

full version from git description, and numpy/scipy/python versions