Skip to content

Commit 14b9351

Browse files
committed
update week 11
1 parent f4e91bf commit 14b9351

22 files changed

+2191
-846
lines changed

doc/pub/week11/html/week11-bs.html

Lines changed: 12 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,6 @@
4040
2,
4141
None,
4242
'plans-for-the-week-of-march-31-april-4-2025'),
43-
('Possible paths for project 2',
44-
2,
45-
None,
46-
'possible-paths-for-project-2'),
4743
('Brief reminder on Fourier transforms',
4844
2,
4945
None,
@@ -73,10 +69,6 @@
7369
('Inverse DFT', 2, None, 'inverse-dft'),
7470
('Orthonormality', 2, None, 'orthonormality'),
7571
('Inverse transform', 2, None, 'inverse-transform'),
76-
('Fast Fourier transform and polynomial multiplication',
77-
2,
78-
None,
79-
'fast-fourier-transform-and-polynomial-multiplication'),
8072
('From DFT to QFT', 2, None, 'from-dft-to-qft'),
8173
('In terms of arbitrary states',
8274
2,
@@ -182,7 +174,6 @@
182174
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Contents <b class="caret"></b></a>
183175
<ul class="dropdown-menu">
184176
<!-- navigation toc: --> <li><a href="#plans-for-the-week-of-march-31-april-4-2025" style="font-size: 80%;">Plans for the week of March 31-April 4, 2025</a></li>
185-
<!-- navigation toc: --> <li><a href="#possible-paths-for-project-2" style="font-size: 80%;">Possible paths for project 2</a></li>
186177
<!-- navigation toc: --> <li><a href="#brief-reminder-on-fourier-transforms" style="font-size: 80%;">Brief reminder on Fourier transforms</a></li>
187178
<!-- navigation toc: --> <li><a href="#discrete-fourier-transforms" style="font-size: 80%;">Discrete Fourier transforms</a></li>
188179
<!-- navigation toc: --> <li><a href="#fast-fourier-transform-fft" style="font-size: 80%;">Fast Fourier transform (FFT)</a></li>
@@ -194,7 +185,6 @@
194185
<!-- navigation toc: --> <li><a href="#inverse-dft" style="font-size: 80%;">Inverse DFT</a></li>
195186
<!-- navigation toc: --> <li><a href="#orthonormality" style="font-size: 80%;">Orthonormality</a></li>
196187
<!-- navigation toc: --> <li><a href="#inverse-transform" style="font-size: 80%;">Inverse transform</a></li>
197-
<!-- navigation toc: --> <li><a href="#fast-fourier-transform-and-polynomial-multiplication" style="font-size: 80%;">Fast Fourier transform and polynomial multiplication</a></li>
198188
<!-- navigation toc: --> <li><a href="#from-dft-to-qft" style="font-size: 80%;">From DFT to QFT</a></li>
199189
<!-- navigation toc: --> <li><a href="#in-terms-of-arbitrary-states" style="font-size: 80%;">In terms of arbitrary states</a></li>
200190
<!-- navigation toc: --> <li><a href="#unitarity" style="font-size: 80%;">Unitarity</a></li>
@@ -261,14 +251,11 @@ <h1>Quantum Computing, Quantum Machine Learning and Quantum Information Theories
261251

262252
<!-- author(s): Morten Hjorth-Jensen -->
263253
<center>
264-
<b>Morten Hjorth-Jensen</b> [1, 2]
265-
</center>
266-
<!-- institution(s) -->
267-
<center>
268-
[1] <b>Department of Physics, University of Oslo</b>
254+
<b>Morten Hjorth-Jensen</b>
269255
</center>
256+
<!-- institution -->
270257
<center>
271-
[2] <b>Department of Physics and Astronomy and Facility for Rare Isotope Beams, Michigan State University</b>
258+
<b>Department of Physics, University of Oslo, Norway</b>
272259
</center>
273260
<br>
274261
<center>
@@ -286,37 +273,23 @@ <h2 id="plans-for-the-week-of-march-31-april-4-2025" class="anchor">Plans for th
286273
<div class="panel-body">
287274
<!-- subsequent paragraphs come in larger fonts, so start with a paragraph -->
288275
<ol>
289-
<li> Discrete Fourier transforms (DFTs) and the fast Fourier Transform (FFT)</li>
290-
<li> Quantum Fourier transforms (QFTs), basic mathematical expressions</li>
276+
<li> Discrete Fourier transforms (DFTs, reminder from last week) ) and the fast Fourier Transform (FFT) (additional slides)</li>
277+
<li> Quantum Fourier transforms (QFTs), reminder from last week</li>
291278
<li> Setting up circuits for QFT</li>
292-
<li> Reading recommendation Hundt, Quantum Computing for Programmers, sections 6.1-6.4 on QFT.</li>
293-
<li> <a href="https://youtu.be/" target="_self">Video of lecture TBA</a>
279+
<li> Quantum phase estimation algorithm</li>
280+
<li> Reading recommendation Hundt, Quantum Computing for Programmers, sections 6.1-6.4 on QFT.
281+
<!-- o <a href="https://youtu.be/" target="_self">Video of lecture TBA</a> -->
294282
<!-- o <a href="https://github.com/CompPhysics/QuantumComputingMachineLearning/blob/gh-pages/doc/HandWrittenNotes/2024/NotesApril3.pdf" target="_self">Whiteboard notes</a> --></li>
295283
</ol>
296284
</div>
297285
</div>
298286

299287

300-
<!-- !split -->
301-
<h2 id="possible-paths-for-project-2" class="anchor">Possible paths for project 2 </h2>
302-
303-
<ul>
304-
<li> Implement QFTs</li>
305-
<li> Study other algorithms
306-
<ol type="a"></li>
307-
<li> Deutsch-Jozsa algorithm: Determine if a function is constant or balance using the fewest number of queries.</li>
308-
<li> SImon's algorithm: Determine if a function (Oracle) is one-to-one or two-to-one</li>
309-
<li> Grover's algorithm: Search unstructured list of data fast</li>
310-
<li> Possibly: Shor's algorithm and how to Factorize integers efficiently</li>
311-
</ol>
312-
<li> Study the solution of quantum mechanical eigenvalue problems with systems from atomic/molecular physics and quantum chemistry</li>
313-
<li> Quantum machine learning projects, quantum boltzmann machines or related topics
314-
<!-- For project 2, in order to be time efficient, you can use software like Qiskit, Pennylane, qBraid and/or other --></li>
315-
</ul>
316288
<!-- !split -->
317289
<h2 id="brief-reminder-on-fourier-transforms" class="anchor">Brief reminder on Fourier transforms </h2>
318290

319-
<p>Last week we reviewed some basic properties of Fourier transforms. We restate some of these results here.
291+
<p>Last week we reviewed some basic properties of Fourier transforms and derived the expressions for the quantum Fourier variant.
292+
We restate some of these results here.
320293
<a href="https://github.com/CompPhysics/QuantumComputingMachineLearning/blob/gh-pages/doc/pub/week10/ipynb/week10.ipynb" target="_self">For more information, see slides from previous week</a>
321294
</p>
322295

@@ -350,7 +323,7 @@ <h2 id="fast-fourier-transform-fft" class="anchor">Fast Fourier transform (FFT)
350323
To read more about Fast Fourier transforms and similar topics, see for example <a href="https://link.springer.com/book/10.1007/978-1-4020-6629-0" target="_self">Fast Fourier Transform - Algorithms and Applications</a>. See also <a href="https://github.com/CompPhysics/QuantumComputingMachineLearning/blob/gh-pages/doc/Textbooks/fastfourier.pdf" target="_self"><tt>https://github.com/CompPhysics/QuantumComputingMachineLearning/blob/gh-pages/doc/Textbooks/fastfourier.pdf</tt></a>
351324
</p>
352325

353-
<p>Our emphasis is on the link between discrete Fourier transforms and quantum Fourier transforms. We will not discuss FFT in this course.</p>
326+
<p>For a discussion of FFT, see additional slides at (address to be added)</p>
354327

355328
<!-- !split -->
356329
<h2 id="the-discrete-fourier-transform-dft" class="anchor">The discrete Fourier transform (DFT) </h2>
@@ -511,17 +484,6 @@ <h2 id="inverse-transform" class="anchor">Inverse transform </h2>
511484
$$
512485

513486

514-
<!-- !split -->
515-
<h2 id="fast-fourier-transform-and-polynomial-multiplication" class="anchor">Fast Fourier transform and polynomial multiplication </h2>
516-
517-
<p>The FFT algorithm is an \( O(n\log{n}) \) divide and conquer algorithm for DFT, used by
518-
Gauss circa 1805, and popularized by Cooley and Turkey and 1965. Gauss used the
519-
algorithm to determine periodic asteroid orbits, while Cooley and Turkey used it to
520-
detect Soviet nuclear tests from o&#64256;shore readings.
521-
A practical implementation of FFT is FFTW, which was described by Frigo and
522-
Johnson at MIT. The algorithm is often implemented directly in hardware, for fixed \( n \).
523-
</p>
524-
525487
<!-- !split -->
526488
<h2 id="from-dft-to-qft" class="anchor">From DFT to QFT </h2>
527489

@@ -1333,7 +1295,7 @@ <h2 id="applying-to-all-qubits" class="anchor">Applying to all qubits </h2>
13331295
</footer>
13341296
-->
13351297
<center style="font-size:80%">
1336-
<!-- copyright --> &copy; 1999-2024, Morten Hjorth-Jensen. Released under CC Attribution-NonCommercial 4.0 license
1298+
<!-- copyright --> &copy; 1999-2025, Morten Hjorth-Jensen. Released under CC Attribution-NonCommercial 4.0 license
13371299
</center>
13381300
</body>
13391301
</html>

doc/pub/week11/html/week11-reveal.html

Lines changed: 12 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -173,14 +173,11 @@ <h1 style="text-align: center;">Quantum Computing, Quantum Machine Learning and
173173

174174
<!-- author(s): Morten Hjorth-Jensen -->
175175
<center>
176-
<b>Morten Hjorth-Jensen</b> [1, 2]
176+
<b>Morten Hjorth-Jensen</b>
177177
</center>
178-
<!-- institution(s) -->
178+
<!-- institution -->
179179
<center>
180-
[1] <b>Department of Physics, University of Oslo</b>
181-
</center>
182-
<center>
183-
[2] <b>Department of Physics and Astronomy and Facility for Rare Isotope Beams, Michigan State University</b>
180+
<b>Department of Physics, University of Oslo, Norway</b>
184181
</center>
185182
<br>
186183
<center>
@@ -190,7 +187,7 @@ <h4>April 2, 2025</h4>
190187

191188

192189
<center style="font-size:80%">
193-
<!-- copyright --> &copy; 1999-2024, Morten Hjorth-Jensen. Released under CC Attribution-NonCommercial 4.0 license
190+
<!-- copyright --> &copy; 1999-2025, Morten Hjorth-Jensen. Released under CC Attribution-NonCommercial 4.0 license
194191
</center>
195192
</section>
196193

@@ -201,39 +198,22 @@ <h2 id="plans-for-the-week-of-march-31-april-4-2025">Plans for the week of March
201198
<b></b>
202199
<p>
203200
<ol>
204-
<p><li> Discrete Fourier transforms (DFTs) and the fast Fourier Transform (FFT)</li>
205-
<p><li> Quantum Fourier transforms (QFTs), basic mathematical expressions</li>
201+
<p><li> Discrete Fourier transforms (DFTs, reminder from last week) ) and the fast Fourier Transform (FFT) (additional slides)</li>
202+
<p><li> Quantum Fourier transforms (QFTs), reminder from last week</li>
206203
<p><li> Setting up circuits for QFT</li>
207-
<p><li> Reading recommendation Hundt, Quantum Computing for Programmers, sections 6.1-6.4 on QFT.</li>
208-
<p><li> <a href="https://youtu.be/" target="_blank">Video of lecture TBA</a>
204+
<p><li> Quantum phase estimation algorithm</li>
205+
<p><li> Reading recommendation Hundt, Quantum Computing for Programmers, sections 6.1-6.4 on QFT.
206+
<!-- o <a href="https://youtu.be/" target="_blank">Video of lecture TBA</a> -->
209207
<!-- o <a href="https://github.com/CompPhysics/QuantumComputingMachineLearning/blob/gh-pages/doc/HandWrittenNotes/2024/NotesApril3.pdf" target="_blank">Whiteboard notes</a> --></li>
210208
</ol>
211209
</div>
212210
</section>
213211

