Operator const & syten::MPS::Lattice::get | ( | std::string const & | id, |
Index | where | ||
) | const |
Constructs and returns a single-site operator.
id | key of the single-site operator, e.g. ch |
where | site on which the single-site operator shall act. Wraps around s.t. on a ten-site lattice, where == 10 is identical to where == 0 and where == -1 is identical to where == 9 . |
References syten::MPS::Operator::dropUnmatched(), syten::RepRegister::id(), syten::MPS::Operator::is_sso, length, std::move(), restrict(), siteOperators, siteType(), std::vector< T >::size(), sso_cache, and std::to_string().