Exercise 10.3#
For \(|\psi\rangle = a|000\rangle + b|111\rangle\)#
Consider three qubit bit flip code \(|0_{L}\rangle = |000\rangle\) and \(|1_L\rangle = |111\rangle\), if we measure \(Z_1Z_2\) of an arbitrary noiseless state \(|\psi\rangle = a|0_L\rangle + b|1_L\rangle = a|000\rangle + b|111\rangle\), the outcome should be eigenvalue of \(Z_1Z_2\). Since \(Z|0\rangle = |0\rangle\) and \(Z|1\rangle = -|1\rangle\), we have
and
Therefore, \(|\psi\rangle\) is the eigenstate of \(Z_1Z_2\) and the outcome of measuring \(Z_1Z_2\) for \(|\psi\rangle\) is \(+1\). The probability of getting \(+1\) is then obtained by
After measuring \(Z_1Z_2\) we obtain post-measurement state \(Z_1Z_2|\psi\rangle/P(m_{12}=1) = |\psi\rangle\). Note that
it means that the outcome of measuring \(Z_2Z_3\) for \(|\psi\rangle\) is \(+1\), and similarly, the probability of getting \(+1\) is
and we obtain post-measurement state \(Z_2Z_3|\psi\rangle/P(m_{23}=1) = |\psi\rangle\).
Now we measure arbitrary state \(|\psi\rangle = a|0_L\rangle + b|1_L\rangle = a|000\rangle + b|111\rangle\) with projector \(P = P_0 + P_1 + P_2 + P_3\), where
Note that \(P_0, P_1, P_2, P_3\) are all Hermitian operators, so the measurement outcome of them are their eigenvalues. Notice that \(\langle \psi|P_{0}|\psi\rangle = 1\) and \(\langle \psi|P_{1}|\psi\rangle = \langle \psi|P_{2}|\psi\rangle=\langle \psi|P_{3}|\psi\rangle=0\), so the probability of measuring \(P\) is
and the post measurement state is
Thus, the probability of getting some measurement outcome is all \(1\) for both measuring projectors and measuring \(Z_1Z_2\) and \(Z_2Z_3\), and the post-measurement state is the same as the post-measurement state after measuring \(Z_1Z_2\) and \(Z_2Z_3\).
For \(|\psi\rangle = a|100\rangle + b|011\rangle\)#
Consider a bit flip happen on the first qubit, if we measure \(Z_1Z_2\) the outcome should be eigenvalue of \(Z_1Z_2\). Since \(Z|0\rangle = |0\rangle\) and \(Z|1\rangle = -|1\rangle\), we have
and
Therefore, \(|\psi\rangle\) is the eigenstate of \(Z_1Z_2\) and the outcome of measuring \(Z_1Z_2\) for \(|\psi\rangle\) is \(-1\). The probability of getting \(-1\) is then obtained by
After measuring \(Z_1Z_2\) we obtain post-measurement state \(Z_1Z_2|\psi\rangle/P(m_{12}=1) = -|\psi\rangle\). Note that
it means that the outcome of measuring \(Z_2Z_3\) for \(|\psi\rangle\) is \(+1\), and the probability of getting \(+1\) is
and we obtain post-measurement state \(Z_2Z_3|\psi\rangle/P(m_{23}=1) = -|\psi\rangle\).
Now we measure state \(|\psi\rangle = a|100\rangle + b|011\rangle\) with projector \(P = P_0 + P_1 + P_2 + P_3\). Notice that \(\langle \psi|P_{1}|\psi\rangle = 1\) and \(\langle \psi|P_{0}|\psi\rangle = \langle \psi|P_{2}|\psi\rangle=\langle \psi|P_{3}|\psi\rangle=0\), so the probability of measuring \(P\) is
and the post measurement state is
Thus, the probability of getting some measurement outcome is all \(1\) for both measuring projectors and measuring \(Z_1Z_2\) and \(Z_2Z_3\), and the post-measurement state is the same as the post-measurement state after measuring \(Z_1Z_2\) and \(Z_2Z_3\) up to a global phase.
For \(|\psi\rangle = a|010\rangle + b|101\rangle\)#
Consider a bit flip happen on the first qubit, if we measure \(Z_1Z_2\) the outcome should be eigenvalue of \(Z_1Z_2\). Since \(Z|0\rangle = |0\rangle\) and \(Z|1\rangle = -|1\rangle\), we have
and
Therefore, \(|\psi\rangle\) is the eigenstate of \(Z_1Z_2\) and the outcome of measuring \(Z_1Z_2\) for \(|\psi\rangle\) is \(-1\). The probability of getting \(-1\) is then obtained by
After measuring \(Z_1Z_2\) we obtain post-measurement state \(Z_1Z_2|\psi\rangle/P(m_{12}=1) = -|\psi\rangle\). Note that
it means that the outcome of measuring \(Z_2Z_3\) for \(|\psi\rangle\) is \(-1\), and the probability of getting \(-1\) is
and we obtain post-measurement state \(-Z_2Z_3|\psi\rangle/P(m_{23}=1) = |\psi\rangle\).
Now we measure state \(|\psi\rangle = a|010\rangle + b|101\rangle\) with projector \(P = P_0 + P_1 + P_2 + P_3\). Notice that \(\langle \psi|P_{2}|\psi\rangle = 1\) and \(\langle \psi|P_{0}|\psi\rangle = \langle \psi|P_{1}|\psi\rangle=\langle \psi|P_{3}|\psi\rangle=0\), so the probability of measuring \(P\) is
and the post measurement state is
Thus, the probability of getting some measurement outcome is all \(1\) for both measuring projectors and measuring \(Z_1Z_2\) and \(Z_2Z_3\), and the post-measurement state is the same as the post-measurement state after measuring \(Z_1Z_2\) and \(Z_2Z_3\).
For \(|\psi\rangle = a|001\rangle + b|110\rangle\)#
Consider a bit flip happen on the first qubit, if we measure \(Z_1Z_2\) the outcome should be eigenvalue of \(Z_1Z_2\). Since \(Z|0\rangle = |0\rangle\) and \(Z|1\rangle = -|1\rangle\), we have
and
Therefore, \(|\psi\rangle\) is the eigenstate of \(Z_1Z_2\) and the outcome of measuring \(Z_1Z_2\) for \(|\psi\rangle\) is \(+1\). The probability of getting \(+1\) is then obtained by
After measuring \(Z_1Z_2\) we obtain post-measurement state \(Z_1Z_2|\psi\rangle/P(m_{12}=1) =|\psi\rangle\). Note that
it means that the outcome of measuring \(Z_2Z_3\) for \(|\psi\rangle\) is \(-1\), and the probability of getting \(-1\) is
and we obtain post-measurement state \(Z_2Z_3|\psi\rangle/P(m_{23}=1) = -|\psi\rangle\).
Now we measure state \(|\psi\rangle = a|001\rangle + b|110\rangle\) with projector \(P = P_0 + P_1 + P_2 + P_3\). Notice that \(\langle \psi|P_{3}|\psi\rangle = 1\) and \(\langle \psi|P_{0}|\psi\rangle = \langle \psi|P_{1}|\psi\rangle=\langle \psi|P_{2}|\psi\rangle=0\), so the probability of measuring \(P\) is
and the post measurement state is
Thus, the probability of getting some measurement outcome is all \(1\) for both measuring projectors and measuring \(Z_1Z_2\) and \(Z_2Z_3\), and the post-measurement state is the same as the post-measurement state after measuring \(Z_1Z_2\) and \(Z_2Z_3\) up to a global phase.
From above calculation we know that, measuring \(Z_1Z_2\) followed by \(Z_2Z_3\) result in the same measurement statistics and post-measurement states as measuring the four projectors.