void syten::linkSites | ( | Index | first, |
Index | second, | ||
MPS::Lattice & | lat, | ||
std::map< std::string, std::pair< std::string, std::vector< MPS::Operator > > > & | operators, | ||
std::string | sym, | ||
std::string | suffix, | ||
bool const | add_bond_operators, | ||
std::vector< Index > const & | idx | ||
) |
Internal helper: Link sites on lattice.
first | first site |
second | second site |
lat | lattice in question |
operators | operator map storing the sso-products |
sym | symmetry in question |
suffix | additional suffix for pbc in x- and y-direction |
add_bond_operators | true if the operator should also be added to H_even/H_odd |
idx | permutation vector for sites, format new[old] |
References dot(), and std::move().