Skip to content

Commit c4c9fcf

Browse files
committed
update
1 parent e09b7d8 commit c4c9fcf

File tree

8 files changed

+247
-426
lines changed

8 files changed

+247
-426
lines changed

doc/pub/week2/html/week2-bs.html

Lines changed: 15 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -117,32 +117,20 @@
117117
('Examples of entanglement', 2, None, 'examples-of-entanglement'),
118118
('Ground state of helium', 2, None, 'ground-state-of-helium'),
119119
('Maximally entangled', 2, None, 'maximally-entangled'),
120-
('Density matrices in more detail',
121-
2,
122-
None,
123-
'density-matrices-in-more-detail'),
124120
('Second exercise set', 2, None, 'second-exercise-set'),
125-
('Ex1: One-qubit basis and Pauli matrices',
126-
2,
127-
None,
128-
'ex1-one-qubit-basis-and-pauli-matrices'),
129-
('Ex2: Hadamard and Phase gates',
121+
('1: Traces of operators', 2, None, '1-traces-of-operators'),
122+
('2: Exponentiated operators',
130123
2,
131124
None,
132-
'ex2-hadamard-and-phase-gates'),
133-
('Ex3: Traces of operators', 2, None, 'ex3-traces-of-operators'),
134-
('Ex4: Exponentiated operators',
125+
'2-exponentiated-operators'),
126+
('3: Reduced density operators I',
135127
2,
136128
None,
137-
'ex4-exponentiated-operators'),
138-
('Ex5: Reduced density operators I',
129+
'3-reduced-density-operators-i'),
130+
('4: Reduced density operators II',
139131
2,
140132
None,
141-
'ex5-reduced-density-operators-i'),
142-
('Ex6: Reduced density operators II',
143-
2,
144-
None,
145-
'ex6-reduced-density-operators-ii'),
133+
'4-reduced-density-operators-ii'),
146134
('The next lecture, February 4, 2026',
147135
2,
148136
None,
@@ -229,14 +217,11 @@
229217
<!-- navigation toc: --> <li><a href="#examples-of-entanglement" style="font-size: 80%;">Examples of entanglement</a></li>
230218
<!-- navigation toc: --> <li><a href="#ground-state-of-helium" style="font-size: 80%;">Ground state of helium</a></li>
231219
<!-- navigation toc: --> <li><a href="#maximally-entangled" style="font-size: 80%;">Maximally entangled</a></li>
232-
<!-- navigation toc: --> <li><a href="#density-matrices-in-more-detail" style="font-size: 80%;">Density matrices in more detail</a></li>
233220
<!-- navigation toc: --> <li><a href="#second-exercise-set" style="font-size: 80%;">Second exercise set</a></li>
234-
<!-- navigation toc: --> <li><a href="#ex1-one-qubit-basis-and-pauli-matrices" style="font-size: 80%;">Ex1: One-qubit basis and Pauli matrices</a></li>
235-
<!-- navigation toc: --> <li><a href="#ex2-hadamard-and-phase-gates" style="font-size: 80%;">Ex2: Hadamard and Phase gates</a></li>
236-
<!-- navigation toc: --> <li><a href="#ex3-traces-of-operators" style="font-size: 80%;">Ex3: Traces of operators</a></li>
237-
<!-- navigation toc: --> <li><a href="#ex4-exponentiated-operators" style="font-size: 80%;">Ex4: Exponentiated operators</a></li>
238-
<!-- navigation toc: --> <li><a href="#ex5-reduced-density-operators-i" style="font-size: 80%;">Ex5: Reduced density operators I</a></li>
239-
<!-- navigation toc: --> <li><a href="#ex6-reduced-density-operators-ii" style="font-size: 80%;">Ex6: Reduced density operators II</a></li>
221+
<!-- navigation toc: --> <li><a href="#1-traces-of-operators" style="font-size: 80%;">1: Traces of operators</a></li>
222+
<!-- navigation toc: --> <li><a href="#2-exponentiated-operators" style="font-size: 80%;">2: Exponentiated operators</a></li>
223+
<!-- navigation toc: --> <li><a href="#3-reduced-density-operators-i" style="font-size: 80%;">3: Reduced density operators I</a></li>
224+
<!-- navigation toc: --> <li><a href="#4-reduced-density-operators-ii" style="font-size: 80%;">4: Reduced density operators II</a></li>
240225
<!-- navigation toc: --> <li><a href="#the-next-lecture-february-4-2026" style="font-size: 80%;">The next lecture, February 4, 2026</a></li>
241226

242227
</ul>
@@ -1146,30 +1131,11 @@ <h2 id="maximally-entangled" class="anchor">Maximally entangled </h2>
11461131
$$
11471132

11481133

1149-
<!-- !split -->
1150-
<h2 id="density-matrices-in-more-detail" class="anchor">Density matrices in more detail </h2>
1151-
11521134
<!-- !split -->
11531135
<h2 id="second-exercise-set" class="anchor">Second exercise set </h2>
11541136

1155-
<p>We bring back the last two exercises from last week as they are meant to build the basis for
1156-
the two projects we will work on during the semester. The first
1157-
project deals with implementing the so-called
1158-
<b>Variational Quantum Eigensolver</b> algorithm for finding the eigenvalues and eigenvectors of selected Hamiltonians.
1159-
</p>
1160-
1161-
<!-- !split -->
1162-
<h2 id="ex1-one-qubit-basis-and-pauli-matrices" class="anchor">Ex1: One-qubit basis and Pauli matrices </h2>
1163-
1164-
<p>Write a function which sets up a one-qubit basis and apply the various Pauli matrices to these basis states.</p>
1165-
1166-
<!-- !split -->
1167-
<h2 id="ex2-hadamard-and-phase-gates" class="anchor">Ex2: Hadamard and Phase gates </h2>
1168-
1169-
<p>Apply the Hadamard and Phase gates to the same one-qubit basis states and study their actions on these states.</p>
1170-
11711137
<!-- !split -->
1172-
<h2 id="ex3-traces-of-operators" class="anchor">Ex3: Traces of operators </h2>
1138+
<h2 id="1-traces-of-operators" class="anchor">1: Traces of operators </h2>
11731139

11741140
<p>Prove that the trace is cyclic, that is for three operators \( \boldsymbol{A} \), \( \boldsymbol{B} \) and \( \boldsymbol{C} \), we have</p>
11751141
$$
@@ -1178,7 +1144,7 @@ <h2 id="ex3-traces-of-operators" class="anchor">Ex3: Traces of operators </h2>
11781144

11791145

11801146
<!-- !split -->
1181-
<h2 id="ex4-exponentiated-operators" class="anchor">Ex4: Exponentiated operators </h2>
1147+
<h2 id="2-exponentiated-operators" class="anchor">2: Exponentiated operators </h2>
11821148

11831149
<p>Let \( \boldsymbol{A} \) be an operator on a vector space satisfying \( \boldsymbol{A}^2=1 \) and \( \alpha \) any real constant. Show that</p>
11841150
$$
@@ -1188,12 +1154,12 @@ <h2 id="ex4-exponentiated-operators" class="anchor">Ex4: Exponentiated operators
11881154
<p>Does this apply to the Pauli matrices?</p>
11891155

11901156
<!-- !split -->
1191-
<h2 id="ex5-reduced-density-operators-i" class="anchor">Ex5: Reduced density operators I </h2>
1157+
<h2 id="3-reduced-density-operators-i" class="anchor">3: Reduced density operators I </h2>
11921158

11931159
<p>For each of the Bell states, find the reduced density operator/matrix for each qubit.</p>
11941160

11951161
<!-- !split -->
1196-
<h2 id="ex6-reduced-density-operators-ii" class="anchor">Ex6: Reduced density operators II </h2>
1162+
<h2 id="4-reduced-density-operators-ii" class="anchor">4: Reduced density operators II </h2>
11971163

11981164
<p>Suppose we have a composite system which consists of systems \( A \) and
11991165
\( B \) in the state \( \vert a\rangle \otimes \vert b\rangle \), where \( \vert

doc/pub/week2/html/week2-reveal.html

Lines changed: 4 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1245,34 +1245,12 @@ <h2 id="maximally-entangled">Maximally entangled </h2>
12451245
<p>&nbsp;<br>
12461246
</section>
12471247

1248-
<section>
1249-
<h2 id="density-matrices-in-more-detail">Density matrices in more detail </h2>
1250-
</section>
1251-
12521248
<section>
12531249
<h2 id="second-exercise-set">Second exercise set </h2>
1254-
1255-
<p>We bring back the last two exercises from last week as they are meant to build the basis for
1256-
the two projects we will work on during the semester. The first
1257-
project deals with implementing the so-called
1258-
<b>Variational Quantum Eigensolver</b> algorithm for finding the eigenvalues and eigenvectors of selected Hamiltonians.
1259-
</p>
1260-
</section>
1261-
1262-
<section>
1263-
<h2 id="ex1-one-qubit-basis-and-pauli-matrices">Ex1: One-qubit basis and Pauli matrices </h2>
1264-
1265-
<p>Write a function which sets up a one-qubit basis and apply the various Pauli matrices to these basis states.</p>
1266-
</section>
1267-
1268-
<section>
1269-
<h2 id="ex2-hadamard-and-phase-gates">Ex2: Hadamard and Phase gates </h2>
1270-
1271-
<p>Apply the Hadamard and Phase gates to the same one-qubit basis states and study their actions on these states.</p>
12721250
</section>
12731251

12741252
<section>
1275-
<h2 id="ex3-traces-of-operators">Ex3: Traces of operators </h2>
1253+
<h2 id="1-traces-of-operators">1: Traces of operators </h2>
12761254

12771255
<p>Prove that the trace is cyclic, that is for three operators \( \boldsymbol{A} \), \( \boldsymbol{B} \) and \( \boldsymbol{C} \), we have</p>
12781256
<p>&nbsp;<br>
@@ -1283,7 +1261,7 @@ <h2 id="ex3-traces-of-operators">Ex3: Traces of operators </h2>
12831261
</section>
12841262

12851263
<section>
1286-
<h2 id="ex4-exponentiated-operators">Ex4: Exponentiated operators </h2>
1264+
<h2 id="2-exponentiated-operators">2: Exponentiated operators </h2>
12871265

12881266
<p>Let \( \boldsymbol{A} \) be an operator on a vector space satisfying \( \boldsymbol{A}^2=1 \) and \( \alpha \) any real constant. Show that</p>
12891267
<p>&nbsp;<br>
@@ -1296,13 +1274,13 @@ <h2 id="ex4-exponentiated-operators">Ex4: Exponentiated operators </h2>
12961274
</section>
12971275

12981276
<section>
1299-
<h2 id="ex5-reduced-density-operators-i">Ex5: Reduced density operators I </h2>
1277+
<h2 id="3-reduced-density-operators-i">3: Reduced density operators I </h2>
13001278

13011279
<p>For each of the Bell states, find the reduced density operator/matrix for each qubit.</p>
13021280
</section>
13031281

13041282
<section>
1305-
<h2 id="ex6-reduced-density-operators-ii">Ex6: Reduced density operators II </h2>
1283+
<h2 id="4-reduced-density-operators-ii">4: Reduced density operators II </h2>
13061284

13071285
<p>Suppose we have a composite system which consists of systems \( A \) and
13081286
\( B \) in the state \( \vert a\rangle \otimes \vert b\rangle \), where \( \vert

doc/pub/week2/html/week2-solarized.html

Lines changed: 11 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -144,32 +144,20 @@
144144
('Examples of entanglement', 2, None, 'examples-of-entanglement'),
145145
('Ground state of helium', 2, None, 'ground-state-of-helium'),
146146
('Maximally entangled', 2, None, 'maximally-entangled'),
147-
('Density matrices in more detail',
148-
2,
149-
None,
150-
'density-matrices-in-more-detail'),
151147
('Second exercise set', 2, None, 'second-exercise-set'),
152-
('Ex1: One-qubit basis and Pauli matrices',
153-
2,
154-
None,
155-
'ex1-one-qubit-basis-and-pauli-matrices'),
156-
('Ex2: Hadamard and Phase gates',
148+
('1: Traces of operators', 2, None, '1-traces-of-operators'),
149+
('2: Exponentiated operators',
157150
2,
158151
None,
159-
'ex2-hadamard-and-phase-gates'),
160-
('Ex3: Traces of operators', 2, None, 'ex3-traces-of-operators'),
161-
('Ex4: Exponentiated operators',
152+
'2-exponentiated-operators'),
153+
('3: Reduced density operators I',
162154
2,
163155
None,
164-
'ex4-exponentiated-operators'),
165-
('Ex5: Reduced density operators I',
156+
'3-reduced-density-operators-i'),
157+
('4: Reduced density operators II',
166158
2,
167159
None,
168-
'ex5-reduced-density-operators-i'),
169-
('Ex6: Reduced density operators II',
170-
2,
171-
None,
172-
'ex6-reduced-density-operators-ii'),
160+
'4-reduced-density-operators-ii'),
173161
('The next lecture, February 4, 2026',
174162
2,
175163
None,
@@ -1081,30 +1069,11 @@ <h2 id="maximally-entangled">Maximally entangled </h2>
10811069
$$
10821070

10831071

1084-
<!-- !split --><br><br><br><br><br><br><br><br><br><br>
1085-
<h2 id="density-matrices-in-more-detail">Density matrices in more detail </h2>
1086-
10871072
<!-- !split --><br><br><br><br><br><br><br><br><br><br>
10881073
<h2 id="second-exercise-set">Second exercise set </h2>
10891074

1090-
<p>We bring back the last two exercises from last week as they are meant to build the basis for
1091-
the two projects we will work on during the semester. The first
1092-
project deals with implementing the so-called
1093-
<b>Variational Quantum Eigensolver</b> algorithm for finding the eigenvalues and eigenvectors of selected Hamiltonians.
1094-
</p>
1095-
1096-
<!-- !split --><br><br><br><br><br><br><br><br><br><br>
1097-
<h2 id="ex1-one-qubit-basis-and-pauli-matrices">Ex1: One-qubit basis and Pauli matrices </h2>
1098-
1099-
<p>Write a function which sets up a one-qubit basis and apply the various Pauli matrices to these basis states.</p>
1100-
1101-
<!-- !split --><br><br><br><br><br><br><br><br><br><br>
1102-
<h2 id="ex2-hadamard-and-phase-gates">Ex2: Hadamard and Phase gates </h2>
1103-
1104-
<p>Apply the Hadamard and Phase gates to the same one-qubit basis states and study their actions on these states.</p>
1105-
11061075
<!-- !split --><br><br><br><br><br><br><br><br><br><br>
1107-
<h2 id="ex3-traces-of-operators">Ex3: Traces of operators </h2>
1076+
<h2 id="1-traces-of-operators">1: Traces of operators </h2>
11081077

11091078
<p>Prove that the trace is cyclic, that is for three operators \( \boldsymbol{A} \), \( \boldsymbol{B} \) and \( \boldsymbol{C} \), we have</p>
11101079
$$
@@ -1113,7 +1082,7 @@ <h2 id="ex3-traces-of-operators">Ex3: Traces of operators </h2>
11131082

11141083

11151084
<!-- !split --><br><br><br><br><br><br><br><br><br><br>
1116-
<h2 id="ex4-exponentiated-operators">Ex4: Exponentiated operators </h2>
1085+
<h2 id="2-exponentiated-operators">2: Exponentiated operators </h2>
11171086

11181087
<p>Let \( \boldsymbol{A} \) be an operator on a vector space satisfying \( \boldsymbol{A}^2=1 \) and \( \alpha \) any real constant. Show that</p>
11191088
$$
@@ -1123,12 +1092,12 @@ <h2 id="ex4-exponentiated-operators">Ex4: Exponentiated operators </h2>
11231092
<p>Does this apply to the Pauli matrices?</p>
11241093

11251094
<!-- !split --><br><br><br><br><br><br><br><br><br><br>
1126-
<h2 id="ex5-reduced-density-operators-i">Ex5: Reduced density operators I </h2>
1095+
<h2 id="3-reduced-density-operators-i">3: Reduced density operators I </h2>
11271096

11281097
<p>For each of the Bell states, find the reduced density operator/matrix for each qubit.</p>
11291098

11301099
<!-- !split --><br><br><br><br><br><br><br><br><br><br>
1131-
<h2 id="ex6-reduced-density-operators-ii">Ex6: Reduced density operators II </h2>
1100+
<h2 id="4-reduced-density-operators-ii">4: Reduced density operators II </h2>
11321101

11331102
<p>Suppose we have a composite system which consists of systems \( A \) and
11341103
\( B \) in the state \( \vert a\rangle \otimes \vert b\rangle \), where \( \vert

doc/pub/week2/html/week2.html

Lines changed: 11 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -221,32 +221,20 @@
221221
('Examples of entanglement', 2, None, 'examples-of-entanglement'),
222222
('Ground state of helium', 2, None, 'ground-state-of-helium'),
223223
('Maximally entangled', 2, None, 'maximally-entangled'),
224-
('Density matrices in more detail',
225-
2,
226-
None,
227-
'density-matrices-in-more-detail'),
228224
('Second exercise set', 2, None, 'second-exercise-set'),
229-
('Ex1: One-qubit basis and Pauli matrices',
230-
2,
231-
None,
232-
'ex1-one-qubit-basis-and-pauli-matrices'),
233-
('Ex2: Hadamard and Phase gates',
225+
('1: Traces of operators', 2, None, '1-traces-of-operators'),
226+
('2: Exponentiated operators',
234227
2,
235228
None,
236-
'ex2-hadamard-and-phase-gates'),
237-
('Ex3: Traces of operators', 2, None, 'ex3-traces-of-operators'),
238-
('Ex4: Exponentiated operators',
229+
'2-exponentiated-operators'),
230+
('3: Reduced density operators I',
239231
2,
240232
None,
241-
'ex4-exponentiated-operators'),
242-
('Ex5: Reduced density operators I',
233+
'3-reduced-density-operators-i'),
234+
('4: Reduced density operators II',
243235
2,
244236
None,
245-
'ex5-reduced-density-operators-i'),
246-
('Ex6: Reduced density operators II',
247-
2,
248-
None,
249-
'ex6-reduced-density-operators-ii'),
237+
'4-reduced-density-operators-ii'),
250238
('The next lecture, February 4, 2026',
251239
2,
252240
None,
@@ -1158,30 +1146,11 @@ <h2 id="maximally-entangled">Maximally entangled </h2>
11581146
$$
11591147

11601148

1161-
<!-- !split --><br><br><br><br><br><br><br><br><br><br>
1162-
<h2 id="density-matrices-in-more-detail">Density matrices in more detail </h2>
1163-
11641149
<!-- !split --><br><br><br><br><br><br><br><br><br><br>
11651150
<h2 id="second-exercise-set">Second exercise set </h2>
11661151

1167-
<p>We bring back the last two exercises from last week as they are meant to build the basis for
1168-
the two projects we will work on during the semester. The first
1169-
project deals with implementing the so-called
1170-
<b>Variational Quantum Eigensolver</b> algorithm for finding the eigenvalues and eigenvectors of selected Hamiltonians.
1171-
</p>
1172-
1173-
<!-- !split --><br><br><br><br><br><br><br><br><br><br>
1174-
<h2 id="ex1-one-qubit-basis-and-pauli-matrices">Ex1: One-qubit basis and Pauli matrices </h2>
1175-
1176-
<p>Write a function which sets up a one-qubit basis and apply the various Pauli matrices to these basis states.</p>
1177-
1178-
<!-- !split --><br><br><br><br><br><br><br><br><br><br>
1179-
<h2 id="ex2-hadamard-and-phase-gates">Ex2: Hadamard and Phase gates </h2>
1180-
1181-
<p>Apply the Hadamard and Phase gates to the same one-qubit basis states and study their actions on these states.</p>
1182-
11831152
<!-- !split --><br><br><br><br><br><br><br><br><br><br>
1184-
<h2 id="ex3-traces-of-operators">Ex3: Traces of operators </h2>
1153+
<h2 id="1-traces-of-operators">1: Traces of operators </h2>
11851154

11861155
<p>Prove that the trace is cyclic, that is for three operators \( \boldsymbol{A} \), \( \boldsymbol{B} \) and \( \boldsymbol{C} \), we have</p>
11871156
$$
@@ -1190,7 +1159,7 @@ <h2 id="ex3-traces-of-operators">Ex3: Traces of operators </h2>
11901159

11911160

11921161
<!-- !split --><br><br><br><br><br><br><br><br><br><br>
1193-
<h2 id="ex4-exponentiated-operators">Ex4: Exponentiated operators </h2>
1162+
<h2 id="2-exponentiated-operators">2: Exponentiated operators </h2>
11941163

11951164
<p>Let \( \boldsymbol{A} \) be an operator on a vector space satisfying \( \boldsymbol{A}^2=1 \) and \( \alpha \) any real constant. Show that</p>
11961165
$$
@@ -1200,12 +1169,12 @@ <h2 id="ex4-exponentiated-operators">Ex4: Exponentiated operators </h2>
12001169
<p>Does this apply to the Pauli matrices?</p>
12011170

12021171
<!-- !split --><br><br><br><br><br><br><br><br><br><br>
1203-
<h2 id="ex5-reduced-density-operators-i">Ex5: Reduced density operators I </h2>
1172+
<h2 id="3-reduced-density-operators-i">3: Reduced density operators I </h2>
12041173

12051174
<p>For each of the Bell states, find the reduced density operator/matrix for each qubit.</p>
12061175

12071176
<!-- !split --><br><br><br><br><br><br><br><br><br><br>
1208-
<h2 id="ex6-reduced-density-operators-ii">Ex6: Reduced density operators II </h2>
1177+
<h2 id="4-reduced-density-operators-ii">4: Reduced density operators II </h2>
12091178

12101179
<p>Suppose we have a composite system which consists of systems \( A \) and
12111180
\( B \) in the state \( \vert a\rangle \otimes \vert b\rangle \), where \( \vert
0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)