214-
<section>
215-
<h2 id="possible-paths-for-project-2">Possible paths for project 2 </h2>
216-
217-
<ul>
218-
<p><li> Implement QFTs</li>
219-
<p><li> Study other algorithms
220-
<ol type="a"></li>
221-
<p><li> Deutsch-Jozsa algorithm: Determine if a function is constant or balance using the fewest number of queries.</li>
222-
<p><li> SImon's algorithm: Determine if a function (Oracle) is one-to-one or two-to-one</li>
223-
<p><li> Grover's algorithm: Search unstructured list of data fast</li>
224-
<p><li> Possibly: Shor's algorithm and how to Factorize integers efficiently</li>
225-
</ol>
226-
<p>
227-
<p><li> Study the solution of quantum mechanical eigenvalue problems with systems from atomic/molecular physics and quantum chemistry</li>
228-
<p><li> Quantum machine learning projects, quantum boltzmann machines or related topics
229-
<!-- For project 2, in order to be time efficient, you can use software like Qiskit, Pennylane, qBraid and/or other --></li>
230-
</ul>
231-
</section>
232-
233212
<section>
234213
<h2 id="brief-reminder-on-fourier-transforms">Brief reminder on Fourier transforms </h2>
235214

236-
<p>Last week we reviewed some basic properties of Fourier transforms. We restate some of these results here.
215+
<p>Last week we reviewed some basic properties of Fourier transforms and derived the expressions for the quantum Fourier variant.
216+
We restate some of these results here.
237217
<a href="https://github.com/CompPhysics/QuantumComputingMachineLearning/blob/gh-pages/doc/pub/week10/ipynb/week10.ipynb" target="_blank">For more information, see slides from previous week</a>
238218
</p>
239219
</section>
@@ -269,7 +249,7 @@ <h2 id="fast-fourier-transform-fft">Fast Fourier transform (FFT) </h2>
269249
To read more about Fast Fourier transforms and similar topics, see for example <a href="https://link.springer.com/book/10.1007/978-1-4020-6629-0" target="_blank">Fast Fourier Transform - Algorithms and Applications</a>. See also <a href="https://github.com/CompPhysics/QuantumComputingMachineLearning/blob/gh-pages/doc/Textbooks/fastfourier.pdf" target="_blank"><tt>https://github.com/CompPhysics/QuantumComputingMachineLearning/blob/gh-pages/doc/Textbooks/fastfourier.pdf</tt></a>
270250
</p>
271251

