SyTen

◆ apply_operator_itrunc_node()

SRDef syten::BTT::apply_operator_itrunc_node ( State::Ptr  aptr,
const Operator::Ptr  optr,
Index  direction,
bool const  cache,
Truncation  trunc 
)

Helper for apply_operator_itrunc_rec().

Applies the operator component node optr to the state component node aptr and then does a SVD of the parent node of aptr over the direction-th leg.

References syten::BTT::Operator::aIdx, syten::BTT::State::aIdx, syten::BTT::State::aInt, syten::BTT::Operator::bIdx, syten::BTT::State::bIdx, syten::BTT::State::bInt, syten::BTT::Operator::dIdx, syten::genCombinator(), syten::genFuse(), syten::genSplit(), norm(), syten::BTT::State::pIdx, syten::BTT::State::pInt, syten::BTT::Operator::rIdx, syten::BTT::State::rIdx, syten::Truncation::scale(), syten::singValSqdToError(), syten::SVD::svd(), and syten::BTT::Operator::uIdx.

Referenced by apply_op_naive(), and apply_operator_itrunc_rec().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: