Skip to content

Commit 0668d7a

Browse files
committed
update week 2
1 parent d785487 commit 0668d7a

File tree

8 files changed

+900
-489
lines changed

8 files changed

+900
-489
lines changed

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

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
99
<meta name="generator" content="DocOnce: https://github.com/doconce/doconce/" />
1010
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
11-
<meta name="description" content="Measurements, spectral decomposition and Hamiltonians">
12-
<title>Measurements, spectral decomposition and Hamiltonians</title>
11+
<meta name="description" content="Measurements, spectral decomposition and HamiltoniansA">
12+
<title>Measurements, spectral decomposition and HamiltoniansA</title>
1313
<!-- Bootstrap style: bootstrap -->
1414
<!-- doconce format html week2.do.txt --html_style=bootstrap --pygments_html_style=default --html_admon=bootstrap_panel --html_output=week2-bs --no_mako -->
1515
<link href="https://netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css" rel="stylesheet">
@@ -41,7 +41,6 @@
4141
None,
4242
'summary-from-last-week-and-plans-for-this-week'),
4343
("This week's plans", 2, None, 'this-week-s-plans'),
44-
('Links to code examples', 2, None, 'links-to-code-examples'),
4544
('Measurements', 2, None, 'measurements'),
4645
('Properties of a measurement',
4746
2,
@@ -63,7 +62,9 @@
6362
2,
6463
None,
6564
'the-spectral-decomposition-from-last-week'),
65+
('Bloch sphere', 2, None, 'bloch-sphere'),
6666
('Meet the Bloch sphere', 2, None, 'meet-the-bloch-sphere'),
67+
('Bloch sphere exercise', 2, None, 'bloch-sphere-exercise'),
6768
('Measurements', 2, None, 'measurements'),
6869
('Qubit example', 2, None, 'qubit-example'),
6970
('Total probability', 2, None, 'total-probability'),
@@ -161,7 +162,7 @@
161162
<span class="icon-bar"></span>
162163
<span class="icon-bar"></span>
163164
</button>
164-
<a class="navbar-brand" href="week2-bs.html">Measurements, spectral decomposition and Hamiltonians</a>
165+
<a class="navbar-brand" href="week2-bs.html">Measurements, spectral decomposition and HamiltoniansA</a>
165166
</div>
166167
<div class="navbar-collapse collapse navbar-responsive-collapse">
167168
<ul class="nav navbar-nav navbar-right">
@@ -170,7 +171,6 @@
170171
<ul class="dropdown-menu">
171172
<!-- navigation toc: --> <li><a href="#summary-from-last-week-and-plans-for-this-week" style="font-size: 80%;">Summary from last week and plans for this week</a></li>
172173
<!-- navigation toc: --> <li><a href="#this-week-s-plans" style="font-size: 80%;">This week's plans</a></li>
173-
<!-- navigation toc: --> <li><a href="#links-to-code-examples" style="font-size: 80%;">Links to code examples</a></li>
174174
<!-- navigation toc: --> <li><a href="#measurements" style="font-size: 80%;">Measurements</a></li>
175175
<!-- navigation toc: --> <li><a href="#properties-of-a-measurement" style="font-size: 80%;">Properties of a measurement</a></li>
176176
<!-- navigation toc: --> <li><a href="#entanglement" style="font-size: 80%;">Entanglement</a></li>
@@ -183,7 +183,9 @@
183183
<!-- navigation toc: --> <li><a href="#spectral-decomposition" style="font-size: 80%;">Spectral decomposition</a></li>
184184
<!-- navigation toc: --> <li><a href="#explicit-results" style="font-size: 80%;">Explicit results</a></li>
185185
<!-- navigation toc: --> <li><a href="#the-spectral-decomposition-from-last-week" style="font-size: 80%;">The spectral decomposition, from last week</a></li>
186+
<!-- navigation toc: --> <li><a href="#bloch-sphere" style="font-size: 80%;">Bloch sphere</a></li>
186187
<!-- navigation toc: --> <li><a href="#meet-the-bloch-sphere" style="font-size: 80%;">Meet the Bloch sphere</a></li>
188+
<!-- navigation toc: --> <li><a href="#bloch-sphere-exercise" style="font-size: 80%;">Bloch sphere exercise</a></li>
187189
<!-- navigation toc: --> <li><a href="#measurements" style="font-size: 80%;">Measurements</a></li>
188190
<!-- navigation toc: --> <li><a href="#qubit-example" style="font-size: 80%;">Qubit example</a></li>
189191
<!-- navigation toc: --> <li><a href="#total-probability" style="font-size: 80%;">Total probability</a></li>
@@ -226,7 +228,7 @@
226228
<!-- ------------------- main content ---------------------- -->
227229
<div class="jumbotron">
228230
<center>
229-
<h1>Measurements, spectral decomposition and Hamiltonians</h1>
231+
<h1>Measurements, spectral decomposition and HamiltoniansA</h1>
230232
</center> <!-- document title -->
231233

