Skip to content

Commit 989e4f6

Browse files
committed
update first week
1 parent bd36204 commit 989e4f6

File tree

8 files changed

+2055
-525
lines changed

8 files changed

+2055
-525
lines changed

doc/pub/week1/html/week1-bs.html

Lines changed: 352 additions & 54 deletions
Large diffs are not rendered by default.

doc/pub/week1/html/week1-reveal.html

Lines changed: 280 additions & 34 deletions
Large diffs are not rendered by default.

doc/pub/week1/html/week1-solarized.html

Lines changed: 314 additions & 46 deletions
Large diffs are not rendered by default.

doc/pub/week1/html/week1.html

Lines changed: 314 additions & 46 deletions
Large diffs are not rendered by default.
0 Bytes
Binary file not shown.

doc/pub/week1/ipynb/week1.ipynb

Lines changed: 591 additions & 315 deletions
Large diffs are not rendered by default.

doc/pub/week1/pdf/week1.pdf

12.3 KB
Binary file not shown.

doc/src/week1/week1.do.txt

Lines changed: 204 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ o You may also find chapters 1-2 of Olivares useful, see URL:"https://link.sprin
2525
!eblock
2626

2727
!bblock
28-
These chpaters from different textbooks give you an overview of some of the central (often linear algebra) mathematical elements needed for quantum computing. The aim of these lecture notes aim at giving you a basic overview of central mathematical elements. For more details we refer you to the above texts and the companion lecture notes.
28+
These chapters from different textbooks give you an overview of some of the central (often linear algebra) mathematical elements needed for quantum computing. These lecture notes aim at giving you a basic overview of central mathematical elements. For more details we refer you to the above texts and the companion lecture notes.
2929
!eblock
3030

3131
!split
@@ -126,25 +126,23 @@ o PennyLane at URL:"https://pennylane.ai/ (tailored to machine learning)"
126126
!split
127127
===== What is quantum computing? =====
128128
!bblock
129-
o It is computation (and more generally, information processing) based on the principles of quantum mechanics, rather than classical physics.
130-
o Quantum mechanics is a description of nature at its most fundamental level.
129+
It is computation (and more generally, information processing) based on the principles of quantum mechanics, rather than classical physics. Quantum mechanics is a description of nature at its most fundamental level.
131130
!eblock
132131
!bblock
133-
o Formulated in the early 20th century to explain the behavior of subatomic particles.
134-
o QM, and its specializations (quantum field theory, quantum chromodynamics, many-body physics etc.), have been spectacularly successful in explaining microscopic physical phenomena.
132+
Formulated in the early 20th century to explain the behavior of subatomic particles. QM, and its specializations (quantum field theory, quantum chromodynamics, many-body physics etc.), have been spectacularly successful in explaining microscopic physical phenomena.
135133
!eblock
136134

137135

