Entanglement
Get introduced to the concept of entanglement in detail.
We'll cover the following...
What if we constructed the two-qubit system differently? When we discard the factors, the four basis states () and replace them with general variables. We can state the following equation for an arbitrary two-qubit system.
We’re holding on to the normalization of the sum of all probabilities must be 1, but we do not insist that =.
In the lesson Implementation of CNOT gate, we learned about the CNOT-gate. It applies the X-gate to the target qubit only if we measure the control qubit as a 1
.
We can create the CNOT-gate from the two-qubit identity matrix by interchanging the order of the last two elements, like this:
The CNOT-gate takes two inputs and gives two outputs. The first input is called the control qubit. The second input is called the target qubit.
The result of the CNOT-gate is straightforward if the control qubit is in a basic state or . If the control qubit is , then nothing happens. The output equals the input. If the control qubit is , the CNOT-gate applies the -gate (NOT-gate) on the target qubit. It flips the state of the target qubit.
The following figure depicts the truth table of the CNOT-gate.
It gets interesting when the control qubit is in superposition—for instance, when we apply the Hadamard gate to the first qubit before we apply the CNOT-gate.
The following equation denotes the state of our two-qubit system.
...