SyTen

◆ get() [3/4]

Operator const & syten::MPS::Lattice::get ( std::string const &  id,
Index  where 
) const

Constructs and returns a single-site operator.

Parameters
idkey of the single-site operator, e.g. ch
wheresite 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().

+ Here is the call graph for this function: