Quantum Computing 'Magic' - Computerphile

Computerphile · Beginner ·📰 AI News & Updates ·9y ago

Key Takeaways

Quantum Computing concepts and challenges are discussed, including quantum parallelism, superposition, and decoherence, with examples of the RSA algorithm and Shor algorithm, and tools like Quantum IoT and HLL programming language

Full Transcript

what's the problem with Quantum that okay I think before we talk about problem we should talk about the opportunity I mean what what's the idea why would we want to build a quantum computer we discovered the first observation was that's actually quite difficult to simulate a Quantum system and this could be Illustrated with this famous double slit experiment yeah where you send electrons or photons over whatever through two slits and then you notice that you get this interference pattern so it gets dark and light dark and Light which we can understand if you think of electrons or photons as waves because the waves interfere with each other but at the same time we know that they're actually particles because we never have half a photon we never have half an electron so the question is if each time we send only one electron through these slits which way does it go does it go left or right and now you think you're clever you put some detectors on the slits yeah yeah I have to trick nature yeah find out where it goes and as soon as you do this they behave like particles there's no interference pattern anymore and that's called a measurement so so the all Quantum systems uh they have this dual Behavior they behave like waves as long as you don't look at them and as soon as you look at them they behave like particles Behavior where where this electron goes through seems to be going through both holes at the the same time it's really doing something in parallel right so so one explanation is uh or one understanding is aver uh multiple worlds interpretation that they like parallel universes and in one Universe it Con goes with this and the other one through this and you don't determine in which Universe you are unless you look at it and then you're either in this one or in this one okay now Quantum Computing tries to exploit this very weird nature of quantum physics and using the mathematical models we have from physics we we can develop new computational paradigm new programming language so to say Quantum programming and in this language we can we can exploit this Quantum parallelism to have certain computations run faster it's not completely easy because everything you do has to be reversible every computation you do you also have to be able to do backwards so everything has to be symmetric is it a cubit yes the Cubit is a bit and it has a amplitude it it can be somewhere between zero and one yeah and a cubit which is maybe like in the middle is like this electron going through the one slit and the other slit and we do no wi one so while the Cubit is not observed it's at the same same time zero and one so to say and all its interaction are based on this it's two things at the same time like Shing has cat famously life and dead yeah so as long as you don't open the box the cubid is in some superposition so to say it can be just can be just one but it can be also in a super position and that's the interesting case but the rule is you're not allowed to look at it while you do this so it has to be unobserved because once you observe it you determine which Universe you are then this this multiple Universe idea disappears a paradism disappears yeah the magic is let out the magic yeah once you look at it the magic is out you you have to like you have to close your eyes as long as you qu computer then in the end you can look because you want to know what the outcome is and then you measure but not in between there are some very famous algorithms uh which work on a quantum computer faster than on any known classical or there's new known classical solution a famous problem is the problem of factoring a number so for example 15 can be factored at three or five and this problem is actually quite important for cryptography the RSA algorithm is based on this idea that you have a product of two prime numbers but you don't tell anybody what the prime numbers are yeah so it's it's called a oneway function so it's actually surprising it's easy computationally to find out whether number is a prime number but it's hard to factor a number yeah so it's hard saying this this by the way it's not proven nobody knows a way to factor a number efficiently on a classical computer but since sh the sh algorithm we know on a hypothetical quantum computer using this Quantum parallelism there is a clever way to do this it uses a a certain number theoretic function which has a period repeats itself yeah and using this qu this the super position of cubits you can actually with a good probability measure this this period the repetition and from this period you can then find a factor that's quite clever yeah so it seems that Quantum Computing um can be much much faster than classical Computing now here's here's here's the the problem we haven't yet been able to build a quantum computer of a reasonable size where there's anything interesting happening and why is this a problem why is this difficult the challenge is to do computations without looking at it yeah so while you you have you cubage were represented by some physical object some uh ions or whatever some particles yeah and you want these particles to interact with each other to do the quantum computation but they should not interact with the rest of the Universe yeah so you visually have to make them interact with each other without touching them and that could be possible it may be an engineering problem as as as one says yeah but we don't know whether whether it's actually possible in principle uh I think there is a is a is a mistake to extrapolate we know in in small systems we have this Quantum behavior and and qu uh Theory gives us very very good predictions of how these systems behave but we don't know whether it actually scales up yeah whether I mean there's this this problem that you have a involuntary measurements so involuntary observations it's called decoherence so then this system loses its Quantum magic and becomes classical and what we don't know is whether we can actually avoid decoherence in a large Quantum system because in the end in physics it's always like this once you you should never assume an outcome of an experiment before you have done it so far nobody has done this experiment which shows that large scale Quantum Computing is actually possible so it may be that there is some hidden law we haven't yet been able to to test yeah which basically says once you do too much Quantum parallelism nature shakes its head and say no that's getting too complicated I'm not doing this I'm going to do put some decoherence in otherwise it gets too complicated so so it could be I'm not saying is like this but we basically don't know so I still I think research in in Quantum Computing in this area is very interesting very exciting because we have actually an open question and either way the answer will be interesting yeah the answer is either okay yeah we can build a Quantom computer we can do all these cool algorithms great or the answer could be could be actually it's impossible if we have discovered a new law of nature yeah which actually says that nature in the end is classical and and and and this Quantum stuff is only on a small scale which would be very very exciting as well yeah either way it's exciting we should find out but we shouldn't assume now that we know already the answer without having done the experiment there's supposed to be some kind of computer that's being built is it that we don't know if it's actually doing what we guess yes there's this dve and there are other projects but as far as I know we don't know yet whether we really get Quantum Paralis out of out of it I mean there are all sorts of claims and counter claims and I don't think it has been decided yet is it possible to simulate a quantum computer on a classical computer yes indeed uh I've actually developed a library doing exactly this called Quantum I onet um yes you can do this the problem is that you to simulate this Quantum parallelism you have to really go through all uh the possibilities and you have an overhead exponential overhead so yes you can simulate it but it's inefficient so do could you do a very simple sum or something like that on this yeah no we did we did this uh algorithm the sh algorithm uh to factor numbers that you can Factor 15 and turns out the answer is either three or five but is that something we could link to people could look at or is it uh yeah yes okay cool we'll put that in the description if anybody is interested in it it's actually implemented in the programming language hll as a functional language and uh I hope you can still download the code

