site

  • full name: tenpy.networks.site

  • parent module: tenpy.networks

  • type: module

Classes

Inheritance diagram of tenpy.networks.site

BosonSite([Nmax, conserve, filling])

Create a Site for up to Nmax bosons.

FermionSite([conserve, filling])

Create a Site for spin-less fermions.

GroupedSite(sites[, labels, charges])

Group two or more Site into a larger one.

Site(leg[, state_labels])

Collects necessary information about a single local site of a lattice.

SpinHalfFermionSite([cons_N, cons_Sz, filling])

Create a Site for spinful (spin-1/2) fermions.

SpinHalfSite([conserve])

Spin-1/2 site.

SpinSite([S, conserve])

General Spin S site.

Functions

group_sites(sites[, n, labels, charges])

Given a list of sites, group each n sites together.

multi_sites_combine_charges(sites[, …])

Adjust the charges of the given sites (in place) such that they can be used together.

set_common_charges(sites[, new_charges, …])

Adjust the charges of the given sites in place such that they can be used together.

Module description

Defines a class describing the local physical Hilbert space.

The Site is the prototype, read it’s docstring.