SyTen

◆ truncate()

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::create_dg_kinetic_term(), syten::create_interaction_term(), syten::create_ring_repulsion(), syten::create_rs_occ_operators(), syten::create_sq_inter_ring_kinetic_term(), syten::create_sq_intra_ring_kinetic_term(), syten::MPS::ParseOperator::dotqF(), syten::Pyten::init_mpl(), project(), syten::projector(), and syten::MPS::ParseOperator::truncateF().

+ Here is the caller graph for this function: