|
194 | 194 | 2, |
195 | 195 | None, |
196 | 196 | 'exercise-3-commutator-identities'), |
197 | | - ('Exercise 4: Shared eigenvectors', |
| 197 | + ('Exercise 4: Pauli matrices', |
198 | 198 | 2, |
199 | 199 | None, |
200 | | - 'exercise-4-shared-eigenvectors'), |
201 | | - ('Exercise 5: One-qubit basis and Pauli matrices', |
| 200 | + 'exercise-4-pauli-matrices'), |
| 201 | + ('Exercise 5: Shared eigenvectors', |
202 | 202 | 2, |
203 | 203 | None, |
204 | | - 'exercise-5-one-qubit-basis-and-pauli-matrices'), |
205 | | - ('Exercise 6: Hadamard and Phase gates', |
| 204 | + 'exercise-5-shared-eigenvectors'), |
| 205 | + ('Exercise 6: One-qubit basis and Pauli matrices', |
206 | 206 | 2, |
207 | 207 | None, |
208 | | - 'exercise-6-hadamard-and-phase-gates')]} |
| 208 | + 'exercise-6-one-qubit-basis-and-pauli-matrices'), |
| 209 | + ('Exercise 7: Hadamard and Phase gates', |
| 210 | + 2, |
| 211 | + None, |
| 212 | + 'exercise-7-hadamard-and-phase-gates')]} |
209 | 213 | end of tocinfo --> |
210 | 214 |
|
211 | 215 | <body> |
|
314 | 318 | <!-- navigation toc: --> <li><a href="#and-the-next-two" style="font-size: 80%;">And the next two</a></li> |
315 | 319 | <!-- navigation toc: --> <li><a href="#exercise-2-entangled-state" style="font-size: 80%;">Exercise 2: Entangled state</a></li> |
316 | 320 | <!-- navigation toc: --> <li><a href="#exercise-3-commutator-identities" style="font-size: 80%;">Exercise 3: Commutator identities</a></li> |
317 | | - <!-- navigation toc: --> <li><a href="#exercise-4-shared-eigenvectors" style="font-size: 80%;">Exercise 4: Shared eigenvectors</a></li> |
318 | | - <!-- navigation toc: --> <li><a href="#exercise-5-one-qubit-basis-and-pauli-matrices" style="font-size: 80%;">Exercise 5: One-qubit basis and Pauli matrices</a></li> |
319 | | - <!-- navigation toc: --> <li><a href="#exercise-6-hadamard-and-phase-gates" style="font-size: 80%;">Exercise 6: Hadamard and Phase gates</a></li> |
| 321 | + <!-- navigation toc: --> <li><a href="#exercise-4-pauli-matrices" style="font-size: 80%;">Exercise 4: Pauli matrices</a></li> |
| 322 | + <!-- navigation toc: --> <li><a href="#exercise-5-shared-eigenvectors" style="font-size: 80%;">Exercise 5: Shared eigenvectors</a></li> |
| 323 | + <!-- navigation toc: --> <li><a href="#exercise-6-one-qubit-basis-and-pauli-matrices" style="font-size: 80%;">Exercise 6: One-qubit basis and Pauli matrices</a></li> |
| 324 | + <!-- navigation toc: --> <li><a href="#exercise-7-hadamard-and-phase-gates" style="font-size: 80%;">Exercise 7: Hadamard and Phase gates</a></li> |
320 | 325 |
|
321 | 326 | </ul> |
322 | 327 | </li> |
@@ -1602,20 +1607,26 @@ <h2 id="exercise-3-commutator-identities" class="anchor">Exercise 3: Commutator |
1602 | 1607 | <li> \( [\hat{A},[\hat{B}\hat{C}]]= [\hat{B},[\hat{C},\hat{A}]]+[\hat{C},[\hat{A},\hat{B}]]=0 \) (the so-called Jacobi identity).</li> |
1603 | 1608 | </ol> |
1604 | 1609 | <!-- !split --> |
1605 | | -<h2 id="exercise-4-shared-eigenvectors" class="anchor">Exercise 4: Shared eigenvectors </h2> |
| 1610 | +<h2 id="exercise-4-pauli-matrices" class="anchor">Exercise 4: Pauli matrices </h2> |
| 1611 | +<ol> |
| 1612 | +<li> Set up the commutation rules for Pauli matrices, that is find \( [\sigma_i,\sigma_j] \) where \( i,j=x,y,z \).</li> |
| 1613 | +<li> We define \( \boldsymbol{X}=\sigma_x \), \( \boldsymbol{Y}=\sigma_y \) and \( \boldsymbol{Z}=\sigma_z \). Show that \( \boldsymbol{XX}=\boldsymbol{YY}=\boldsymbol{ZZ}=\boldsymbol{I} \).</li> |
| 1614 | +<li> Which one of the Pauli matrices has the qubit basis \( \vert 0\rangle \) and \( \vert 1\rangle \) as eigenbasis? What are the eigenvalues?</li> |
| 1615 | +</ol> |
| 1616 | +<!-- !split --> |
| 1617 | +<h2 id="exercise-5-shared-eigenvectors" class="anchor">Exercise 5: Shared eigenvectors </h2> |
1606 | 1618 |
|
1607 | 1619 | <p>Prove that if two operators \( \hat{A} \) and \( \hat{B} \) commute they will share a basis of eigenstates</p> |
1608 | 1620 |
|
1609 | 1621 | <!-- !split --> |
1610 | | -<h2 id="exercise-5-one-qubit-basis-and-pauli-matrices" class="anchor">Exercise 5: One-qubit basis and Pauli matrices </h2> |
| 1622 | +<h2 id="exercise-6-one-qubit-basis-and-pauli-matrices" class="anchor">Exercise 6: One-qubit basis and Pauli matrices </h2> |
1611 | 1623 |
|
1612 | 1624 | <p>Write a function which sets up a one-qubit basis and apply the various Pauli matrices to these basis states.</p> |
1613 | 1625 |
|
1614 | 1626 | <!-- !split --> |
1615 | | -<h2 id="exercise-6-hadamard-and-phase-gates" class="anchor">Exercise 6: Hadamard and Phase gates </h2> |
| 1627 | +<h2 id="exercise-7-hadamard-and-phase-gates" class="anchor">Exercise 7: Hadamard and Phase gates </h2> |
1616 | 1628 |
|
1617 | 1629 | <p>Apply the Hadamard and Phase gates to the same one-qubit basis states and study their actions on these states.</p> |
1618 | | - |
1619 | 1630 | <!-- ------------------- end of main content --------------- --> |
1620 | 1631 | </div> <!-- end container --> |
1621 | 1632 | <!-- include javascript, jQuery *first* --> |
|
0 commit comments