SyTen

◆ getIdRight()

template<typename IndexTypeA , typename IndexTypeB >
Tensor< 4 > const & syten::MPS::Lattice::getIdRight ( std::string const &  id,
IndexTypeA const  active,
IndexTypeB const  current 
) const
inline

Returns the identity matrix to be used to the right of a local operator on the specified site.

Parameters
idkey of the single-site operator, e.g. ch
activesite on which the SSO is acting
currentsite for which we want the identity

References restrict(), siteOperators, and siteType().

+ Here is the call graph for this function: