Here we study a two-qubit system and focus on the SWAP operation permuting the states of two qubits,
which plays an important role in network designs for quantum computaion [1]}.
This operation is described by the SWAP gate

USWAP =

1  0  0  0
