Spanish
Idiomas
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.synthesis.synth_cnotdihedral_two_qubits

synth_cnotdihedral_two_qubits(elem)[fuente]

Decompose a CNOTDihedral element on a single qubit and two qubits into a QuantumCircuit. This decomposition has an optimal number of CX gates.

Parámetros

elem (CNOTDihedral) – a CNOTDihedral element.

Devuelve

a circuit implementation of the CNOTDihedral element.

Tipo del valor devuelto

QuantumCircuit

Muestra

QiskitError – if the element in not 1-qubit or 2-qubit CNOTDihedral.

Reference:
  1. Shelly Garion and Andrew W. Cross, On the structure of the CNOT-Dihedral group, arXiv:2006.12042 [quant-ph]