Pair< Tensor< 4 >, Tensor< 4 > > syten::MPS::build_exchange_tensors_below | ( | Basis const & | a, |
Basis const & | b, | ||
Basis const & | vac, | ||
std::vector< Pair< Index, Index > > const & | fermions | ||
) |
Behaves the same as build_exchange_tensors_above(), except that it constructs the tensors for application from below; hence also requires outgoing bases a
, b
to be supplied.
References syten::MPS::Operator::dInt, syten::Basis::dir, syten::Basis::flipped(), syten::genFuse(), syten::genIINode(), syten::genOONode(), syten::genSplit(), syten::Tensor< rank >::getBasis(), syten::Inc, syten::MPS::Operator::lInt, std::make_pair(), std::move(), syten::Out, syten::MPS::Operator::rInt, syten::split(), SYTEN_ASSERT, and syten::MPS::Operator::uInt.
Referenced by build_exchange_mpo_below(), and switch_sites().