About cookies on this site Our websites require some cookies to function properly (required). In addition, other cookies may be used with your consent to analyze site usage, improve the user experience and for advertising. For more information, please review your options. By visiting our website, you agree to our processing of information as described in IBM’sprivacy statement. To provide a smooth navigation, your cookie preferences will be shared across the IBM web domains listed here.
qiskit.synthesis.synth_cnotdihedral_general
synth_cnotdihedral_general(elem)
Decompose a CNOTDihedral element into a QuantumCircuit.
Decompose a general CNOTDihedral elements. The number of CNOT gates is not necessarily optimal. For a decomposition of a 1-qubit or 2-qubit element, call synth_cnotdihedral_two_qubits.
Parameters
elem (CNOTDihedral) – a CNOTDihedral element.
Returns
a circuit implementation of the CNOTDihedral element.
Return type
Raises
QiskitError – if the element could not be decomposed into a circuit.
Reference:
- Andrew W. Cross, Easwar Magesan, Lev S. Bishop, John A. Smolin and Jay M. Gambetta, Scalable randomised benchmarking of non-Clifford gates, npj Quantum Inf 2, 16012 (2016).
Was this page helpful?
Report a bug or request content on GitHub.