Asserts that this
has the (expected) rank i
and returns a const reference to this
.
References syten::rank(), syten::STensorImpl::summarise(), and SYTEN_ASSERT_MSG.
Referenced by syten::T3N::BasisTransformation::discord(), syten::T3N::BasisTransformation::entropy(), syten::T3N::expectation_rec(), syten::IPEPSv2::expectation_value(), has_basis(), syten::T3N::BasisTransformation::mutualInformation(), syten::T3N::overlap_rec(), syten::T3N::TDVP::Worker::project_onto_orthogonal_complement(), syten::T3N::DMRG::Run::solveContractionWithBranching(), syten::STensorImpl::svd(), and syten::T3N::BasisTransformation::Z2().