qiskit.quantum_info.random_cnotdihedral¶
-
random_cnotdihedral
(num_qubits, seed=None)[Quellcode]¶ Return a random CNOTDihedral element.
- Parameter
num_qubits (int) – the number of qubits for the CNOTDihedral object.
seed (int or RandomState) – Optional. Set a fixed seed or generator for RNG.
- Rückgabe
a random CNOTDihedral element.
- Rückgabetyp