Operator syten::MPS::SwappableTEBD::exponentiate_factor_mpo | ( | Index const | i, |
Index const | j, | ||
Operator | op, | ||
SDef | c, | ||
Lattice const & | lat, | ||
std::vector< Pair< Index, Index > > const & | fermions | ||
) |
Calculates exp(x*c*h) assuming that h only acts nontrivially on sites i and j and 'x' is '-i' for complex-valued compilations and '-1' for real-valued computations.
References syten::abs(), syten::closeThreshold(), syten::MPS::SwappableTEBD::exponentiate_factor_mpo(), syten::MPS::SwappableTEBD::exponentiate_mpo_tensors(), syten::MPS::genMPOId(), syten::RepRegister::id(), std::move(), syten::MPS::norm(), syten::MPS::Operator::rIdx, syten::MPS::switch_sites(), SYTEN_ASSERT_MSG, SYTEN_SMALL_THRESHOLD, and syten::MPS::Operator::uIdx.
Referenced by syten::MPS::SwappableTEBD::exponentiate_factor_mpo().