232234
<!-- author(s): Morten Hjorth-Jensen -->
@@ -285,10 +287,6 @@ <h2 id="this-week-s-plans" class="anchor">This week's plans </h2>
285287

286288
<!-- * <b>Reading recommendation</b>: Scherer, Mathematics of Quantum Computations, chapter 3.1-3.3 and Hundt, Quantum Computing for Programmers, chapter 2.1-2.5. Hundt's text is relevant for the programming part where we build from scratch the ingredients we will need. -->
287289

288-
<!-- !split -->
289-
<h2 id="links-to-code-examples" class="anchor">Links to code examples </h2>
290-
291-
<p>To be added</p>
292290
<!-- The code examples presented by Keran are at -->
293291
<!-- <a href="https://github.com/CompPhysics/QuantumComputingMachineLearning/blob/gh-pages/doc/pub/week2/ipynb/codeskeran.ipynb" target="_self"><tt>https://github.com/CompPhysics/QuantumComputingMachineLearning/blob/gh-pages/doc/pub/week2/ipynb/codeskeran.ipynb</tt></a> -->
294292

@@ -521,6 +519,9 @@ <h2 id="the-spectral-decomposition-from-last-week" class="anchor">The spectral d
521519
$$
522520

523521

522+
<!-- !split -->
523+
<h2 id="bloch-sphere" class="anchor">Bloch sphere </h2>
524+
524525
<!-- !split -->
525526
<h2 id="meet-the-bloch-sphere" class="anchor">Meet the Bloch sphere </h2>
526527

@@ -554,6 +555,11 @@ <h2 id="meet-the-bloch-sphere" class="anchor">Meet the Bloch sphere </h2>
554555
</div>
555556

556557

558+
<!-- !split -->
559+
<h2 id="bloch-sphere-exercise" class="anchor">Bloch sphere exercise </h2>
560+
561+
<p>Determine the Bloch sphere angles \( \theta \) and \( \phi \) for the eigenstates of each Pauli matrix (see lectures from last week for the definition of Pauli matrices).</p>
562+
557563
<!-- !split -->
558564
<h2 id="measurements" class="anchor">Measurements </h2>
559565

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

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
1010
<meta name="generator" content="DocOnce: https://github.com/doconce/doconce/" />
1111
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
12-
<meta name="description" content="Measurements, spectral decomposition and Hamiltonians">
13-
<title>Measurements, spectral decomposition and Hamiltonians</title>
12+
<meta name="description" content="Measurements, spectral decomposition and HamiltoniansA">
13+
<title>Measurements, spectral decomposition and HamiltoniansA</title>
1414

1515
<!-- reveal.js: https://lab.hakim.se/reveal-js/ -->
1616

@@ -168,7 +168,7 @@
168168
<section>
169169
<!-- ------------------- main content ---------------------- -->
170170
<center>
171-
<h1 style="text-align: center;">Measurements, spectral decomposition and Hamiltonians</h1>
171+
<h1 style="text-align: center;">Measurements, spectral decomposition and HamiltoniansA</h1>
172172
</center> <!-- document title -->
173173

