qiskit.circuit.QuantumCircuit.dcx¶
- QuantumCircuit.dcx(qubit1, qubit2)[source]¶
Apply
DCXGate
.For the full matrix form of this gate, see the underlying gate documentation.
- প্যারামিটার
qubit1 (Union[Qubit, QuantumRegister, int, slice, Sequence[Union[Qubit, int]]]) -- The qubit(s) to apply the gate to.
qubit2 (Union[Qubit, QuantumRegister, int, slice, Sequence[Union[Qubit, int]]]) -- The qubit(s) to apply the gate to.
- রিটার্নস
A handle to the instructions created.
- রিটার্ন টাইপ