SyTen

◆ genMPO()

Tensor< 4 > syten::T3N::ChemHelper::genMPO ( QCDMRG::mpo_tensor const &  desc,
std::vector< std::string > const &  sso_labels,
Lattice const &  lat 
)

Construct the real MPO tensor using the description given by QCDMRG toolkit.

References syten::T3N::Operator::aIdx_P, syten::Cuda::copy(), syten::expansion(), syten::Tensor< rank >::getBasis(), std::move(), syten::T3N::Operator::physicalDirs, syten::Tensor< rank >::reduce(), syten::T3N::Operator::rIdx, syten::Basis::size(), syten::Tensor< rank >::size(), syten::sum(), SYTEN_ASSERT_DEBUG, and syten::zeroExpand().

+ Here is the call graph for this function: