Home

Gates
Circuits
Documentation

Quantum Gate

Swap

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

Swap Gate

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