qiskit.quantum_info.random_cnotdihedral
random_cnotdihedral(num_qubits, seed=None)
Return a random CNOTDihedral element.
Parameters
- num_qubits (int) – the number of qubits for the CNOTDihedral object.
- seed (int or RandomState) – Optional. Set a fixed seed or generator for RNG.
Returns
a random CNOTDihedral element.
Return type
Was this page helpful?
Report a bug or request content on GitHub.