syten::MPS::Lattice::Lattice | ( | Index | length_, |
std::string const & | description_, | ||
Basis const & | site_, | ||
Basis const & | vac_ | ||
) |
Standard constructor for uniform lattices.
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.