cirq.ops.SWAP

The swap gate.

Used in the notebooks

Used in the tutorials

Matrix:

[[1, 0, 0, 0], [0, 0, 1, 0], [0, 1, 0, 0], [0, 0, 0, 1]]