pygsti.
is_pos_def
Test whether mx is a positive-definite matrix.
True if mx is positive-semidefinite, otherwise False.
bool