networks

  • full name: tenpy.networks

  • parent module: tenpy

  • type: module

Module description

Definitions of tensor networks like MPS and MPO.

Here, ‘tensor network’ refers just to the (partial) contraction of tensors. For example an MPS represents the contraction along the ‘virtual’ legs/bonds of its B.

Submodules

site

Defines a class describing the local physical Hilbert space.

mps

This module contains a base class for a Matrix Product State (MPS).

mpo

Matrix product operator (MPO).

terms

Classes to store a collection of operator names and sites they act on, together with prefactors.

purification_mps

This module contains an MPS class representing an density matrix by purification.