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::TDVP::Worker::calcContr(), 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::EnergyTruncation::EnergyTruncator< MPS::State, std::vector< MPS::Operator > >::normalize(), and syten::MPS::DMRG::Worker::Worker().

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