SyTen

◆ Lattice() [1/3]

syten::MPS::Lattice::Lattice ( Index  length_,
std::string const &  description_,
Basis const &  site_,
Basis const &  vac_ 
)

Standard constructor for uniform lattices.

Parameters
length_number of sites in the lattice
description_free-form string describing the lattice
site_basis on each site
vac_rhs vacuum basis for states and MPO built on the lattice, also LHS basis for scalar MPO

The resulting lattice has one global operator, the identity MPO I and no single-site operators.

References syten::MPS::genMPOId(), globalOperators, syten::MPS::Operator::is_sso, length, std::make_pair(), siteBasis(), and vac.

+ Here is the call graph for this function: