GraphState.swap

GraphState.swap(qubit1, qubit2)

Apply SwapGate.