Portuguese
Idiomas
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.circuit.QuantumCircuit.swap

QuantumCircuit.swap(qubit1, qubit2)[código fonte]

Apply SwapGate.

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

Parâmetros
Tipo de retorno

InstructionSet

Retorno

A handle to the instructions created.