Original Description

Quantum Computing offers a potential sea-change in computer power, but what are the issues with it, why aren't we all using quantum iphones already? Associate Professor Dr Thorsten Altenkirch. Link to more information & Quantum IO Monad Code: http://bit.ly/Computerphile_QIOMonad *From Thorsten: "We have updated the hackage package to work with the new monad library. If you want to play with QIO read the paper and download the code and then you can start quantum programming. :-)" Public Key Cryptography: https://youtu.be/GSIDS_lvRv4 Cracking Windows by Atom Bombing: https://youtu.be/rRxuh9fp7QI Slow Loris Attack: https://youtu.be/XiFkyR35v2Y Google Deep Dream: https://youtu.be/BsSmBPmPeYQ http://www.facebook.com/computerphile https://twitter.com/computer_phile This video was filmed and edited by Sean Riley. Computer Science at the University of Nottingham: http://bit.ly/nottscomputer Computerphile is a sister project to Brady Haran's Numberphile. More at http://www.bradyharan.com
Watch on YouTube ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Playlist

Uploads from Computerphile · Computerphile · 0 of 60

← Previous Next →
1 Follow the Cookie Trail - Computerphile
Follow the Cookie Trail - Computerphile
Computerphile
2 EXTRA BITS - Follow the Cookie Trail - Computerphile
EXTRA BITS - Follow the Cookie Trail - Computerphile
Computerphile
3 Musical Floppy Drives - Computerphile
Musical Floppy Drives - Computerphile
Computerphile
4 The Hair Algorithm - Computerphile
The Hair Algorithm - Computerphile
Computerphile
5 Getting Sorted & Big O Notation - Computerphile
Getting Sorted & Big O Notation - Computerphile
Computerphile
6 Quick Sort - Computerphile
Quick Sort - Computerphile
Computerphile
7 Hyper History and Cyber War - Computerphile
Hyper History and Cyber War - Computerphile
Computerphile
8 Entropy in Compression - Computerphile
Entropy in Compression - Computerphile
Computerphile
9 Original Elite on the BBC B - Computerphile
Original Elite on the BBC B - Computerphile
Computerphile
10 IP Addresses and the Internet - Computerphile
IP Addresses and the Internet - Computerphile
Computerphile
11 A Career in Video Games - Computerphile
A Career in Video Games - Computerphile
Computerphile
12 Error Detection and Flipping the Bits - Computerphile
Error Detection and Flipping the Bits - Computerphile
Computerphile
13 Programming BASIC and Sorting - Computerphile
Programming BASIC and Sorting - Computerphile
Computerphile
14 Birthplace of the World Wide Web - Computerphile
Birthplace of the World Wide Web - Computerphile
Computerphile
15 Punch Card Programming - Computerphile
Punch Card Programming - Computerphile
Computerphile
16 Programming Paradigms - Computerphile
Programming Paradigms - Computerphile
Computerphile
17 CERN Computing Centre (and mouse farm) - Computerphile
CERN Computing Centre (and mouse farm) - Computerphile
Computerphile
18 Error Correction - Computerphile
Error Correction - Computerphile
Computerphile
19 Home-Made Code - Computerphile
Home-Made Code - Computerphile
Computerphile
20 Security of Data on Disk - Computerphile
Security of Data on Disk - Computerphile
Computerphile
21 Gesture Controls - Computerphile
Gesture Controls - Computerphile
Computerphile
22 How Intelligent is Artificial Intelligence? - Computerphile
How Intelligent is Artificial Intelligence? - Computerphile
Computerphile
23 Encryption and Security Agencies - Computerphile
Encryption and Security Agencies - Computerphile
Computerphile
24 Virtual Machines Power the Cloud - Computerphile
Virtual Machines Power the Cloud - Computerphile
Computerphile
25 Hacking Websites with SQL Injection - Computerphile
Hacking Websites with SQL Injection - Computerphile
Computerphile
26 How Huffman Trees Work - Computerphile
How Huffman Trees Work - Computerphile
Computerphile
27 Cracking Websites with Cross Site Scripting - Computerphile
Cracking Websites with Cross Site Scripting - Computerphile
Computerphile
28 Cloud Computing (Cloudy with a Chance of Pizza) - Computerphile
Cloud Computing (Cloudy with a Chance of Pizza) - Computerphile
Computerphile
29 Texting Cabbage with a Recorder - Computerphile
Texting Cabbage with a Recorder - Computerphile
Computerphile
30 Hashing Algorithms and Security - Computerphile
Hashing Algorithms and Security - Computerphile
Computerphile
31 How YouTube Works - Computerphile
How YouTube Works - Computerphile
Computerphile
32 How NOT to Store Passwords! - Computerphile
How NOT to Store Passwords! - Computerphile
Computerphile
33 A New Golden Age of Video Games - Computerphile
A New Golden Age of Video Games - Computerphile
Computerphile
34 A Universe of Triangles - Computerphile
A Universe of Triangles - Computerphile
Computerphile
35 Cross Site Request Forgery - Computerphile
Cross Site Request Forgery - Computerphile
Computerphile
36 The True Power of the Matrix (Transformations in Graphics) - Computerphile
The True Power of the Matrix (Transformations in Graphics) - Computerphile
Computerphile
37 The Great 202 Jailbreak - Computerphile
The Great 202 Jailbreak - Computerphile
Computerphile
38 EXTRA BITS - Printing and Typesetting History - Computerphile
EXTRA BITS - Printing and Typesetting History - Computerphile
Computerphile
39 Triangles to Pixels - Computerphile
Triangles to Pixels - Computerphile
Computerphile
40 The Problem with Time & Timezones - Computerphile
The Problem with Time & Timezones - Computerphile
Computerphile
41 The Visibility Problem - Computerphile
The Visibility Problem - Computerphile
Computerphile
42 Lights and Shadows in Graphics - Computerphile
Lights and Shadows in Graphics - Computerphile
Computerphile
43 The Penguin Barcode - Computerphile
The Penguin Barcode - Computerphile
Computerphile
44 Typesetters in the '80s - Computerphile
Typesetters in the '80s - Computerphile
Computerphile
45 The Font Magicians - Computerphile
The Font Magicians - Computerphile
Computerphile
46 The Little Mac with the Big Bite - Computerphile
The Little Mac with the Big Bite - Computerphile
Computerphile
47 EXTRA BITS - More on the Original Mac at 30 - Computerphile
EXTRA BITS - More on the Original Mac at 30 - Computerphile
Computerphile
48 XP to Ubuntu with an 8yr old Hacktop - Computerphile
XP to Ubuntu with an 8yr old Hacktop - Computerphile
Computerphile
49 EXTRA BITS - Hacktop Real-Time Boot Comparison - Computerphile
EXTRA BITS - Hacktop Real-Time Boot Comparison - Computerphile
Computerphile
50 EXTRA BITS - Making a Bootable USB in Linux - Computerphile
EXTRA BITS - Making a Bootable USB in Linux - Computerphile
Computerphile
51 EXTRA BITS - Installing Ubuntu Permanently - Computerphile
EXTRA BITS - Installing Ubuntu Permanently - Computerphile
Computerphile
52 The Dawn of Desktop Publishing - Computerphile
The Dawn of Desktop Publishing - Computerphile
Computerphile
53 What is Bootstrapping? - Computerphile
What is Bootstrapping? - Computerphile
Computerphile
54 Reverse Polish Notation and The Stack - Computerphile
Reverse Polish Notation and The Stack - Computerphile
Computerphile
55 Home-Made Z80 Retro Computer - Computerphile
Home-Made Z80 Retro Computer - Computerphile
Computerphile
56 Should Everybody Learn to Code? - Computerphile
Should Everybody Learn to Code? - Computerphile
Computerphile
57 Programming in PostScript - Computerphile
Programming in PostScript - Computerphile
Computerphile
58 Heartbleed, Running the Code - Computerphile
Heartbleed, Running the Code - Computerphile
Computerphile
59 YouTube's Secret Algorithm - Computerphile
YouTube's Secret Algorithm - Computerphile
Computerphile
60 YouTube Search & Discovery - Computerphile
YouTube Search & Discovery - Computerphile
Computerphile

