German
Sprachen
English
Japanese
German
Korean
Portuguese, Brazilian
French
Shortcuts

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