terms

  • full name: tenpy.networks.terms

  • parent module: tenpy.networks

  • type: module

Classes

Inheritance diagram of tenpy.networks.terms

CouplingTerms(L)

Operator names, site indices and strengths representing two-site coupling terms.

ExponentiallyDecayingTerms(L)

Represent a sum of exponentially decaying (long-range) couplings.

MultiCouplingTerms(L)

Operator names, site indices and strengths representing general M-site coupling terms.

OnsiteTerms(L)

Operator names, site indices and strengths representing onsite terms.

TermList(terms[, strength])

A list of terms (=operator names and sites they act on) and associated strengths.

Functions

order_combine_term(term, sites)

Combine operators in a term to one terms per site.

Module description

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

This modules collects classes which are not strictly speaking tensor networks but represent “terms” acting on them. Each term is given by a collection of (onsite) operator names and indices of the sites it acts on. Moreover, we associate a strength to each term, which corresponds to the prefactor when specifying e.g. a Hamiltonian.