Phase Estimation & Factoring | Understanding Quantum Information & Computation: Lesson 07

  Рет қаралды 12,249

Qiskit

Qiskit

Күн бұрын

This lesson discusses the phase estimation problem and a quantum algorithm to solve it. By applying this algorithm to a number-theoretic problem known as the order-finding problem, we obtain Shor’s algorithm, which is an efficient quantum algorithm for the integer factorization problem. Along the way, we’ll encounter the quantum Fourier transform and see how it can be efficiently implemented.
Additional materials for this course, including written text, Qiskit implementations, and slides in pdf format, can be found on IBM Quantum Learning by following this link: learning.quantum.ibm.com/cour...
0:00 - Introduction
0:58 - Overview
2:40 - Spectral theorem
5:43 - Phase estimation problem
11:53 - Warm-up: using phase kickback
17:24 - Iterating the unitary operation
19:39 - Two control qubits
26:43 - Two-qubit phase estimation
32:25 - Quantum Fourier transform
35:44 - Circuits for the QFT
41:41 - Phase estimation procedure
48:29 - The order-finding problem
53:25 - Order-finding by phase-estimation
55:07 - Eigenvectors and eigenvalues
59:20 - A convenient eigenvector
1:02:04 - A random eigenvector
1:05:37 - Implementation
1:10:55 - Factoring through order-finding
1:14:48 - Conclusion
#ibmquantum #learnquantum #qiskit

Пікірлер: 18
@yonidemulder
@yonidemulder 4 ай бұрын
This is by far the best video I've seen explaining the quantum part of Shor's algorithm. Thank you so much for sharing!
@genmen
@genmen 9 ай бұрын
Thank you! Much anticipated lesson
@asmaa.ali6
@asmaa.ali6 5 ай бұрын
Hello, at 25:10 , are the four bases found to be orthonormal by chance ? or they must be? or the algorithm is set as it for making this condition ? Thank you so much
@ethanrajkumar6203
@ethanrajkumar6203 2 ай бұрын
Excellent Video! I was just wondering for |\psi> can it be in the computational basis as well because it's an orthonormal basis?
@que_93
@que_93 9 ай бұрын
Could you please create a playlist, and provide a link for it?
@qiskit
@qiskit 9 ай бұрын
kzfaq.info/sun/PLOFEBzvs-VvqKKMXX4vbi4EB1uaErFMSO&si=DGM47YvuNDqRLyLd
@fgfgdfgfgf
@fgfgdfgfgf 4 ай бұрын
He is amazing
@nadavben-ami9020
@nadavben-ami9020 6 ай бұрын
Is there expected time for the next lesson to be uploaded? Thanks!
@ebrahimraja2855
@ebrahimraja2855 5 ай бұрын
I'd also like to know this. It seems units 3 and units 4 of the course are yet to be released?
@suleymanemirylmaz7868
@suleymanemirylmaz7868 4 ай бұрын
While measuring the 0 and 1 states at 16:30 , I couldn't figure out how we found the cos^2 and sin^2 states. For example, for state 0 I found (1+2cos(2πx))/4
@John.Watrous
@John.Watrous 4 ай бұрын
One way to do it without it getting too messy is to use cos(x) = (exp(ix)+exp(-ix))/2 and sin(x)=(exp(ix)-exp(-ix))/(2i), and then let the absolute values make your life easier. For example, abs((1 + exp(2 i x))/2)^2 = abs(exp(ix)(exp(ix) + exp(-ix))/2)^2 = abs((exp(ix) + exp(-ix))/2)^2 = cos(x)^2.
@suleymanemirylmaz7868
@suleymanemirylmaz7868 4 ай бұрын
@@John.Watrous Thank you very much. I completely understand now.
@asmaa.ali6
@asmaa.ali6 5 ай бұрын
Hello, at 1:00:40 , sorry for this trivial question but how (2^m/y + 1/2) gives an integer?
@John.Watrous
@John.Watrous 5 ай бұрын
2^m/y + 1/2 might not be an integer but here we're taking the floor of this quantity. See en.wikipedia.org/wiki/Floor_and_ceiling_functions for how the floor is defined and denoted.
@asmaa.ali6
@asmaa.ali6 5 ай бұрын
Hello, I am sorry but i can't figure out how we got P_y=4/\pi^2 at 45:51 . thank you so much .
@ArthurParzygnat
@ArthurParzygnat 3 ай бұрын
Hi @asmaa.ali6, after working this out myself, let me try to explain (sorry if this explanation is complicated---I did quite a bit of work to reach this and I'm not sure if this is the simplest solution). If we assume that the closest approximation to theta is y/2^m, then this means that the (conditional) probability of y given theta is smallest when theta = y/2^m + 1/2^(m+1) or theta = y/2^m - 1/2^(m+1). The meaning of this last expression is that the worst-case theta lies directly between the highest peaks (which happens exactly 1/2^(m+1) away from any of the highest peaks because that's exactly the halfway distance between these peaks). Although John Watrous did not write p_y as a conditional probability, we should really think of it as such and write it as p(y|theta) because it depends on theta (that's what is plotted). Now, since the worst-case theta is what I wrote above, this means p(y|theta) is greater than or equal to p(y| y/2^m + 1/2^(m+1)). I calculated this probability for various values of m. When m=3, I got 0.410533. When m=4, I got 0.406589. When m=5, I got 0.40561. As you notice, these numbers seem to be tending (monotonically) towards some value. One can therefore compute the limit of this probability as m tends to infinity. One can do this using the realization that when we compute such a limit, we are effectively calculating an integral, which can be evaluated exactly and gives the result 4/pi^2.
@user-po5fg7eq7v
@user-po5fg7eq7v 6 ай бұрын
I enjoyed the video, but I have a few comments. I don't like the fact that you interrupt the explanation of how order finding can be implemented, by fragments where you explain precision needed and complexity. I think it would be better to first go through the algorithm and then come back and analyze precision and complexity.
@John.Watrous
@John.Watrous 5 ай бұрын
That's cool, to each their own. I'm a complexity theorist so these issues are front and center for me, and I just explain it the way I think about it.
Quantum Computing Course: 3.6 Quantum Fourier Transform
6:16
Quantum Soar
Рет қаралды 7 М.
Climbing to 18M Subscribers 🎉
00:32
Matt Larose
Рет қаралды 31 МЛН
100❤️
00:20
Nonomen ノノメン
Рет қаралды 75 МЛН
A pack of chips with a surprise 🤣😍❤️ #demariki
00:14
Demariki
Рет қаралды 41 МЛН
Long Short-Term Memory (LSTM), Clearly Explained
20:45
StatQuest with Josh Starmer
Рет қаралды 491 М.
Symmetry and Universality - Dr Sophia Sanborn (Science)
26:07
Thinking About Thinking
Рет қаралды 3,3 М.
The Map of Quantum Computing - Quantum Computing Explained
33:28
Domain of Science
Рет қаралды 1,6 МЛН
But what is the Fourier Transform?  A visual introduction.
20:57
3Blue1Brown
Рет қаралды 10 МЛН
Хитрая Девушка Хочет Сделать ЭТО!
0:43
ToRung short film: 1 bottle of water equals 1 dollar🤑
0:30
Theekuchi Prank 🤣#shorts
0:16
Amayra ki Masti
Рет қаралды 39 МЛН
БАТЯ ПЛАКИ-ПЛАКИ
0:47
LavrenSem
Рет қаралды 3,6 МЛН
Неприятная Встреча На Мосту - Полярная звезда #shorts
0:59
Полярная звезда - Kuzey Yıldızı
Рет қаралды 3,1 МЛН