SyTen

◆ project()

SRDef syten::MPS::Operator::project ( Sector const &  sector)

Projects the operator onto the given symmetry sector.

Removes all blocks on the first site whose LHS MPO index transforms outside of the specified sector and then truncates the MPO to remove all now-unmatched blocks.

References syten::Tensor< rank >::add(), dirs, lIdx, std::move(), and truncate().

+ Here is the call graph for this function: