Quantum Computing, Quantum Programming, Quantum Physics, Mathematics.
since we have 4 kets we need to have 4 entries. So becomes Swap Gates Now, we can talk about some simple gates for two-qubit systems. One of the most simple gates is the SWAP gate. This gate swaps two qubits so it takes: And sends it to: which we can rewrite as: We can represent this using the