272-
<p>Our emphasis is on the link between discrete Fourier transforms and quantum Fourier transforms. We will not discuss FFT in this course.</p>
252+
<p>For a discussion of FFT, see additional slides at (address to be added)</p>
273253
</section>
274254

275255
<section>
@@ -459,18 +439,6 @@ <h2 id="inverse-transform">Inverse transform </h2>
459439
<p>&nbsp;<br>
460440
</section>
461441

462-
<section>
463-
<h2 id="fast-fourier-transform-and-polynomial-multiplication">Fast Fourier transform and polynomial multiplication </h2>
464-
465-
<p>The FFT algorithm is an \( O(n\log{n}) \) divide and conquer algorithm for DFT, used by
466-
Gauss circa 1805, and popularized by Cooley and Turkey and 1965. Gauss used the
467-
algorithm to determine periodic asteroid orbits, while Cooley and Turkey used it to
468-
detect Soviet nuclear tests from o&#64256;shore readings.
469-
A practical implementation of FFT is FFTW, which was described by Frigo and
470-
Johnson at MIT. The algorithm is often implemented directly in hardware, for fixed \( n \).
471-
</p>
472-
</section>
473-
474442
<section>
475443
<h2 id="from-dft-to-qft">From DFT to QFT </h2>
476444

doc/pub/week11/html/week11-solarized.html

