QCET

Circuits
Gates
Hardware
Documentation

SWAP Gate

\begin{bmatrix}1&0&0&0\\0&0&1&0\\0&1&0&0\\0&0&0&1\end{bmatrix}

This gate swaps the states of two qubits with each other.

Resources

See the Qiskit documentation for the swap gate: https://quantum.cloud.ibm.com/docs/en/api/qiskit/qiskit.circuit.library.SwapGate