SyTen

◆ sqrt() [2/2]

Tensor< 2 > syten::sqrt ( Tensor< 2 >  inp)

Returns the square root of the diagonal input matrix.

Parameters
[in]inpdiagonal matrix
Returns
square root of input matrix
Remarks
Only valid for diagonal rank-2 tensors with one incoming and one outgoing index.

References SYTEN_ASSERT.

Referenced by abs(), syten::IPEPS::FullUpdate::apply_op(), syten::MPS::TEBD::build_local_T(), checkedAddParallel(), syten::IPEPS::FullUpdate::cost_function(), syten::IPEPSv2::directional_svd(), syten::Krylov::Evolution::GreedyHeuristic< Solver, Clock >::do_recycle(), syten::IPEPSv2::full_update_apply_gate(), syten::IPEPSv2::full_update_cost_function(), syten::IPEPSv2::full_update_gauge_fix(), syten::IPEPSv2::full_update_split_evenly(), syten::IPEPS::gauge_fix(), syten::IPEPSv2::Lat::gen_spin_nil(), syten::MPS::Lat::Nil::genBosonLattice(), syten::MPS::Lat::U1::genBosonLattice(), syten::MPS::Lat::U1U1::genFermiBoseLattice(), syten::MPS::RandomState::genMomentumRep(), syten::MPS::Lat::U1::genSpinBosonLattice(), syten::MPS::Lat::GCE::U1::genSpinLattice(), syten::MPS::Lat::Nil::genSpinLattice(), syten::MPS::Lat::U1::genSpinLattice(), syten::IPEPS::Lat::Nil::genSpinLattice(), syten::Generators::Bosonic::get_n2(), syten::IPEPS::FullCTM::grow_b(), syten::IPEPSv2::CornerTransferMatrix::grow_helper(), syten::IPEPS::FullCTM::grow_l(), syten::IPEPS::FullCTM::grow_r(), syten::IPEPS::FullCTM::grow_t(), syten::IPEPS::horizontal_simple_update(), syten::Pyten::init_multiprec(), syten::Pyten::init_tensor(), norm(), syten::MPS::norm(), syten::IPEPS::Horz2CTM::norm(), syten::IPEPS::Vert2CTM::norm(), syten::Krylov::ClassicImpl::OrthoMat< Lanczos >::operator()(), syten::MPS::Operator::operator*=(), operator==(), orthogonalise_run(), syten::MPS::LBOState::physnormM(), syten::MPS::LBOState::physnormV(), prodD(), syten::Tensor< rank >::reduce(), scale_columns_2norm(), syten::IPEPSv2::simple_update(), singValSqdToError(), syten::STensorImpl::snorm(), syten::MPS::SwappableTEBD::split_rank6_into_mpos(), syten::STensorImpl::sqrt(), syten::SVD::svd(), syten::IPEPS::vertical_simple_update(), and syten::IPEPS::vertical_simple_update_remover().

+ Here is the caller graph for this function: