SyTen

◆ linkSites()

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.

Parameters
firstfirst site
secondsecond site
latlattice in question
operatorsoperator map storing the sso-products
symsymmetry in question
suffixadditional suffix for pbc in x- and y-direction
add_bond_operatorstrue if the operator should also be added to H_even/H_odd
idxpermutation vector for sites, format new[old]

References dot(), and std::move().

+ Here is the call graph for this function: