For Monday, November 4th, 2024

  1. Don’t forget to work on your posters!  Next deadline is soon!
  2. Compute the complex conjugates of $3+7i$, $8$ and $8i$.
  3. Compute the conjugate transpose of the complex matrix $\begin{pmatrix} 1 & 2+i \\ 3i & i \end{pmatrix}$.  Check if this matrix is unitary.
  4. Apply the Pauli Z gate to the single-qubit state $\frac{1+2i}{\sqrt{6}}|0\rangle + \frac{1}{\sqrt{6}}|1\rangle$.  What is the output?
  5. Verify that the CNOT gate is unitary.
  6. Apply the CNOT gate to the state $\frac{1+2i}{\sqrt{6}}|01\rangle + \frac{1}{\sqrt{6}}|10\rangle$.
  7. Consider “applying the Hadamard gate the second qubit” as a two-qubit gate.
    1. What does this do to the state $|00\rangle$?
    2. What does this do to the state $|01\rangle$?
    3. Write out the two-qubit 4×4 matrix that does this, and verify that it is unitary.
  8. Begin with 2-qubit state $|00\rangle$.
    1. Apply the CNOT gate the 2-qubit system and then the Hadamard gate the 2nd qubit.
    2. Start over with $|00\rangle$.  Now apply the Hadamard gate to the 2nd qubit and then the CNOT gate to the system.
    3. Do you get the same answer?
  9. Consider the single-qubit states $|\psi\rangle = \frac{1}{\sqrt{2}}|0\rangle + \frac{1}{\sqrt{2}}|1\rangle$ and $|\phi\rangle = \frac{1}{\sqrt{2}}|0\rangle – \frac{1}{\sqrt{2}}|1\rangle$.
    1. Explain why, measuring the states in the basis $|0\rangle$, $|1\rangle$, you can’t tell the difference between these states.
    2. Now apply the Hadamard gate $H$ to both states.  Now explain what happens to $H|\psi\rangle$ and $H|\phi\rangle$ if you measure in the basis $|0\rangle$, $|1\rangle$.  Can you tell the difference between these by measuring?
  10. Create a unitary single-qubit gate that takes $|0\rangle$ to $|0\rangle + i|1\rangle$.