French
Languages
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.circuit.QuantumCircuit.swap

QuantumCircuit.swap(qubit1, qubit2)[source]

Apply SwapGate.

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

Paramètres
Type renvoyé

InstructionSet

Renvoie

A handle to the instructions created.