174174
<!-- author(s): Morten Hjorth-Jensen -->
@@ -211,7 +211,7 @@ <h2 id="summary-from-last-week-and-plans-for-this-week">Summary from last week a
211211
<h2 id="this-week-s-plans">This week's plans </h2>
212212

213213
<div class="alert alert-block alert-block alert-text-normal">
214-
<b>We will repeat some of the topics from last week and discuss also</b>
214+
<b>We will repeat some of the topics from last week and discuss</b>
215215
<p>
216216
<ol>
217217
<p><li> tensor products of Hilbert Spaces and definition of Computational basis, partly repetition from last week</li>
@@ -227,12 +227,7 @@ <h2 id="this-week-s-plans">This week's plans </h2>
227227

228228

229229
<!-- * <b>Reading recommendation</b>: Scherer, Mathematics of Quantum Computations, chapter 3.1-3.3 and Hundt, Quantum Computing for Programmers, chapter 2.1-2.5. Hundt's text is relevant for the programming part where we build from scratch the ingredients we will need. -->
230-
</section>
231-
232-
<section>
233-
<h2 id="links-to-code-examples">Links to code examples </h2>
234230

235-
<p>To be added</p>
236231
<!-- The code examples presented by Keran are at -->
237232
<!-- <a href="https://github.com/CompPhysics/QuantumComputingMachineLearning/blob/gh-pages/doc/pub/week2/ipynb/codeskeran.ipynb" target="_blank"><tt>https://github.com/CompPhysics/QuantumComputingMachineLearning/blob/gh-pages/doc/pub/week2/ipynb/codeskeran.ipynb</tt></a> -->
238233
</section>
@@ -513,6 +508,10 @@ <h2 id="the-spectral-decomposition-from-last-week">The spectral decomposition, f
513508
<p>&nbsp;<br>
514509
</section>
515510

511+
<section>
512+
<h2 id="bloch-sphere">Bloch sphere </h2>
513+
</section>
514+
516515
<section>
517516
<h2 id="meet-the-bloch-sphere">Meet the Bloch sphere </h2>
518517

@@ -546,6 +545,12 @@ <h2 id="meet-the-bloch-sphere">Meet the Bloch sphere </h2>
546545
</div>
547546
</section>
548547

548+
<section>
549+
<h2 id="bloch-sphere-exercise">Bloch sphere exercise </h2>
550+
551+
<p>Determine the Bloch sphere angles \( \theta \) and \( \phi \) for the eigenstates of each Pauli matrix (see lectures from last week for the definition of Pauli matrices).</p>
552+
</section>
553+
549554
<section>
550555
<h2 id="measurements">Measurements </h2>
551556

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

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
99
<meta name="generator" content="DocOnce: https://github.com/doconce/doconce/" />
1010
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
11-
<meta name="description" content="Measurements, spectral decomposition and Hamiltonians">
12-
<title>Measurements, spectral decomposition and Hamiltonians</title>
11+
<meta name="description" content="Measurements, spectral decomposition and HamiltoniansA">
12+
<title>Measurements, spectral decomposition and HamiltoniansA</title>
1313
<link href="https://cdn.rawgit.com/doconce/doconce/master/bundled/html_styles/style_solarized_box/css/solarized_light_code.css" rel="stylesheet" type="text/css" title="light"/>
1414
<script src="https://cdn.rawgit.com/doconce/doconce/master/bundled/html_styles/style_solarized_box/js/highlight.pack.js"></script>
1515
<script>hljs.initHighlightingOnLoad();</script>
@@ -68,7 +68,6 @@
6868
None,
6969
'summary-from-last-week-and-plans-for-this-week'),
7070
("This week's plans", 2, None, 'this-week-s-plans'),
71-
('Links to code examples', 2, None, 'links-to-code-examples'),
7271
('Measurements', 2, None, 'measurements'),
7372
('Properties of a measurement',
7473
2,
@@ -90,7 +89,9 @@
9089
2,
9190
None,
9291
'the-spectral-decomposition-from-last-week'),
92+
('Bloch sphere', 2, None, 'bloch-sphere'),
9393
('Meet the Bloch sphere', 2, None, 'meet-the-bloch-sphere'),
94+
('Bloch sphere exercise', 2, None, 'bloch-sphere-exercise'),
9495
('Measurements', 2, None, 'measurements'),
9596
('Qubit example', 2, None, 'qubit-example'),
9697
('Total probability', 2, None, 'total-probability'),
@@ -182,7 +183,7 @@
182183

