Swapping Qubit States
Swapping Qubit States
Select the states for two qubits, and . The quantum circuit consisting of three CNOT gates swaps the states as time progresses from left to right to produce the output. The intermediate state after each CNOT gate is also displayed. Quantum wire coloring, unique for each qubit state, illustrates the changing qubit state. The dashed line indicates an entangled state, and the same coloring indicates common qubit state.
|i>
|j>