SyTen

◆ genCombinator()

Tensor< 2 > syten::genCombinator ( Basis const &  b1)

Creates a combinator summing up individual contributions in each symmetry sector into a single entry.

–b1→|←[genCombinator(b1)]–bx→|←

where bx has the same symmetry sectors as b1 but all of size 1.

References syten::Basis::dir, std::fill(), hasCGC(), makeIdentity(), and std::move().

Referenced by syten::MPS::addScaled(), syten::MPS::apply_op_itrunc(), syten::MPS::apply_op_naive(), syten::MPS::coarse_grain(), syten::MPS::expectation(), syten::MPS::fine_grain(), syten::STensorImpl::gen_comb(), syten::STensorImpl::gen_combinator(), syten::Pyten::init_tensor(), syten::MPS::mpo_cmp_dot_prod(), syten::MPS::mpo_cmp_prod(), syten::MPS::LBOState::operator+=(), syten::MPS::State::operator+=(), syten::MPS::DMRG::Worker::Worker(), and syten::MPS::TDVP::Worker::Worker().

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