qiskit.aqua.utils.random_unitary¶
-
random_unitary
(N)[Quellcode]¶ Generate a random unitary matrix with size NxN.
- Parameter
N (int) – the dimension of unitary matrix
- Rückgabe
a 2-D matrix with complex data type.
- Rückgabetyp
np.ndarray
random_unitary
(N)[Quellcode]¶Generate a random unitary matrix with size NxN.
N (int) – the dimension of unitary matrix
a 2-D matrix with complex data type.
np.ndarray