Right-normalise tensor on site where
and return the left-over bit \( \Psi(\textrm{where}) \to U S \Psi(\textrm{where}) \).
where | position of state component in psi that is to be normalised |
References syten::abs(), syten::TDVP::GSEConf::adaptive, conf, syten::MPS::State::dropUnmatched(), gse_above_threshold, syten::TDVP::Conf::gse_conf, gse_expand, gse_num_saturated, syten::MPS::State::lIdx, logTrace(), syten::TDVP::Conf::mode, syten::MPS::norm(), syten::pow(), psi, rel_dir, syten::TDVP::GSEConf::saturation_scaling_factor, syten::Truncation::scaled(), syten::TDVP::GSEConf::sing_val_thresholds, syten::MPS::State::size(), syten::Tensor< rank >::size(), std::vector< T >::size(), syten::SVD::svd(), and syten::TDVP::Conf::trunc.
Referenced by sweepLeft(), and sweepLeftTwoSite().