Quantum Gates, Quantum Computing, Quantum, Techonology.
both control qubits are in the state |1⟩. SWAP gate: The SWAP gate exchanges the states of two qubits. It is a two-qubit gate and is used for qubit rearrangement and data swapping. The gate matrix representation is: 1 0 0 0 0 0 1 0 0 1 0 0 0 0 0 1 The SWAP gate transforms the four possible input