183184
<!-- ------------------- main content ---------------------- -->
184185
<center>
185-
<h1>Measurements, spectral decomposition and Hamiltonians</h1>
186+
<h1>Measurements, spectral decomposition and HamiltoniansA</h1>
186187
</center> <!-- document title -->
187188

188189
<!-- author(s): Morten Hjorth-Jensen -->
@@ -219,7 +220,7 @@ <h2 id="summary-from-last-week-and-plans-for-this-week">Summary from last week a
219220
<h2 id="this-week-s-plans">This week's plans </h2>
220221

221222
<div class="alert alert-block alert-block alert-text-normal">
222-
<b>We will repeat some of the topics from last week and discuss also</b>
223+
<b>We will repeat some of the topics from last week and discuss</b>
223224
<p>
224225
<ol>
225226
<li> tensor products of Hilbert Spaces and definition of Computational basis, partly repetition from last week</li>
@@ -236,10 +237,6 @@ <h2 id="this-week-s-plans">This week's plans </h2>
236237

237238
<!-- * <b>Reading recommendation</b>: Scherer, Mathematics of Quantum Computations, chapter 3.1-3.3 and Hundt, Quantum Computing for Programmers, chapter 2.1-2.5. Hundt's text is relevant for the programming part where we build from scratch the ingredients we will need. -->
238239

239-
<!-- !split --><br><br><br><br><br><br><br><br><br><br>
240-
<h2 id="links-to-code-examples">Links to code examples </h2>
241-
242-
<p>To be added</p>
243240
<!-- The code examples presented by Keran are at -->
244241
<!-- <a href="https://github.com/CompPhysics/QuantumComputingMachineLearning/blob/gh-pages/doc/pub/week2/ipynb/codeskeran.ipynb" target="_blank"><tt>https://github.com/CompPhysics/QuantumComputingMachineLearning/blob/gh-pages/doc/pub/week2/ipynb/codeskeran.ipynb</tt></a> -->
245242

@@ -472,6 +469,9 @@ <h2 id="the-spectral-decomposition-from-last-week">The spectral decomposition, f
472469
$$
473470

474471

472+
<!-- !split --><br><br><br><br><br><br><br><br><br><br>
473+
<h2 id="bloch-sphere">Bloch sphere </h2>
474+
475475
<!-- !split --><br><br><br><br><br><br><br><br><br><br>
476476
<h2 id="meet-the-bloch-sphere">Meet the Bloch sphere </h2>
477477

@@ -505,6 +505,11 @@ <h2 id="meet-the-bloch-sphere">Meet the Bloch sphere </h2>
505505
</div>
506506

507507

508+
<!-- !split --><br><br><br><br><br><br><br><br><br><br>
509+
<h2 id="bloch-sphere-exercise">Bloch sphere exercise </h2>
510+
511+
<p>Determine the Bloch sphere angles \( \theta \) and \( \phi \) for the eigenstates of each Pauli matrix (see lectures from last week for the definition of Pauli matrices).</p>
512+
508513
<!-- !split --><br><br><br><br><br><br><br><br><br><br>
509514
<h2 id="measurements">Measurements </h2>
510515