Quantum Computing has the potential to revolutionize computer power, but faces challenges like decoherence and scalability, and can be simulated on classical computers with tools like Quantum IoT, and programmed with languages like HLL, to perform tasks like factorization with the Shor algorithm

Key Takeaways
  1. Understand the basics of Quantum Computing
  2. Learn about Quantum Parallelism and superposition
  3. Analyze the challenges of decoherence and scalability
  4. Explore tools like Quantum IoT for simulating Quantum Parallelism
  5. Implement the Shor algorithm for factorization using HLL programming language
💡 Quantum Computing's potential is hindered by decoherence, but can be simulated and programmed to perform specific tasks, like factorization, with the right tools and languages

Related AI Lessons

AI: Energy Taker or Energy Maker
Learn how rising data center energy demands can catalyze a clean energy transition and why it matters for sustainable AI development
Medium · AI
When AI Asks for More Electricity Than a Country Can Imagine
AI's increasing power consumption is causing concerns, learn why it matters for data centers and energy supply
Medium · AI
You Are Not Behind. The World Is.
You're not behind, the world is still adapting to AI, and it's okay to take your time to learn and grow
Medium · AI
Career choice with the advent of AI - pure Computer Science or learn software with a background of core engineering area
Learn how to choose between a Computer Science and Engineering career path or combining programming with a core engineering background in the age of AI
Dev.to AI
Up next
Generative AI
Alea IT Solutions
Watch →