qiskit.quantum_info.random_cnotdihedral¶ random_cnotdihedral(num_qubits, seed=None)[ソース]¶ Return a random CNOTDihedral element. パラメータ num_qubits (int) – the number of qubits for the CNOTDihedral object. seed (int or RandomState) – Optional. Set a fixed seed or generator for RNG. 戻り値 a random CNOTDihedral element. 戻り値の型 CNOTDihedral