Amit Nikhade, Quantum, Quantum Computing, Artificial Intelligence, Quantum Gate.
|0 0 1 0| |0 1 0 0| |0 0 0 1| It swaps the state of the two qubits and is represented by |ij⟩ to |ji⟩. In other words, if the first qubit is in state |0⟩ and the second qubit is in state |1⟩, applying the SWAP gate will result in the first qubit being in state |1⟩ and the second qubit being in