WOLFRAM NOTEBOOK

WOLFRAM|DEMONSTRATIONS PROJECT

Swapping Qubit States

|i>
1
0
1
2
1
2
1
2
-
1
2
0
1
|j>
1
0
1
2
1
2
1
2
-
1
2
0
1
Select the states for two qubits,
|i>
and
|j>
. 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.
Wolfram Cloud

You are using a browser not supported by the Wolfram Cloud

Supported browsers include recent versions of Chrome, Edge, Firefox and Safari.


I understand and wish to continue anyway »

You are using a browser not supported by the Wolfram Cloud. Supported browsers include recent versions of Chrome, Edge, Firefox and Safari.