138136
!split
139137
===== The exponentiality of QM =====
140138
!bblock
141-
o After nearly a century of study, the best (classical) methods for predicting the behavior of general quantum systems require exponential resources.
139+
After nearly a century of study, the best (classical) methods for predicting the behavior of general quantum systems require exponential resources.
142140
o The state of $N$ particles requires at least $2^{N}$ numbers to describe.
143141
o For $N \sim 300$ (the number of particles in a single uranium atom),
144142
\[
145143
2^{300} \gg \approx 10^{82}\quad (\text{\# of atoms in the observable universe}).
146144
\]
147-
o Nature seems to be doing extravagant amounts of computation *behind the scenes*!
145+
Nature seems to be doing extravagant amounts of computation *behind the scenes*!
148146
!eblock
149147

150148

@@ -224,8 +222,8 @@ o Option 2: Polynomial-time classical factoring algorithm.
224222
o Option 3: Quantum computers are more powerful than classical computers.
225223
* This would refute the Extended Church--Turing Thesis.
226224
* Church--Turing Thesis: A Turing machine can simulate any effective computation process.
227-
* Extended Church--Turing Thesis: A probabilistic Turing machine can efficiently simulate any effective computation process.
228-
* Option \#3 would violate the ECT (assuming factoring is hard for classical computers)!
225+
* Extended Church-Turing (ECT) Thesis: A probabilistic Turing machine can efficiently simulate any effective computation process.
226+
* Option 3 would violate the ECT (assuming factoring is hard for classical computers)!
229227
!eblock
230228

231229
!split
@@ -240,20 +238,20 @@ At least one of these must be true!
240238

241239
!split
242240
===== Present day =====
243-
Quantum computing is extremely active and exciting:
241+
Quantum computing is an extremely active and exciting field:
244242
!bblock
245-
o Engineering: primitive quantum computers are being built.
243+
o Qauntum engineering: quantum computers are being built.
246244
o Theoretical developments: new algorithms, new cryptographic protocols, new insights into how quantum computing compares to classical computing.
247-
o Deep connections to other sciences: condensed matter physics, quantum gravity, materials science, chemistry, computer science, pure mathematics.
245+
o Deep connections to other sciences: condensed matter physics, quantum gravity, materials science, chemistry, computer science, pure mathematics. Fundamental aspects of quantum mechanics.
248246
!eblock
249247

250248

251249
!split
252250
===== Emerging quantum computers =====
253251
!bblock
254-
o Many players racing to build (scalable) quantum computers.
255-
o Different labs/companies are betting on different horses.
256-
o Superconducting qubits, ion traps, photonic systems, topological qubits, \dots
252+
o Many players (companies) racing to build (scalable) quantum computers.
253+
o Different labs/companies are betting on different quantum platforms.
254+
o Superconducting qubits, ion traps, photonic systems, topological qubits, and more
257255
!eblock
258256

259257
!split
@@ -275,7 +273,6 @@ o Not capable of running Shor’s algorithm, but should still be capable of solv
275273
!bblock
276274
o In Fall 2019, Google announced that they had achieved “Quantum Supremacy” using their 53-qubit Sycamore quantum processor.
277275
o _Quantum supremacy:_ a moment when there is a convincing real-world demonstration of a quantum computing task that cannot feasibly be performed by a classical computer.
278-
o Sweet spot: 53 qubits just beyond the reach of Google’s compute clusters to simulate in a reasonable time. ($\sim 2^{53}$ ops)
279276
!eblock
280277

281278

@@ -284,7 +281,7 @@ o Sweet spot: 53 qubits just beyond the reach of Google’s compute clusters to
284281
!bblock
285282
o We are in the NISQ era, but we have compelling evidence that we can already perform super-classical tasks using these machines.
286283
o There is a _qubit race_ going on, but qubit count is not everything!
287-
o Scaling up (i.e. more, higher-quality qubits) is a tough engineering challenge, but no fundamental obstacles to building a QC with $10^{6}$ noiseless qubits.
284+
o Scaling up (i.e. more, higher-quality qubits) is a tough quantum engineering challenge, but no fundamental obstacles to building a QC with $10^{6}$ noiseless qubits.
288285
o "QUNorth":"https://qunorth.com/" in Denmark and "LUMIQ":"https://lumi-supercomputer.eu/europe-takes-a-quantum-leap-lumi-q-consortium-signs-contract/" as a European project
289286
o Still, large-scale fault-tolerant QCs look like they’re many years away.
290287
!eblock
@@ -314,6 +311,175 @@ o more
314311

315312
Connections with fundamental physics: Perhaps key to a theory of Quantum Gravity could be quantum entanglement, and quantum error correcting codes.
316313

314+
!split
315+
===== The basic concepts =====
316+
317+
Quantum technologies leverage principles of quantum mechanics to perform computations beyond classical capabilities.
318+
319+
_Key Concepts:_
320+
!bblock
321+
o _Superposition:_ Qubits can exist in a combination of states.
322+
o _Entanglement:_ Correlation between qubits regardless of distance.
323+
o _Quantum Interference:_ Probability amplitudes interfere. Is a core tool in quantum algorithms. It is used to amplify the probability of finding the correct answer while suppressing incorrect ones.
324+
!eblock
325+
326+
327+
328+
!split
329+
===== Quantum Speedups =====
330+
_Why Quantum?_
331+
!bblock
332+
o _Quantum Parallelism:_ Process multiple states simultaneously.
333+
o _Quantum Entanglement:_ Correlated states for richer information.
334+
o _Quantum Interference:_ Constructive and destructive interference to enhance solutions, is a core tool in quantum algorithms.
335+
!eblock
336+
337+
!bblock
338+
_Grover's Algorithm:_
339+
!bt
340+
\[
341+
\text{Quantum Search Complexity: } O(\sqrt{N}) \text{ vs. } O(N)
342+
\]
343+
!et
344+
_Advantage:_ Speedups in high-dimensional optimization and linear algebra problems.
345+
!eblock
346+
347+
!split
348+
===== Challenges and Limitations =====
349+
350+
!bblock Quantum Hardware Limitations:
351+
o Noisy Intermediate-Scale Quantum (NISQ) devices.
352+
o Decoherence and limited qubit coherence times.
353+
!eblock
354+
355+
!bblock Data Encoding:
356+
o Efficient embedding of classical data into quantum states.
357+
!eblock
358+
359+
!bblock Scalability:
360+
o Difficult to scale circuits to large datasets.
361+
!eblock
362+
363+
364+
365+
366+
367+
368+
!split
369+
===== 1. Quantum Communication =====
370+
!bblock Quantum Teleportation:
371+
o Entanglement enables the transmission of quantum states using classical communication.
372+
o No need to send the physical quantum particle.
373+
!eblock
374+
375+
!bblock Advantage:
376+
o Instantaneous state transfer within quantum mechanics constraints.
377+
o Quantum networks rely on entanglement for secure communication.
378+
!eblock
379+
380+
381+
!split
382+
===== 2. Quantum Cryptography =====
383+
!bblock Quantum Key Distribution:
384+
o Entanglement ensures secure communication.
385+
o Eavesdropping disturbs quantum states, revealing interception attempts.
386+
!eblock
387+
388+
!bblock
389+
o Any measurement by a third party collapses the wavefunction.
390+
o Ensures security based on quantum mechanics, not computational hardness.
391+
!eblock
392+
_Advantage:_ Unconditional security guaranteed by the laws of physics.
393+
394+
395+
!split
396+
===== 3. Quantum Computing =====
397+
398+
!bblock Speedup in Quantum Algorithms:
399+
o Entanglement provides exponential state space.
400+
o Quantum parallelism arises from entangled qubits.
401+
!eblock
402+
403+
Examples are Grover's Algorithm
404+
!bt
405+
\[
406+
\mathcal{O}(\sqrt{N}) \text{ vs. } \mathcal{O}(N)
407+
\]
408+
!et
409+
and Shor's Algorithm:
410+
!bt
411+
\[
412+
\text{Factoring in } \mathcal{O}((\log N)^3)
413+
\]
414+
!et
415+
416+
!split
417+
===== 4. Quantum Metrology =====
418+
419+
!bblock Quantum Metrology:
420+
o Uses entangled states for ultra-precise measurements.
421+
o Overcomes the classical shot-noise limit.
422+
!eblock
423+
424+
!bblock
425+
o Quantum entanglement improves sensitivity beyond classical limits.
426+
!eblock
427+
428+
429+
!split
430+
===== Challenges of Quantum Entanglement =====
431+
!bblock Decoherence:
432+
o Entangled states are fragile.
433+
o Interaction with the environment collapses the wavefunction.
434+
!eblock
435+
436+
!bblock Scalability:
437+
o Difficult to entangle large numbers of qubits.
438+
o Error correction requires complex protocols.
439+
!eblock
440+
441+
!bblock Measurement Problem:
442+
o Measurement destroys entanglement.
443+
o Trade-off between information gain and entanglement preservation.
444+
!eblock
445+
446+
447+
!split
448+
===== What is Quantum Machine Learning? =====
449+
_Quantum Machine Learning (QML)_ integrates quantum computing with machine learning algorithms to exploit quantum advantages.
450+
451+
!bblock Motivation:
452+
o High-dimensional Hilbert spaces for better feature representation.
453+
o Quantum parallelism for faster computation.
454+
o Quantum entanglement for richer data encoding.
455+
!eblock
456+
457+
458+
459+
!split
460+
===== Di Vincenzo criteria =====
461+
462+
!bblock Quantum computing requirements
463+
o A scalable physical system with well-characterized qubit
464+
o The ability to initialize the state of the qubits to a simple fiducial state
465+
o Long relevant Quantum coherence times longer than the gate operation time
466+
o A _universal_ set of quantum gates
467+
o A qubit-specific measurement capability
468+
!eblock
469+
470+
471+
!split
472+
===== Quantum platforms =====
473+
474+
!bblock
475+
o Superconducting qubits use Josephson junction circuits operated at millikelvin temperatures
476+
o Trapped-ion computers confine ions (for example $^{171}$Yb$^+$, $^{40}$Ca$^+$) in electromagnetic traps, encoding qubits in internal electronic states. Gates are implemented with laser or microwave fields coupling to vibrational modes.
477+
o Photonic quantum computing employs photons (in dual-rail or continuous-variable encodings) as qubits
478+
o Spin qubits—realized in silicon quantum dots, donor atoms, or color centers—encode information in electron or nuclear spin states.
479+
o Electrons on helium/neon and other
480+
!eblock
481+
482+
317483

318484

319485

@@ -1552,16 +1718,15 @@ which written out in all its details reads
15521718

15531719

15541720
!split
1555-
===== First exercise set for January 28 =====
1721+
===== Exercise set for first week, to be discussed January 28 =====
15561722

15571723

1558-
The last two exercises are meant to build the basis for
1559-
the projects we will work on during the semester. The first
1724+
The exercises here are mostly meant as a reminder of basic linear algebra properties. We have also included some exercises which prepare for the first project. The first
15601725
project deals with implementing the so-called
15611726
_Variational Quantum Eigensolver_ algorithm for finding the eigenvalues and eigenvectors of selected Hamiltonians.
15621727

15631728
!split
1564-
===== Ex1: Bell states =====
1729+
===== Exewrcise 1: Bell states =====
15651730

15661731
Show that the so-called Bell states listed here (and to be encountered many times in this course) form an orthogonal basis
15671732
!bt
@@ -1593,36 +1758,45 @@ and
15931758
!et
15941759

15951760
!split
1596-
===== Ex2: Entangled state =====
1761+
===== Exercise 2: Entangled state =====
15971762

15981763
Show that the state $\alpha \vert 00\rangle+\beta\vert 11\rangle$ cannot be written as the product of the tensor product of two states and is thus entangle. The constants $\alpha$ and $\beta$ are both nonzero.
15991764

16001765

16011766
!split
1602-
===== Ex3: Commutator identities =====
1767+
===== Exercise 3: Commutator identities =====
16031768
Prove the following commutator relations for different operators (marked with a hat)
16041769
o $[\hat{A}+\hat{B},\hat{C}]= [\hat{A},\hat{C}]+[\hat{B},\hat{C}]$;
16051770
o $[\hat{A},\hat{B}\hat{C}]= [\hat{A},\hat{B}]\hat{C}+\hat{B}[\hat{A},\hat{C}]$; and
16061771
o $[\hat{A},[\hat{B}\hat{C}]]= [\hat{B},[\hat{C},\hat{A}]]+[\hat{C},[\hat{A},\hat{B}]]=0$ (the so-called Jacobi identity).
16071772

16081773
!split
1609-
===== Ex4: Pauli matrices =====
1610-
o Set up the commutation rules for Pauli matrices, that is find $[\sigma_i,\sigma_j]$ where $i,j=x,y,z$.
1774+
===== Exercise 4: Pauli matrices =====
1775+
o Set up the commutation rules for the Pauli matrices, that is find $[\sigma_i,\sigma_j]$ where $i,j=x,y,z$.
16111776
o We define $\bm{X}=\sigma_x$, $\bm{Y}=\sigma_y$ and $\bm{Z}=\sigma_z$. Show that $\bm{XX}=\bm{YY}=\bm{ZZ}=\bm{I}$.
16121777
o Which one of the Pauli matrices has the qubit basis $\vert 0\rangle$ and $\vert 1\rangle$ as eigenbasis? What are the eigenvalues?
16131778

16141779
!split
1615-
===== Ex5: Shared eigenvectors =====
1780+
===== Exercise 5: Shared eigenvectors =====
16161781

16171782
Prove that if two operators $\hat{A}$ and $\hat{B}$ commute they will share a basis of eigenstates
16181783

16191784
!split
1620-
===== Ex6: One-qubit basis and Pauli matrices =====
1785+
===== Exercise 6: One-qubit basis and Pauli matrices =====
16211786

1622-
Write a function which sets up a one-qubit basis and apply the various Pauli matrices to these basis states.
1787+
Write a function (in Python for example) which sets up a one-qubit basis and apply the various Pauli matrices to these basis states.
16231788

16241789
!split
1625-
===== Ex7: Hadamard and Phase gates =====
1790+
===== Exercise 7: Hadamard and Phase gates =====
1791+
1792+
Apply the Hadamard and Phase matrices (or gates) to the same one-qubit basis states and study their actions on these states.
1793+
Write a code which applies these matrices to the same one-qubit basis.
1794+
1795+
1796+
1797+
1798+
1799+
1800+
16261801

1627-
Apply the Hadamard and Phase gates to the same one-qubit basis states and study their actions on these states.
16281802

0 commit comments

Comments
 (0)