SyTen

◆ checkValidity()

void syten::MPS::RDMs::OrbRDM::checkValidity ( Tensor< 2 > const &  t)
static

Checks that argument is a valid density matrix.

References syten::closeThreshold(), syten::Cuda::copy(), syten::herm(), syten::MPS::normSqd(), SYTEN_ASSERT_MSG, SYTEN_SMALL_THRESHOLD, syten::trace(), and syten::underThreshold().

+ Here is the call graph for this function: