Random diagonal unitary matrix.
n (int) – matrix size
random diagonal unitary n*n matrix
array[complex]
The matrix is random with respect to the Haar measure.
qit.utils.rand_U
qit.utils.rand_hermitian