qiskit.quantum_info.random_cnotdihedral¶ random_cnotdihedral(num_qubits, seed=None)[source]¶ 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 CNOTDihedral