In the given problem statement, How do I apply the fourth operation i.e. how to apply a $CNOT_{c=3,t=1}$ to a 3-bit composite system:
Approach:
- First, each bit is set to the state 0. Therefore operator expression becomes =
$$ \begin{bmatrix} 1 \\ 0 \end{bmatrix} \otimes \begin{bmatrix} 1 \\ 0 \end{bmatrix} \otimes \begin{bmatrix} 1 \\ 0 \end{bmatrix} $$
- Second, the fair coin operator $\begin{bmatrix} 0.5 & 0.5 \\ 0.5 & 0.5 \end{bmatrix}$ is applied to the second bit. And NOT operator $\begin{bmatrix} 0 & 1 \\ 1 & 0 \end{bmatrix}$ is applied to the first bit. Therefore operator expression becomes:
$$ I_2 \otimes \begin{bmatrix} 0.5 & 0.5 \\ 0.5 & 0.5 \end{bmatrix} \otimes I_2 $$ And then: $$ \begin{bmatrix} 0 & 1 \\ 1 & 0 \end{bmatrix} \otimes I_2 \otimes I_2 $$
- Third, the CNOT operator is applied on the second and third bits where the second bit is the control bit and the third bit is the target bit. Resultant operator is:
$$ I_2 \otimes CNOT_{c=2, t=3} $$
- The CNOT operator is applied on the third and first bits where the third bit is the control bit and the first bit is the target bit. What is resultant expression for this?
Note: $I_2$ is identity matrix $(2 \times 2)$ and $CNOT_{c=2, t=3}$ is $(4 \times 4)$ CNOT matrix.