A SWAP exchanges the quantum states of two qubits.
Why it shows up in practice
On hardware with limited connectivity, compilers often insert SWAP-like operations to move information so the needed qubits become neighbors. That increases circuit depth and error exposure.
