DCXGate
class DCXGate
Bases: qiskit.circuit.gate.Gate
Double-CNOT gate.
A 2-qubit Clifford gate consisting of two back-to-back CNOTs with alternate controls.
┌───┐
q_0: ──■──┤ X ├
┌─┴─┐└─┬─┘
q_1: ┤ X ├──■──
└───┘
This is a classical logic gate, equivalent to a CNOT-SWAP (CNS) sequence, and locally equivalent to an iSWAP.
Create new DCX gate.
Attributes
condition_bits
Get Clbits in condition.
Return type
List
[Clbit
]
decompositions
Get the decompositions of the instruction from the SessionEquivalenceLibrary.
definition
Return definition in terms of other basic gates.
duration
Get the duration.
label
Return instruction label
Return type
str
params
return instruction params.
unit
Get the time unit of duration.
Was this page helpful?
Report a bug or request content on GitHub.