Matrix rank.
A (array[complex]) – matrix
tol (float) – numerical tolerance
matrix rank of A, or the number of singular values of A larger than tol
A
tol
int
qit.utils.rand_pu
qit.utils.rmul