Random U(n) matrix.
n (int) – matrix size
random unitary n*n matrix
array[complex]
The matrix is random with respect to the Haar measure. Uses the algorithm in [29].
qit.utils.rand_SU
qit.utils.rand_U1