Lines changed: 12 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,6 @@
6767
2,
6868
None,
6969
'plans-for-the-week-of-march-31-april-4-2025'),
70-
('Possible paths for project 2',
71-
2,
72-
None,
73-
'possible-paths-for-project-2'),
7470
('Brief reminder on Fourier transforms',
7571
2,
7672
None,
@@ -100,10 +96,6 @@
10096
('Inverse DFT', 2, None, 'inverse-dft'),
10197
('Orthonormality', 2, None, 'orthonormality'),
10298
('Inverse transform', 2, None, 'inverse-transform'),
103-
('Fast Fourier transform and polynomial multiplication',
104-
2,
105-
None,
106-
'fast-fourier-transform-and-polynomial-multiplication'),
10799
('From DFT to QFT', 2, None, 'from-dft-to-qft'),
108100
('In terms of arbitrary states',
109101
2,
@@ -200,14 +192,11 @@ <h1>Quantum Computing, Quantum Machine Learning and Quantum Information Theories
200192

201193
<!-- author(s): Morten Hjorth-Jensen -->
202194
<center>
203-
<b>Morten Hjorth-Jensen</b> [1, 2]
204-
</center>
205-
<!-- institution(s) -->
206-
<center>
207-
[1] <b>Department of Physics, University of Oslo</b>
195+
<b>Morten Hjorth-Jensen</b>
208196
</center>
197+
<!-- institution -->
209198
<center>
210-
[2] <b>Department of Physics and Astronomy and Facility for Rare Isotope Beams, Michigan State University</b>
199+
<b>Department of Physics, University of Oslo, Norway</b>
211200
</center>
212201
<br>
213202
<center>
@@ -222,36 +211,22 @@ <h2 id="plans-for-the-week-of-march-31-april-4-2025">Plans for the week of March
222211
<b></b>
223212
<p>
224213
<ol>
225-
<li> Discrete Fourier transforms (DFTs) and the fast Fourier Transform (FFT)</li>
226-
<li> Quantum Fourier transforms (QFTs), basic mathematical expressions</li>
214+
<li> Discrete Fourier transforms (DFTs, reminder from last week) ) and the fast Fourier Transform (FFT) (additional slides)</li>
215+
<li> Quantum Fourier transforms (QFTs), reminder from last week</li>
227216
<li> Setting up circuits for QFT</li>
228-
<li> Reading recommendation Hundt, Quantum Computing for Programmers, sections 6.1-6.4 on QFT.</li>
229-
<li> <a href="https://youtu.be/" target="_blank">Video of lecture TBA</a>
217+
<li> Quantum phase estimation algorithm</li>
218+
<li> Reading recommendation Hundt, Quantum Computing for Programmers, sections 6.1-6.4 on QFT.
219+
<!-- o <a href="https://youtu.be/" target="_blank">Video of lecture TBA</a> -->
230220
<!-- o <a href="https://github.com/CompPhysics/QuantumComputingMachineLearning/blob/gh-pages/doc/HandWrittenNotes/2024/NotesApril3.pdf" target="_blank">Whiteboard notes</a> --></li>
231221
</ol>
232222
</div>
233223

234224

235-
<!-- !split --><br><br><br><br><br><br><br><br><br><br>
236-
<h2 id="possible-paths-for-project-2">Possible paths for project 2 </h2>
237-
238-
<ul>
239-
<li> Implement QFTs</li>
240-
<li> Study other algorithms
241-
<ol type="a"></li>
242-
<li> Deutsch-Jozsa algorithm: Determine if a function is constant or balance using the fewest number of queries.</li>
243-
<li> SImon's algorithm: Determine if a function (Oracle) is one-to-one or two-to-one</li>
244-
<li> Grover's algorithm: Search unstructured list of data fast</li>
245-
<li> Possibly: Shor's algorithm and how to Factorize integers efficiently</li>
246-
</ol>
247-
<li> Study the solution of quantum mechanical eigenvalue problems with systems from atomic/molecular physics and quantum chemistry</li>
248-
<li> Quantum machine learning projects, quantum boltzmann machines or related topics
249-
<!-- For project 2, in order to be time efficient, you can use software like Qiskit, Pennylane, qBraid and/or other --></li>
250-
</ul>
251225
<!-- !split --><br><br><br><br><br><br><br><br><br><br>
252226
<h2 id="brief-reminder-on-fourier-transforms">Brief reminder on Fourier transforms </h2>
253227

254-
<p>Last week we reviewed some basic properties of Fourier transforms. We restate some of these results here.
228+
<p>Last week we reviewed some basic properties of Fourier transforms and derived the expressions for the quantum Fourier variant.
229+
We restate some of these results here.
255230
<a href="https://github.com/CompPhysics/QuantumComputingMachineLearning/blob/gh-pages/doc/pub/week10/ipynb/week10.ipynb" target="_blank">For more information, see slides from previous week</a>
256231
</p>
257232

@@ -285,7 +260,7 @@ <h2 id="fast-fourier-transform-fft">Fast Fourier transform (FFT) </h2>
285260
To read more about Fast Fourier transforms and similar topics, see for example <a href="https://link.springer.com/book/10.1007/978-1-4020-6629-0" target="_blank">Fast Fourier Transform - Algorithms and Applications</a>. See also <a href="https://github.com/CompPhysics/QuantumComputingMachineLearning/blob/gh-pages/doc/Textbooks/fastfourier.pdf" target="_blank"><tt>https://github.com/CompPhysics/QuantumComputingMachineLearning/blob/gh-pages/doc/Textbooks/fastfourier.pdf</tt></a>
286261
</p>
287262

288-
<p>Our emphasis is on the link between discrete Fourier transforms and quantum Fourier transforms. We will not discuss FFT in this course.</p>
263+
<p>For a discussion of FFT, see additional slides at (address to be added)</p>
289264

290265
<!-- !split --><br><br><br><br><br><br><br><br><br><br>
291266
<h2 id="the-discrete-fourier-transform-dft">The discrete Fourier transform (DFT) </h2>
@@ -446,17 +421,6 @@ <h2 id="inverse-transform">Inverse transform </h2>
446421
$$
447422

448423

449-
<!-- !split --><br><br><br><br><br><br><br><br><br><br>
450-
<h2 id="fast-fourier-transform-and-polynomial-multiplication">Fast Fourier transform and polynomial multiplication </h2>
451-
452-
<p>The FFT algorithm is an \( O(n\log{n}) \) divide and conquer algorithm for DFT, used by
453-
Gauss circa 1805, and popularized by Cooley and Turkey and 1965. Gauss used the
454-
algorithm to determine periodic asteroid orbits, while Cooley and Turkey used it to
455-
detect Soviet nuclear tests from o&#64256;shore readings.
456-
A practical implementation of FFT is FFTW, which was described by Frigo and
457-
Johnson at MIT. The algorithm is often implemented directly in hardware, for fixed \( n \).
458-
</p>
459-
460424
<!-- !split --><br><br><br><br><br><br><br><br><br><br>
461425
<h2 id="from-dft-to-qft">From DFT to QFT </h2>
462426

@@ -1259,7 +1223,7 @@ <h2 id="applying-to-all-qubits">Applying to all qubits </h2>
12591223

12601224
<!-- ------------------- end of main content --------------- -->
12611225
<center style="font-size:80%">
1262-
<!-- copyright --> &copy; 1999-2024, Morten Hjorth-Jensen. Released under CC Attribution-NonCommercial 4.0 license
1226+
<!-- copyright --> &copy; 1999-2025, Morten Hjorth-Jensen. Released under CC Attribution-NonCommercial 4.0 license
12631227
</center>
12641228
</body>
12651229
</html>

0 commit comments

Comments
 (0)