| syten::MPS::Lattice::Lattice | ( | std::string const & | description_, |
| std::vector< Index > const & | siteType_, | ||
| std::vector< Basis > const & | typeBasis_, | ||
| Basis const & | vac_ | ||
| ) |
Standard constructor for nonuniform lattices.
| siteType_ | vector of integers 0[, 1[, 2]]. siteType_[i] == j means that site i is of type j |
| typeBasis_ | vector of bases. typeBasis_[j] = x means that sites of type j have local basis x |
| description_ | free-form string describing the lattice |
| vac_ | vacuum basis for states and operators built on the lattice |
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: