SyTen

◆ contract_locals() [1/2]

Tensor< 2 > syten::MPS::RDMs::OrbRDM::contract_locals ( State const &  state,
Vec< Index > const &  hot_sites 
)
static

Construct helper function, which actually glues together the tensor for 2rdm and more.

References std::vector< T >::back(), std::vector< T >::begin(), std::vector< T >::end(), syten::Basis::flipped(), std::vector< T >::front(), syten::genFuse(), syten::genSplit(), syten::Tensor< rank >::getBasis(), syten::split(), and syten::MPS::State::uIdx.

+ Here is the call graph for this function: