Skip to content

Commit 2e6c523

Browse files
committed
Update week6.do.txt
1 parent c50067b commit 2e6c523

File tree

1 file changed

+23
-1
lines changed

1 file changed

+23
-1
lines changed

doc/src/week6/week6.do.txt

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,34 @@ DATE: February 25, 2026
2121

2222
FIGURE: [figures/vqe.png, width=700 frac=1.0]
2323

24+
!split
25+
===== One-qubit Hamiltonian =====
26+
27+
Last week we simply computed the expectations values of the various
28+
Pauli matrices by evaluating expressions like
29+
!bt
30+
\[
31+
\langle \psi(\theta)\vert \bm{X} \vert \psi(\theta)\rangle,
32+
\]
33+
!et
34+
for the Pauli-$\bm{X}$ matrix and similarly for the other Pauli matrices and
35+
the $2\times 2$ identity matrix $\bm{I}$. This is however not the way
36+
we end up evaluating such expectation values on an actual quantum
37+
computer. We have to transform the set of measurements to be performed to the computational basis we have chosen.
38+
39+
!split
40+
===== Our computational basis =====
41+
42+
The computational basis we have chosen is given by the eigenvectors of
43+
the Pauli-$\bm{Z}$ matrix, namely $\vert 0 \rangle$ and $\vert
44+
1\rangle$.
45+
2446

2547

2648
!split
2749
===== Two-qubit Hamiltonian =====
2850

29-
We end this review from last week with a discussion on how to rewrite the two-qubit Hamiltonian rom last week (and project 1)
51+
Here we discuss how to rewrite the two-qubit Hamiltonian defined by the following Hamiltonian matrix (project 1)
3052
!bt
3153
\[
3254
\mathcal{H}=\begin{bmatrix} \epsilon_{1}+V_z & 0 & 0 & V_x \\

0 commit comments

Comments
 (0)