qiskit.quantum_info.random_cnotdihedral¶
-
random_cnotdihedral
(num_qubits, seed=None)[código fonte]¶ Return a random CNOTDihedral element.
- Parâmetros
num_qubits (int) – the number of qubits for the CNOTDihedral object.
seed (int or RandomState) – Optional. Set a fixed seed or generator for RNG.
- Retorna
a random CNOTDihedral element.
- Tipo de retorno