random_unitary(N)
Generate a random unitary matrix with size NxN.
Parameters
N (int) – the dimension of unitary matrix
Returns
a 2-D matrix with np.complex data type.
Return type
np.ndarray
© IBM Corp., 2017-2025
Searching Qiskit SDK v0.19 and latest versions of other APIs.
No results found
Try a different search query or select a different application.