SyTen

◆ initial_cost()

SRDef syten::MPS::BasisTransformation::ModeTransformation::initial_cost ( )

calculates the initial costfunction

References std::vector< T >::clear(), contrPsi, syten::diagonal(), err, syten::genSplit(), syten::Tensor< rank >::getBasis(), syten::imag(), syten::MPS::norm(), syten::real(), syten::split(), syten::sum(), syten::SVD::svd(), SYTEN_ASSERT_DEBUG, and SYTEN_ZNORM_THRESHOLD.

Referenced by apply_mt().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: