SRDef syten::MPS::Operator::truncate | ( | TruncationType const & | type = TruncationType::Default , |
bool | verbose = false , |
||
SRDef const | threshold = NAN , |
||
bool const | nowarn = false |
||
) |
Truncates the operator by applying the specified truncation method on every site.
References syten::EnvVars::default_tpo_truncate, and SYTEN_ASSERT_MSG.
Referenced by syten::MPS::QcLatticeGenerator::construct_su2u1(), syten::MPS::ParseOperator::dotqF(), syten::MPS::exp(), syten::Pyten::init_mpl(), project(), and syten::MPS::ParseOperator::truncateF().