qiskit.aqua.utils.random_unitary¶
-
random_unitary
(N)[código fonte]¶ Generate a random unitary matrix with size NxN.
- Parâmetros
N (int) – the dimension of unitary matrix
- Retorna
a 2-D matrix with complex data type.
- Tipo de retorno
np.ndarray
random_unitary
(N)[código fonte]¶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