German
Sprachen
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.circuit.QuantumCircuit.swap

QuantumCircuit.swap(qubit1, qubit2)[Quellcode]

Apply SwapGate.

For the full matrix form of this gate, see the underlying gate documentation.

Parameter
Rückgabetyp

InstructionSet

Rückgabe

A handle to the instructions created.