@@ -13,7 +13,6 @@ DATE: January 22, 2025
1313 o States in Hilbert space, pure and mixed states
1414 o Operators and simple gates
1515 o "Video of lecture to be added":"https://youtu.be/"
16- o Test your background knowledge (to be added)
1716_Reading recommendation_: "Scherer, Mathematics of Quantum Computations, chapter 2":"https://link.springer.com/book/10.1007/978-3-030-12358-1"
1817!eblock
1918
@@ -27,7 +26,7 @@ o We plan to work on two projects which will define the content of the course, t
2726 * Second project: Applications and implementations of quantum machine learning algorithms
2827 * Second project: studies of entanglement and physical realization of quantum gates and circuits
2928o Two projects which count $50\%$ each for the final grade
30- o Deadline first project March 21
29+ o Deadline first project March 21, see URL:"https://github.com/CompPhysics/QuantumComputingMachineLearning/tree/gh-pages/doc/Projects/2025/Project1"
3130o Deadline second project June 1
3231o All info at the GitHub address URL:"https://github.com/CompPhysics/QuantumComputingMachineLearning"
3332
@@ -1063,6 +1062,115 @@ If we stay with this notation we have
10631062Unitary transformations are rotations in state space which preserve the
10641063length (the square root of the inner product) of the state vector.
10651064
1065+
1066+ !split
1067+ ===== First exercise set =====
1068+
1069+ The exercises we present each week are meant to build the basis for
1070+ the two projects we will work on during the semester. The first
1071+ project deals with implementing the so-called
1072+ _Variational Quantum Eigensolver_ algorithm for finding the eigenvalues and eigenvectors of selected Hamiltonians.
1073+ Feel free to use the above codes in order to get started.
1074+
1075+
1076+
1077+ !split
1078+ ===== Exercise: One-qubit basis and Pauli matrices =====
1079+
1080+ Write a function which sets up a one-qubit basis and apply the various Pauli matrices to these basis states.
1081+
1082+ !split
1083+ ===== Exercise: Hadamard and Phase gates =====
1084+
1085+ Apply the Hadamard and Phase gates to the same one-qubit basis states and study their actions on these states.
1086+
10661087!split
1067- ===== Exercises to test yourself =====
1068- To be added
1088+ ===== Exercise: Rewrite simple one-qubit Hamiltonian in terms of Pauli matrices =====
1089+
1090+ We define a symmetric matrix $H\in {\mathbb{R}}^{2\times 2}$
1091+ !bt
1092+ \[
1093+ H = \begin{bmatrix} H_{11} & H_{12} \\ H_{21} & H_{22}
1094+ \end{bmatrix},
1095+ \]
1096+ !et
1097+ We let $H = H_0 + H_I$, where
1098+ !bt
1099+ \[
1100+ H_0= \begin{bmatrix} E_1 & 0 \\ 0 & E_2\end{bmatrix},
1101+ \]
1102+ !et
1103+ is a diagonal matrix. Similarly,
1104+ !bt
1105+ \[
1106+ H_I= \begin{bmatrix} V_{11} & V_{12} \\ V_{21} & V_{22}\end{bmatrix},
1107+ \]
1108+ !et
1109+ where $V_{ij}$ represent various interaction matrix elements.
1110+ We can view $H_0$ as the non-interacting solution
1111+ !bt
1112+ \begin{equation}
1113+ H_0\vert 0 \rangle =E_1\vert 0 \rangle,
1114+ \end{equation}
1115+ !et
1116+ and
1117+ !bt
1118+ \begin{equation}
1119+ H_0\vert 1\rangle =E_2\vert 1\rangle,
1120+ \end{equation}
1121+ !et
1122+ where we have defined the orthogonal computational one-qubit basis states $\vert 0\rangle$ and $\vert 1\rangle$.
1123+
1124+
1125+ !bsubex
1126+ Show that you can rewrite the above Hamiltonian in terms of the Pauli $x$ and $z$ matrices
1127+ !bsol
1128+ We rewrite $H$ (and $H_0$ and $H_I$) via Pauli matrices
1129+ !bt
1130+ \[
1131+ H_0 = \mathcal{E} I + \Omega \sigma_z, \quad \mathcal{E} = \frac{E_1
1132+ + E_2}{2}, \; \Omega = \frac{E_1-E_2}{2},
1133+ \]
1134+ !et
1135+ and
1136+ !bt
1137+ \[
1138+ H_I = c \bm{I} +\omega_z\sigma_z + \omega_x\sigma_x,
1139+ \]
1140+ !et
1141+ with $c = (V_{11}+V_{22})/2$, $\omega_z = (V_{11}-V_{22})/2$ and $\omega_x = V_{12}=V_{21}$.
1142+ Study the behavior of these eigenstates as functions of the interaction strength $\lambda$.
1143+ !esol
1144+ !esubex
1145+
1146+ !split
1147+ ===== Exercise: Develop code for two and more qubit basis sets =====
1148+
1149+ Using the one-qubit basis write a code which sets up a two-qubit basis
1150+ and encodes this basis.
1151+
1152+ !split
1153+ ===== Exercise: Two-qubit Hamiltonian =====
1154+
1155+ Use the Hamiltonian for the two-qubit example to find the eigenpairs
1156+ as functions of the interaction strength $\lambda$ and study the final
1157+ eigenvectors as functions of the admixture of the original basis
1158+ states.
1159+
1160+
1161+
1162+
1163+
1164+ !split
1165+ ===== The next lecture, February 5 =====
1166+
1167+ In our next lecture, we will discuss
1168+ o Reminder and review of density matrices and measurements
1169+ o Schmidt decomposition and entanglement
1170+ o Discussion of entropies, classical information entropy (Shannon entropy) and von Neumann entropy
1171+ Chapters 3 and 4 of Scherer's text contains useful discussions of several of these topics.
1172+
1173+
1174+
1175+
1176+
0 commit comments