Tensor< 4 > syten::MPS::build_mpo_mpo | ( | Tensor< 4 > const & | left, |
Tensor< 4 > const & | right, | ||
Basis | left_basis, | ||
Basis | right_basis, | ||
bool const | flip | ||
) |
Creates the twosite gate from operator.
References syten::Basis::f(), syten::gM(), and syten::STensorImpl::sum().
Referenced by syten::MPS::Operator::gate().