doc/pub/week2/html/week2.html

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
99
<meta name="generator" content="DocOnce: https://github.com/doconce/doconce/" />
1010
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
11-
<meta name="description" content="Measurements, spectral decomposition and Hamiltonians">
12-
<title>Measurements, spectral decomposition and Hamiltonians</title>
11+
<meta name="description" content="Measurements, spectral decomposition and HamiltoniansA">
12+
<title>Measurements, spectral decomposition and HamiltoniansA</title>
1313
<style type="text/css">
1414
/* bloodish style */
1515
body {
@@ -145,7 +145,6 @@
145145
None,
146146
'summary-from-last-week-and-plans-for-this-week'),
147147
("This week's plans", 2, None, 'this-week-s-plans'),
148-
('Links to code examples', 2, None, 'links-to-code-examples'),
149148
('Measurements', 2, None, 'measurements'),
150149
('Properties of a measurement',
151150
2,
@@ -167,7 +166,9 @@
167166
2,
168167
None,
169168
'the-spectral-decomposition-from-last-week'),
169+
('Bloch sphere', 2, None, 'bloch-sphere'),
170170
('Meet the Bloch sphere', 2, None, 'meet-the-bloch-sphere'),
171+
('Bloch sphere exercise', 2, None, 'bloch-sphere-exercise'),
171172
('Measurements', 2, None, 'measurements'),
172173
('Qubit example', 2, None, 'qubit-example'),
173174
('Total probability', 2, None, 'total-probability'),
@@ -259,7 +260,7 @@
259260

260261
<!-- ------------------- main content ---------------------- -->
261262
<center>
262-
<h1>Measurements, spectral decomposition and Hamiltonians</h1>
263+
<h1>Measurements, spectral decomposition and HamiltoniansA</h1>
263264
</center> <!-- document title -->
264265

265266
<!-- author(s): Morten Hjorth-Jensen -->
@@ -296,7 +297,7 @@ <h2 id="summary-from-last-week-and-plans-for-this-week">Summary from last week a
296297
<h2 id="this-week-s-plans">This week's plans </h2>
297298

298299
<div class="alert alert-block alert-block alert-text-normal">
299-
<b>We will repeat some of the topics from last week and discuss also</b>
300+
<b>We will repeat some of the topics from last week and discuss</b>
300301
<p>
301302
<ol>
302303
<li> tensor products of Hilbert Spaces and definition of Computational basis, partly repetition from last week</li>
@@ -313,10 +314,6 @@ <h2 id="this-week-s-plans">This week's plans </h2>
313314

314315
<!-- * <b>Reading recommendation</b>: Scherer, Mathematics of Quantum Computations, chapter 3.1-3.3 and Hundt, Quantum Computing for Programmers, chapter 2.1-2.5. Hundt's text is relevant for the programming part where we build from scratch the ingredients we will need. -->
315316

316-
<!-- !split --><br><br><br><br><br><br><br><br><br><br>
317-
<h2 id="links-to-code-examples">Links to code examples </h2>
318-
319-
<p>To be added</p>
320317
<!-- The code examples presented by Keran are at -->
321318
<!-- <a href="https://github.com/CompPhysics/QuantumComputingMachineLearning/blob/gh-pages/doc/pub/week2/ipynb/codeskeran.ipynb" target="_blank"><tt>https://github.com/CompPhysics/QuantumComputingMachineLearning/blob/gh-pages/doc/pub/week2/ipynb/codeskeran.ipynb</tt></a> -->
322319

@@ -549,6 +546,9 @@ <h2 id="the-spectral-decomposition-from-last-week">The spectral decomposition, f
549546
$$
550547

551548

549+
<!-- !split --><br><br><br><br><br><br><br><br><br><br>
550+
<h2 id="bloch-sphere">Bloch sphere </h2>
551+
552552
<!-- !split --><br><br><br><br><br><br><br><br><br><br>
553553
<h2 id="meet-the-bloch-sphere">Meet the Bloch sphere </h2>
554554

@@ -582,6 +582,11 @@ <h2 id="meet-the-bloch-sphere">Meet the Bloch sphere </h2>
582582
</div>
583583

584584

585+
<!-- !split --><br><br><br><br><br><br><br><br><br><br>
586+
<h2 id="bloch-sphere-exercise">Bloch sphere exercise </h2>
587+
588+
<p>Determine the Bloch sphere angles \( \theta \) and \( \phi \) for the eigenstates of each Pauli matrix (see lectures from last week for the definition of Pauli matrices).</p>
589+
585590
<!-- !split --><br><br><br><br><br><br><br><br><br><br>
586591
<h2 id="measurements">Measurements </h2>
587592

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)