qit.utils.rand_hermitian¶
- qit.utils.rand_hermitian(n)¶
Random Hermitian n*n matrix.
- Parameters
n (int) – matrix size
- Returns
random Hermitian n*n matrix
- Return type
array[complex]
Note
The randomness is not defined in any deeply meaningful sense.