How Quantum Computers Break Encryption | Shor's Algorithm Explained

Sdílet
Vložit
  • čas přidán 29. 04. 2019
  • Go to www.dashlane.com/minutephysics to download Dashlane for free, and use offer code minutephysics for 10% off Dashlane Premium!
    Support MinutePhysics on Patreon! / minutephysics
    This video explains Shor’s Algorithm, a way to efficiently factor large pseudoprime integers into their prime factors using a quantum computer. The quantum computation relies on the number-theoretic analysis of the factoring problem via modular arithmetic mod N (where N is the number to be factored), and finding the order or period of a random coprime number mod N. The exponential speedup comes in part from the use of the quantum fast fourier transform which achieves interference among frequencies that are not related to the period (period-finding is the goal of the QFT FFT).
    REFERENCES
    RSA Numbers (sample large numbers to try factoring)
    en.wikipedia.org/wiki/RSA_num...
    IBM on RSA
    www.ibm.com/support/knowledge...
    Modulo Multiplication Group Tables
    mathworld.wolfram.com/ModuloMu...
    Difference of squares factorization
    en.wikipedia.org/wiki/Differe...
    Euclid’s Algorithm
    en.wikipedia.org/wiki/Euclide...
    Rational sieve for factoring
    en.wikipedia.org/wiki/Rationa...
    General Number field Sieve
    en.wikipedia.org/wiki/General...
    Scott Aaronson blog post about Shor’s Algorithm
    www.scottaaronson.com/blog/?p...
    Experimental implementation of Shor’s Algorithm (factoring 15, 21, and 35)
    arxiv.org/pdf/1903.00768.pdf
    Adiabatic Quantum Computation factoring the number 291311
    arxiv.org/pdf/1706.08061.pdf
    Scott Aaronson course notes
    www.scottaaronson.com/qclec/
    www.scottaaronson.com/qclec/c...
    Shor’s Algorithm on Quantiki
    www.quantiki.org/wiki/shors-f...
    TLS And SSL use RSA encryption
    en.wikipedia.org/wiki/Transpo...
    Dashlane security whitepaper
    www.dashlane.com/download/Das...
    Link to Patreon Supporters: www.minutephysics.com/supporters/
    MinutePhysics is on twitter - @minutephysics
    And facebook - / minutephysics
    Minute Physics provides an energetic and entertaining view of old and new problems in physics -- all in a minute!
    Created by Henry Reich
  • Věda a technologie

Komentáře • 5K

  • @ghufranullah
    @ghufranullah Před 5 lety +16440

    Hey, that's a lot of minutes of physics.

    • @henryjiang9664
      @henryjiang9664 Před 5 lety +219

      ghufran ullah Exactly 17.5 minutes. Though I’m not complaining.

    • @bloodikiwi9707
      @bloodikiwi9707 Před 5 lety +155

      wait. that’s illegal

    • @kyleeversfield8276
      @kyleeversfield8276 Před 5 lety +204

      Actually pretty much half of the video was purely minutes of maths and not physics.

    • @dantebg100
      @dantebg100 Před 5 lety +18

      Hey, that's pretty good!

    • @ACLozMusik
      @ACLozMusik Před 5 lety +161

      It's only a minute of physics if run in a Quantum Computer

  • @12gabriel3
    @12gabriel3 Před 5 lety +2380

    My brain waves superpositioned in a way that only the neurons which did not undertand got positive interference

    • @stratos5372
      @stratos5372 Před 5 lety +180

      You sir, you got the point of the video.

    • @Nilguiri
      @Nilguiri Před 5 lety +1

      ¡Olé!

    • @nonscience3842
      @nonscience3842 Před 5 lety +151

      Since you were able to isolate the non-understanding neurons, subtract them from your results to get total understanding of the video.
      You're welcome.

    • @jdsmooth2j
      @jdsmooth2j Před 5 lety +4

      Hahaha 🤣

    • @Mcspazz731
      @Mcspazz731 Před 5 lety +1

      5Head

  • @bluesy22
    @bluesy22 Před 3 lety +712

    Him: "...and here's the clever part."
    Me: "WHAT WAS THE REST OF THIS?!"

    • @danielyuan9862
      @danielyuan9862 Před 3 lety +32

      getting to the clever part

    • @user-kp5zh8mc9e
      @user-kp5zh8mc9e Před 2 lety +17

      Its can even get complicated, when your first language isnt English, but Russian...

    • @csquaredfilms
      @csquaredfilms Před 2 lety +1

      @@user-kp5zh8mc9e well you’re doing better than all the russian people who cant speak english at all so

    • @misitan42z
      @misitan42z Před rokem

      @@user-kp5zh8mc9e I can confirm you're Russian
      Source: your name and first 5 words

    • @ewthmatth
      @ewthmatth Před rokem +1

      ​​@@danielyuan9862 you misunderstand. The above commenter is saying that it ALL seems clever (i.e. Complex and complicated) to them.

  • @brenorocha6687
    @brenorocha6687 Před 3 lety +338

    It's amazing to see that someone can grasp such difficult concepts well enough to make this "simple" explanation. I don't have the knowledge to understand, but I still can have an idea of what it's about. And it's even more reassuring to see comments from physics students who find this video useful in addition to their study material. Thank you very much and keep the good work!

  • @cannaroe1213
    @cannaroe1213 Před 4 lety +3835

    Me at the half mark: "This couldn't get anymore complicated."
    minutephysics: *_"Fourier Transforms!"_*

  • @idndyzgaming
    @idndyzgaming Před 5 lety +2722

    "I'm going to attempt to explain"
    *me: brain explodes*

    • @MrRolnicek
      @MrRolnicek Před 5 lety +38

      Yea, every other video he explains something ... quantum encryption he ATTEMPTS to explain

    • @CosmicErrata
      @CosmicErrata Před 5 lety +10

      Yours exploded? Mine was removed from existence!

    • @anonymoususer19
      @anonymoususer19 Před 5 lety +20

      I am a physics and maths guy and still get lost

    • @filipantoncik2604
      @filipantoncik2604 Před 5 lety +7

      That's nothing to worry about. It took me a long time to understand anything in my lectures on quantum chemistry/advanced math. This stuff takes just buttload of time and a lot of different sources since it gets super abstract and we have nothing to relate it to. Even after a couple of years, I would consider myself not even a newbie in this field.
      Just take some facts that interest you from the vid and general idea and ignore the math for a bit. Like these:
      - Cryptography is based on us lacking raw computational resources to crack the encryption
      - Using some clever math, you can skew this encryption by removing the unwanted "stuff" using cool quantum properties
      - Your browser history is safe for the foreseeable future, since getting quantum computers to actually work, with reasonable qbits (computational power) is hella hard

    • @anonymoususer19
      @anonymoususer19 Před 5 lety

      Filip Antončík ok but how does the quantum computer cancel the wrong stuff out that’s physically impossible to do with artificial intelligence

  • @jellovendigar
    @jellovendigar Před 3 lety +79

    I love how he makes very hard concepts approachable. Now I’ll share this video with anyone who thinks quantum computers are basically magic

    • @jansenart0
      @jansenart0 Před 2 lety +11

      Fails to explain where the math and the physical reality coincide. And the explanation of Shor's Algorithm in this video does not require QM at all.
      "being cleverly arranged" "set up a quantum mechanical computer"
      A block diagram represented by blue fuzz and black dots.
      That still requires all guesses to be fed into it to generate "destructive interference among guesses".... somehow.
      i. e. magic.

    • @user-un8hy5dd3j
      @user-un8hy5dd3j Před rokem +2

      still magic for me

    • @rightwingsafetysquad9872
      @rightwingsafetysquad9872 Před 4 měsíci

      But the crux of the video is "because quantum computers are magic this works faster".

  • @bowenjudd1028
    @bowenjudd1028 Před 3 lety +22

    Me looking at quantum computers: It’s so cute.
    Brutus: We must think of this quantum computer as a serpents egg, not dangerous now but will be later if not dealt with.

    • @ltnthony8791
      @ltnthony8791 Před 2 lety

      Shakespeare and quantum computing... Such an elegant blend

    • @Shaun_Jones
      @Shaun_Jones Před 5 měsíci

      Well, you can also make quantum encryption that is resistant to this sort of thing; but I’ve only done one course of C# coding and have no idea how that works, so don’t ask me.

  • @davidmelendezsoto7528
    @davidmelendezsoto7528 Před 4 lety +3237

    I watch this when I’m feeling too smart
    To remind myself that I’m not really smart

    • @mywither7878
      @mywither7878 Před 4 lety +58

      In watching this, I expected exactly that, but I felt extra smart instead, I think I may be delusional in my understanding of this stuff, what's your opinion?

    • @johnclever8813
      @johnclever8813 Před 4 lety +22

      Mywither
      I don’t know, but I’m currently in my freshman year of high school writing a paper about Fourier Transforms, so I also felt extra smart. It’s crazy how often they show up.

    • @johnclever8813
      @johnclever8813 Před 4 lety +2

      Patriot Spring
      Really?

    • @mryup6100
      @mryup6100 Před 4 lety +1

      @Patriot Spring wowww

    • @someone-vk6gk
      @someone-vk6gk Před 4 lety +6

      I'm just abuse myself I don't feel smart yet here I am

  • @Asocialite__
    @Asocialite__ Před 4 lety +1368

    0:59 With you so far
    1:02 Shor's Algorithm... never heard of it but I can dig it
    3:57 Ok... just explain what Shor's Algorithm is...
    7:31 Uhh....
    8:56 Ok wait, stop
    11:52 Ok man, you just keep talking, I'm gonna go write a comment

    • @vms_kt
      @vms_kt Před 4 lety +23

      Has this been marked a top comment yet? It needs to be.

    • @Firebreak_2
      @Firebreak_2 Před 4 lety +9

      i slept mid video

    • @taylorg6632
      @taylorg6632 Před 4 lety +7

      The official history of this video xD

    • @davidcook4823
      @davidcook4823 Před 4 lety +6

      I feel attacked.

    • @astralfall3628
      @astralfall3628 Před 4 lety +6

      Followed this to a T. Around 11 mins in i decided to read the comments

  • @jcolinmizia9161
    @jcolinmizia9161 Před 3 lety +20

    The scary part of this is that breaking encryption is no longer a mathematical or scientific question, it’s an engineering question.

    • @bloonspy2260
      @bloonspy2260 Před rokem +3

      but all engineering questions are really fundamentally math and science questions

    • @TheMrVogue
      @TheMrVogue Před 11 měsíci

      @@bloonspy2260 but all math and science questions are ultimately questions

    • @codinghub3759
      @codinghub3759 Před 10 měsíci +2

      ​@@TheMrVoguebut all questions are fundamentally sentences

    • @PurpleBaldGuy
      @PurpleBaldGuy Před 9 měsíci

      ​@@codinghub3759but all sentences are fundamentally words

    • @m_affiliates
      @m_affiliates Před 6 měsíci

      ⁠@@PurpleBaldGuy but all words are fundamentally letters

  • @splodeyferret
    @splodeyferret Před 2 lety +38

    Incredible and impressive that a whole video on breaking industry standard encryption with quantum computers doesn't mention prime numbers... it's like you figured that it was an extra complication that didn't need to be there for the purposes of this video, and you're right!

    • @theworm7156
      @theworm7156 Před 3 měsíci +2

      I mean whenever he talks about the big numbers used in encryption he’s talking about prime numbers

  • @henrygao4487
    @henrygao4487 Před 4 lety +4674

    As a physics student I clicked into this thinking it's just another super basic introductory video...
    Ends up thoroughly reviewing 2 weeks of solid materials from my quantum computing class
    Edit: Highly recommend a quantum computing class if you can take one! More of a math class than physics but still super interesting

    • @anjalimittal5706
      @anjalimittal5706 Před 4 lety +27

      how is quantum computing classes ? I'm thinking to take them in my college next year

    • @tubester358
      @tubester358 Před 4 lety +65

      @@anjalimittal5706 I myself have only attended an introductory class of a course that I ended up not taking, far as I recall half the syllabus was theoretical introductory subtopics before they get to the gates and how quantum computers are/work

    • @lukefernandez3492
      @lukefernandez3492 Před 4 lety +14

      AJ Ok

    • @sampattuzzi
      @sampattuzzi Před 4 lety +43

      I wish my lecturer in Quantum Computing taught it this well. I finally get it. Only 6 years late!

    • @gabe8168
      @gabe8168 Před 4 lety +29

      @@AJ-ds5gf why are you mad? Are you jealous that he didn't drop out of school?

  • @WAMTAT
    @WAMTAT Před 5 lety +1572

    I think I follow. Smart computer makes maths go fast. Fast math is equal to no more computer security.

    • @samuelmatheson9655
      @samuelmatheson9655 Před 5 lety +130

      QUICK MATS

    • @kevinzhu6417
      @kevinzhu6417 Před 5 lety +104

      alex do good. smart boy know latest developments in computer security

    • @dellarosa1716
      @dellarosa1716 Před 5 lety +11

      alexander williams underrated comment is underrated

    • @redhunter8731
      @redhunter8731 Před 5 lety +15

      Not exactly. Computer security is still possible it would have to evolve.

    • @moondust2365
      @moondust2365 Před 5 lety +29

      It actually goes both ways. Quantum computers calculate faster math. That faster math can be used to _en_ -crypt or _de_ - crypt. So, no worries...

  • @comoli8609
    @comoli8609 Před 4 lety +15

    I did a project on shors algorithms problems and benefits, instead of trying to explain what it did, I just summed it up with "using math" 😂.

  • @tauhidzaman2826
    @tauhidzaman2826 Před 4 lety +6

    Thanks for making this video. I took a class with Peter Shor and I still didnt understand his algorithm. But this video makes it so clear. Great work!

  • @akatsukilevi
    @akatsukilevi Před 4 lety +2004

    Me: I'm safe! My computer is using RSA-256 to store passwords
    Quantum computer: Hold my P

  • @redditatnight3222
    @redditatnight3222 Před 5 lety +185

    Movie script: **Has some tech they can't explain**
    Scriptwriters: *"Quantum"*

    • @ravenous9577
      @ravenous9577 Před 5 lety +5

      Reddit at Night yeah pisses me off tbh

    • @MinecraftCoolCreeper
      @MinecraftCoolCreeper Před 5 lety +5

      Endgame spoiler alert:
      Yeah marvel endgame using "quantum mechanics" to try to describe time travel while making zero sense

    • @AnthanKrufix
      @AnthanKrufix Před 5 lety +5

      "Do you guys just add 'quantum' to everything?" ~Antman and the Wasp

    • @_BangDroid_
      @_BangDroid_ Před 5 lety

      Firefox *_Quantum_*

    • @meltice_official
      @meltice_official Před 5 lety +1

      I know enough to make conversations... Rip black widow

  • @kenedi987
    @kenedi987 Před 2 lety +2

    Great vid, thanks minutephysics! Been following your channel since I was 9 or 10 and now I'm going into uni and your content is still great and useful.

  • @JacklynnInChina
    @JacklynnInChina Před 2 lety

    Every now and again I forget how shor's algorithm works, and every now and again this video comes up in my recommended and reminds me. Solid review of the quantum computing section of my survey of computer science. Love your videos

  • @DanDan-yy5bo
    @DanDan-yy5bo Před 5 lety +248

    I‘m gonna be honest, at a certain point I didn’t understand it anymore, but just the fact that I understood half of it is good enough and it just shows how good you explain things. Great channel, keep it up!

    • @30weekoldwomber61
      @30weekoldwomber61 Před 5 lety +3

      It's an overview.plus you dont know anything about the computer itself, so its not really possible to understand everything just from this video, only if you have studied many different pieces separately already.

    • @davidvondoom2853
      @davidvondoom2853 Před 5 lety +2

      Ya, I feel like you need to understand what a quantum computer is and how it works, to understand the second half of the video.

    • @DanDan-yy5bo
      @DanDan-yy5bo Před 5 lety

      David von Doom I actually get that a quantum computer works by randomly searching off data, while a normal computer does it in an order, and that this is due to super position, but it‘s hard to understand not knowing much about electronics and computers in particular.

    • @30weekoldwomber61
      @30weekoldwomber61 Před 5 lety

      @@DanDan-yy5bo No I dont think it does anything randomly. I dont know how it works too be upfront, but if it was random the computation would be random in its results. For want of a better metaphor, imagine a hypercube, hard to picture in your mind, but easier to compute. Quantum computers can make use of extra "dimensions" exponentially based on the number of qubits it has available...that's a metaphor still...
      My point is only that its not random, just complex and very different to how classical computing works. I wish I knew more and I dont understand it myself.

    • @PatchyE
      @PatchyE Před 5 lety

      @@DanDan-yy5bo Oh you don't need to know any electronics to understand quantum computer. You only need to know some basic quantum physics.

  • @Fuzzycuffsqt
    @Fuzzycuffsqt Před 5 lety +151

    Ooooh. Now I understand.
    That box full of little dots is where the maths come from.

    • @agiar2000
      @agiar2000 Před 5 lety +21

      **Slaps lid of box.**
      "This bad boy can fit so many maths in it."

  • @ishir1495
    @ishir1495 Před 3 lety +11

    ME 4 MINUTES IN: I AM UNDERSTANDING EVERYTHING
    ME AFTER 2 MIN: HUH,WHATS GOING ON?WHERE AM I?WHAT AM I DOING?

  • @JamesonHuddle
    @JamesonHuddle Před rokem +6

    I'm gonna be honest I only understood a tiny bit of the math but the overall concept is really cool and I am really excited about the future of computing both quantum and "regular." Thanks for the video

  • @TheIronflame
    @TheIronflame Před 5 lety +358

    This was one of the best explanations I've seen of /exactly/ how quantum computers can be faster at certain problems.

    • @Dezomm
      @Dezomm Před 5 lety +4

      Agreed, I've known the gist of it but now I feel like I actually get it. Obviously there's much more to it but now I feel like I could at least explain it to someone else, which I wasn't able to before watching this.
      Thank you minutephysics

    • @poopsmcgee2k6
      @poopsmcgee2k6 Před 5 lety +13

      This guy pretending to get it

    • @perhapsso1909
      @perhapsso1909 Před 5 lety +6

      @@poopsmcgee2k6 it makes sense in the video. Although simplified, it should give you a basic idea.

    • @justinl2009
      @justinl2009 Před 5 lety

      @@perhapsso1909 Wait, this is basic? Jesus, I can't even imagine the advanced form.

    • @callofdutymuhammad
      @callofdutymuhammad Před 5 lety

      @@justinl2009 Did a course on it a few years ago by accident (thought it was a good idea) 2 weeks in, I realise this shits basically all voodoo when you go into depth. But after that i've finished higher physics/maths/cs so maybe if i try going in depth again ill gain a better understanding.

  • @cogenerate
    @cogenerate Před 5 lety +1010

    Here's how quantum computers will break even the strongest encryption ridiculously easy. Now, buy our sponsor's product... encryption.

    • @eclipserepeater2466
      @eclipserepeater2466 Před 5 lety +70

      And that's why the video ends with "but encryption still works for now!"

    • @shaqmaverick
      @shaqmaverick Před 5 lety +4

      @@eclipserepeater2466 it could bypass cryptocurrency? genius

    • @xylophonezebra2104
      @xylophonezebra2104 Před 5 lety +13

      Would have been epic if this ended with a plug for Bitcoin.

    • @xylophonezebra2104
      @xylophonezebra2104 Před 5 lety +4

      Kampfarsch, tell that to Intel 🙂

    • @tudornaconecinii3609
      @tudornaconecinii3609 Před 5 lety +34

      Kampfarsch quantum computers exist right now. It's just that they are billions of times weaker than binary computers atm because we don't know how to stably stack qubits together yet.

  • @macpr0c
    @macpr0c Před 3 lety +10

    My god this video helped me immensely for intuitively understanding the logic behind the Shor's algorithm for my QC course ! Honestly I did not expect such a relatively indepth look at the workings of the algorithm but I was very pleasantly surprised. Thank you.

  • @nicoleisgoddess
    @nicoleisgoddess Před 3 lety +1

    This is by far the best description of quantum computing for nonprofessionals I have found on youtube

  • @Cailus3542
    @Cailus3542 Před 4 lety +551

    13:59 "...and I'm oversimplifying a touch here."
    ...Uh huh. 0_0

    • @taylorg6632
      @taylorg6632 Před 4 lety +14

      But I gots an A+ on coloring homewaork!! ^(ovO)^

    • @DrexYiii
      @DrexYiii Před 4 lety +6

      I saw this comment while watching at the point of 13:59. Lol

    • @xsuperpigx
      @xsuperpigx Před 4 lety +1

      Taylor G I nearly got detention for not colouring in my homework once... it wasn’t fun.

    • @vsiegel
      @vsiegel Před 3 lety

      Who would ever simplify quantum mechanics? We know many explanations, but all of them are already simplifications!

  • @SofosProject
    @SofosProject Před 5 lety +826

    *sees 17 minute time*
    Boy I'm in for a ride.

    • @sasdagreat8052
      @sasdagreat8052 Před 5 lety +14

      -minutephysics-
      minutesphysics

    • @russdill
      @russdill Před 5 lety +4

      And the music ran out after the first minute.

    • @ChIbIDahKIlla
      @ChIbIDahKIlla Před 5 lety +1

      *holds his own beer*

    • @munster355
      @munster355 Před 5 lety

      Especially when it's about quantum physics...

    • @pkeric2626
      @pkeric2626 Před 5 lety +1

      russdill lmao did‘nt even notice

  • @commanderzander580
    @commanderzander580 Před 3 lety +7

    This can be used against asymmetric encryption, but not symmetric encryption, which is what most data uses. Symmetric encryption takes a random string of letters and numbers, and uses that string to mash up the data in specific ways that you can't undo without knowing what the string is. No factoring is involved, and you can't use Shor's algorithm. However, getting your secret string to someone you trust usually DOES include asymmetric encryption. But if the quantum attacker missed the key exchange, you can't break in by doing this.

    • @gotnoname3956
      @gotnoname3956 Před 3 měsíci

      It can't be even used against asymmetric encryption in general. Only for the encryption that are using factorization. For lattice based algorithm there is no usage at all for it. And there are several asymmetric encryptions that are not based on factorization.

    • @enochliu8316
      @enochliu8316 Před 27 dny

      @@gotnoname3956 Some of those asymmetric encryptions, like DH and ECC, are also vulnerable to Shor's alg.

    • @gotnoname3956
      @gotnoname3956 Před 27 dny

      @@enochliu8316 DH and ECC are not lattice based and therefore not some of the ”those asymmetric encryptions”. CRYSTALS-Dilithium would be one example with a lattice based algo. Asymmetrical encryptions are obviously not quantum resistant in general but that was (hopefully clearly) not my point 😅

  • @karicowo
    @karicowo Před 3 lety

    After a few hours of watching videos about quantum computing, I think I got a pretty solid grasp on how quantum computing is useful and how it's applied, thanks

  • @ncedwards1234
    @ncedwards1234 Před 4 lety +613

    Me: Follows the explanation to the end
    Also me at 14:53: Oh, g stands for guess

    • @-ireeri-3956
      @-ireeri-3956 Před 3 lety +1

      Woooo

    • @ElGrecoOB
      @ElGrecoOB Před 3 lety +9

      I remember g being used as shorthand for "generator" in my number theory course. But I must admit that I was not able to completely follow the details...

    • @TheTck90
      @TheTck90 Před 3 lety

      I watched this after my relativity course and kept thinking g is a metric tensor

    • @chrisdejager
      @chrisdejager Před 3 lety +7

      And I kept seeing 9 instead of g :)

    • @lazyer0511
      @lazyer0511 Před 3 lety +11

      And p stands for power

  • @theCodyReeder
    @theCodyReeder Před 5 lety +2293

    Why do I get the feeling we're about to break the game?

    • @mineteam0
      @mineteam0 Před 5 lety +205

      We are in the endgame of computer science now.

    • @hajmola7605
      @hajmola7605 Před 5 lety +12

      Oh look who's here!

    • @godfreypoon5148
      @godfreypoon5148 Před 5 lety +6

      It's because that guy in the sketches with the laptop keeps vomiting. Sooner or later he's gonna get some in the laptop and then it's all over.

    • @SamuelLay
      @SamuelLay Před 5 lety +18

      And now you've made me lose the game!

    • @BothHands1
      @BothHands1 Před 5 lety

      Hopefully we have some time before that happens. lol

  • @runtrls
    @runtrls Před 2 lety

    Spectacular explanation! Thank you Minute Physics - I've always wanted to understand this.

  • @rockepzi
    @rockepzi Před 28 dny +1

    the final word, "Just Yet" is the best phrase in the video

  • @sagetmaster4
    @sagetmaster4 Před 5 lety +604

    Really appreciate how much effort you put into this, thanks

    • @BillAnt
      @BillAnt Před 5 lety +3

      Yeah well, the title of this video is a bit misleading.
      Let me explain... just because we might get super fast quantum computers in the future, Internet Security will NOT be destroyed instantly. Why? Simply because of a little thing called "Timeout Delay (TD)" and "Two Factor Authentication (2FA)" during the Challenge/Response phase.
      Timeout is an artificially introduced delay in the log-in process (including in real time browsing encryption), specifically if you enter the first password incorrectly (or the browser send the incorrect NONCE response), there could be a 5 second timeout, and with each subsequent wrong entry the timeout delay may be increases with a predetermined amount or exponentially (similar to the iPhone's screen lock method), therefore rendering any super-fast quantum computer useless. In other words you may be able to generate all the password combinations possible in a short time, but you won't be able to enter it in a short enough time, that is before you die. ;)
      Two Factor Authentication takes it a step further, incorporating the Timeout Delay, and it also sends a temporary password/prompt to a second device completely separate from log-in device, and without the proper authentication even the correct password will not work.
      Both of these methods can be easily implemented into any website's log-in process (including browser encryption), practically nullifying the advantages of the fastest quantum computers on Earth, so Internet Security will NOT be destroyed just yet. ;D

    • @calebjiang4056
      @calebjiang4056 Před 5 lety

      @@BillAnt there's no need to brute force the password when you can brute force the secure element where the password is stored.

    • @BillAnt
      @BillAnt Před 5 lety

      @Caleb Jiang < Well sure, IF you have access to that secure enclave (for example in the iPhone it's impenetrable thus far).
      Karim Alibhai < I certainly understand that, I was just making an illustration with a regular password login which is quite similar in mechanism (challenge response wise) so most people would understand. Plus there are way too many "IF"s in capturing real time traffic. And let's suppose that quantum computing will becomes available, rest assured clever browser designers will implement countermeasures against real time traffic snooping such as encrypted dummy packets which will simply trip up even quantum computers by bogging them down with useless computations.
      One of the best countermeasures against brute force hacking is a "timeout", meaning that there's a programmed time lapse between restries which renders even quantum computers useless, there's nothing to try till the timeout is over.

    • @BillAnt
      @BillAnt Před 5 lety

      Karim Alibhai < Right, but you still can't inject an NONCE challenge no matter what tool you have till quantum computing becomes available. And by then browser makers would have already implemented methods to trip up even quantum computers by various techniques including timeouts during the challenge/response phase. I rest assure you, you can sleep just fine tonight that none's gonna steal your real time traffic as long as it's encrypted by industry standard methods.

    • @BillAnt
      @BillAnt Před 5 lety

      @Karim Alibhai < Well obviously government sponsored spying taps the "data pipe" at the source and even use Zero Day OS exploits and other backdoors to read your data BEFORE it even gets encrypted by the browser. So yeah my advice is don't do anything illegal and you'll be fine. ;) (not talking to you specifically but in general) Oh and as far as cloud based storage, anyone who stores their contacts, messages, etc in a Google account for example is probably the least safe place since upon a subpoena they'll decrypt it in a heart beat.

  • @pensive955
    @pensive955 Před 5 lety +1789

    me: *understands nothing*
    also me: *nodding along* yes, yep that's what I thought

    • @reyariass
      @reyariass Před 5 lety +56

      "Ahuh... carry the one- yes, i was about to tell you to do that."

    • @lordmaximillius3431
      @lordmaximillius3431 Před 5 lety +7

      😂🤣🤣 on jah...I'm fucking dead

    • @jamestheotherone742
      @jamestheotherone742 Před 5 lety +14

      Not to worry, even the people that created it were the same way, they just realized that everyone else would have the same reaction and no one would admit it made no sense, not even the people who write checks and give out grant money.

    • @DrMrPersonGuy
      @DrMrPersonGuy Před 5 lety +2

      @@jamestheotherone742 What about it makes no sense?

    • @Kalenz1234
      @Kalenz1234 Před 5 lety +15

      It was easy to follow the logic.
      I just have no idea about how the math works.
      How does a shared factor of the factors give you the factor?

  • @itamarteuerstein8531
    @itamarteuerstein8531 Před 2 lety

    Keep making longer videos, they are great!

  • @tahajaffer1833
    @tahajaffer1833 Před 3 měsíci +1

    This was wonderful, thank you minutephysics!

  • @Ngamotu83
    @Ngamotu83 Před 5 lety +1535

    I'm just going to pretend I understood even a minute of all this.

    • @Guztav1337
      @Guztav1337 Před 5 lety +116

      You don't have to understand per se, just get the general idea:
      1. There is math for turning crappy guess into better guess. (slow on a normal computer)
      2. Quantum computing, can make multiple guesses at the same time. (fast)
      3. Destructive interference with all the wrong guesses leaves you with the right guess. (get right guess fast)
      4. This method can break internet privacy and security, exposing everybody's data. Because it can guess correct fast.
      It's like using all the keys in the world at once to unlock your door, and one of them will be correct, and you can instantly find the correct.

    • @TinfoilHatWearer
      @TinfoilHatWearer Před 5 lety

      Me too.... 😞

    • @RamkrishanYT
      @RamkrishanYT Před 5 lety +7

      I actually understood the first minute where he says that he's going to 'attempt' to explain it. In that segment, the author is saying that he will try to explain Shor's algorithm in the next segment.

    • @VidVwr00
      @VidVwr00 Před 5 lety

      This just taught me everything I forgot

    • @SuperShekky
      @SuperShekky Před 5 lety

      You have a poor brain

  • @sydswift4989
    @sydswift4989 Před 5 lety +1350

    Just send the data in plaintext. When the hackers assume you've done the right thing and transmitted encrypted data, they will try to decrypt it and just end up garbling it.

    • @ridermcdonald
      @ridermcdonald Před 5 lety +211

      Syd Swift Reverse Psychology at its finest🤣

    • @thehiddenninja3428
      @thehiddenninja3428 Před 5 lety +120

      Very true! No hackers would actually look at the data transmitted

    • @vanillacokejunky
      @vanillacokejunky Před 5 lety +169

      i know its a joke but clearly you guys have never seen a packet sniffer like wireshark in action. its immediately noticeable when something is sent in plain unencrypted text. i mean i guess you could speak in code and send that over plain text like "Mother Goose has landed" but that defeats the purpose of using the technology in the first place.

    • @sydswift4989
      @sydswift4989 Před 5 lety +156

      @@vanillacokejunky I have used wireshark before, and you're right, if you know which packet you're looking for then it would be easy to see that its unencrypted, but if you were to write a script to automate the process of decrypting large amounts of data then you might miss that and just skip right to processing it through your algorithm. One way to "fool" someone using this "method" would be to send a bunch of encrypted arbitrary data before the unencrypted data to make them assume that it is all encrypted. I'm not proposing anyone should transmit unencrypted data for the record, but it's a fun thought experiment.

    • @muhammadammarrasyid5780
      @muhammadammarrasyid5780 Před 4 lety +22

      This some mind game sh*t

  • @williamkopcha9442
    @williamkopcha9442 Před 3 lety +5

    Thank you so, so much! As a graduate student in materials chemistry interested in this field, this video clears up so many of the gaps in the math that the literature just assumes the reader already knows (but I do not have the proper background for). So helpful!

  • @Cenox1000
    @Cenox1000 Před 3 lety +1

    I'm a student currently working on a lecture about this algorithm. Video helped a lot. Thanks :)

  • @kittybeans8192
    @kittybeans8192 Před 5 lety +332

    I remember when this channel was MINUTE physics...
    no regrets.

    • @christopherrowley7506
      @christopherrowley7506 Před 5 lety +17

      if you pronounce minute with emphasis on the second syllable, minute as in really small, then the quantum stuff is still on topic..........

    • @wwtapsable
      @wwtapsable Před 5 lety +1

      youtubes algorithm kills that junk

    • @Blox117
      @Blox117 Před 5 lety +1

      its still called minutephysics

    • @PlasmaMongoose
      @PlasmaMongoose Před 5 lety

      If they could post this video on a quantum computer, it would only take a minute to watch again.

    • @jongyon7192p
      @jongyon7192p Před 5 lety

      17.5 minutephysics

  • @marcushendriksen8415
    @marcushendriksen8415 Před 5 lety +74

    "Are you _sure_ this encryption is unbreakable?"
    "Shor I'm sure!"

  • @n-da-bunka2650
    @n-da-bunka2650 Před 7 měsíci

    4:39 - Position of enlightenment. Truly needed NOTHING else in this video other than this one 10 second snippet! Thanks!

  • @matthewblanchard7823
    @matthewblanchard7823 Před rokem

    Very well done explanation with excellent pacing. I'm very limited in my knowledge of math but I kind of got the idea behind it all.

  • @friedpickles7924
    @friedpickles7924 Před 5 lety +2496

    Does that mean that naming my porn folder as *Homework* wont work anymore?

    • @amateurprogrammer25
      @amateurprogrammer25 Před 5 lety +278

      No that will continue to not work just like it always has

    • @macronencer
      @macronencer Před 5 lety +164

      Hey it kind of IS homework. In a way.

    • @amateurprogrammer25
      @amateurprogrammer25 Před 5 lety +66

      @@macronencer um....
      say more about that

    • @Ghorda9
      @Ghorda9 Před 5 lety +105

      @@amateurprogrammer25 Studying anatomy for art/film/painting/etc.

    • @MatthewChenIsAwesome
      @MatthewChenIsAwesome Před 5 lety +12

      @Raphael yes, but if there were no net displacement, then no work would be done! You must always remember to stop exerting force in a location that was different than the start!

  • @CalculusPhysics
    @CalculusPhysics Před 5 lety +377

    i would definitely love to hear more about the Quantum Fourier Transform!

    • @MackyMuse
      @MackyMuse Před 5 lety +2

      Chloe loser

    • @stardustreverie6880
      @stardustreverie6880 Před 5 lety +44

      Chloe winner

    • @vivek7154
      @vivek7154 Před 5 lety

      Is this a thing?

    • @recklessroges
      @recklessroges Před 5 lety +4

      Before QFT I would start with czcams.com/video/spUNpyF58BYv/video.html (though if you're watching MP, you probably already have.)

    • @Inujasa88
      @Inujasa88 Před 5 lety

      Does this really exist? Is this really a thing?

  • @agustincarvallorauff6899

    What a great video man. Incredible easy explained. Thank you

  • @LLGilad
    @LLGilad Před 4 lety +2

    I saw this video a year ago and now I need this information for my homework, just one year after this video was published.

  • @StarboyXL9
    @StarboyXL9 Před 5 lety +1369

    My girlfriend really enjoys quantum physics. She said that her physics professor really taught her some "super positions"

  • @TheDekalibrierer
    @TheDekalibrierer Před 4 lety +991

    As a student who had to learn Shor's Algorithm for an exam: Thank you for this video!
    I finally have an intuitive understanding of that the algorithm is trying to achieve, and how. Of course, I had to invest an extra couple of hours to be able to actually calculate this stuff correctly, but even when you reach that point, I found that you still lack that "feeling" for what is actually happening in front of you while you're doing all of this.
    This video helped with that part, it's the easiest way to explain what is actually going on, you get this really good and informative overview, without being interrupted after every step because you have to do some laborous matrix transformation again. :)

    • @skittybug6937
      @skittybug6937 Před 4 lety +39

      I don't even understand this comment.

    • @adilshonbayev9567
      @adilshonbayev9567 Před 3 lety +10

      Man how did you do this? I think to understand all that stuff you have to start thinking like a quantum computer.

    • @enderb0t
      @enderb0t Před 3 lety +1

      Okay you English major

    • @iveharzing
      @iveharzing Před 3 lety +24

      @@adilshonbayev9567 It mostly comes down to preliminary knowledge: you have to study the parts before you're able to understand the whole.
      It's hard to understand integration if you've never heard of a function before.
      It's hard to understand Shor's algorithm if you've never heard of a Fourier Transform before.
      It's hard to understand Fourier Transforms if you've never heard of Complex numbers.
      Etc etc.......

    • @Twisted_Code
      @Twisted_Code Před 2 lety +1

      Yeah I know how you feel. Sometimes I watch Tom Scott's tech videos for topics I already think I understand, but the explanation often lets me solidify my understanding.

  • @MrMaefiu
    @MrMaefiu Před rokem

    amazing video! Thanks a lot for the work you put into this!

  • @gauthamchandra2081
    @gauthamchandra2081 Před 3 lety

    Absolutely brilliant, very intuitively explained.

  • @tehnomsthewalrus
    @tehnomsthewalrus Před 5 lety +331

    Take a drink every time he says "superposition"

  • @sunglow9835
    @sunglow9835 Před 5 lety +278

    9:46
    Lets just take a moment admire the marker changes in this part. Like goddamn, that looks satisfying!

    • @marcoottina654
      @marcoottina654 Před 4 lety +4

      ​@plastic bottle or his eyes are in a super position.
      Or super observation.
      ahah

    • @AnonMedic
      @AnonMedic Před 4 lety +2

      Looks even better if you slow it down a bit

    • @simopelle
      @simopelle Před 4 lety

      put video speed to 0.5x

    • @SubduedRadical
      @SubduedRadical Před 4 lety +1

      :O
      It's a superposition of markers! Sorta!
      Good catch. I was so mesmerized by the information, I didn't even see the colors. It's all math to me.

  • @gerosantillan84
    @gerosantillan84 Před 3 lety

    I love this videos. I don't get a single thing I'm watching but I still feel amazed

  • @NobodyYouKnow01
    @NobodyYouKnow01 Před rokem +1

    I’d like to thank you for the detailed explanation you provided in this video. I wouldn’t have understood Veritasium's video today without this one.

  • @someone-mh1bo
    @someone-mh1bo Před 5 lety +880

    You should make a new channel called MinuteCS.

    • @PoweDiePie
      @PoweDiePie Před 5 lety +64

      17minuteCS.

    • @NetAndyCz
      @NetAndyCz Před 5 lety +32

      Seriously, it will take two years and we will see hour long videos here.

    • @artispeedy
      @artispeedy Před 5 lety +7

      This is more like MinuteAlgebra.

    • @nurdboy5060
      @nurdboy5060 Před 5 lety +10

      Minute computer science?
      Thats great
      He can make a playlist rather than a new channel

    • @jamestheotherone742
      @jamestheotherone742 Před 5 lety +2

      Nothing really CS here except for the "Magic Box" quantum computer he holds up as the solution to all of the flaws in this idea.

  • @frank16999
    @frank16999 Před 5 lety +384

    Me after hearing the words Fourier Transform for the first time after completing an engineering degree: *Hello darkness my old friend*

    • @Luis0n7i
      @Luis0n7i Před 5 lety +7

      Hahahaha same here :'v

    • @chuachenghong7788
      @chuachenghong7788 Před 5 lety +3

      Lucky you. I have to deal with fourier transform since year 1.

    • @mojolotz
      @mojolotz Před 5 lety

      *shudders*

    • @ifer1280
      @ifer1280 Před 5 lety

      I just spent five minutes looking for the word convolution. I remembered the math, but not the name!

    • @harunkivril7186
      @harunkivril7186 Před 5 lety

      Industrial Engineer ?

  • @jukmifggugghposer
    @jukmifggugghposer Před rokem

    OMG I’ve been looking for this kinda video for ~so~ long. I’ve heard quite a few times that “quantum computers break modern encryption methods”, but it’s never been explained any more than “bits can take values between 0 and 1, therefore they’re better at cracking encryption”. So glad to find this.
    Okay this was a much more satisfying explanation. I’m not gonna say I understood it 100% on first watch, but I am now armed with at least a surface level understanding of why quantum computers break modern encryption.

  • @steed3902
    @steed3902 Před 3 lety

    this was incredible. made me feel like i understand something i have very little understanding of! Kudos to the presenter.

  • @squidpai_
    @squidpai_ Před 5 lety +30

    introducing a new youtube channel:
    seventeenandahalfminutephysics

  • @pranshusrivastava8353
    @pranshusrivastava8353 Před 5 lety +30

    I got a phone call in the middle of the video. I cut it, and came back, and had just missed 10 seconds of the video. I had to go back 2 minutes to understand it again. That said, excellent video!

  • @Gredddfe
    @Gredddfe Před 3 lety +41

    "Design an algorithm which calculates all possible answers at once while being clever enough that the wrong answers destructively interfere with each other".
    As a humble PHP programmer, the first thing I did was laugh. Then I panicked. Now I want to program on quantum computers.

  • @KenWadland
    @KenWadland Před rokem

    I've been curious about how Shor's Algorithm works. This video explained it perfectly!

  • @mhe0815
    @mhe0815 Před 4 lety +257

    Thank you. After watching this, I feel smarter and dumber at the same time now.

    • @mizaelflores2360
      @mizaelflores2360 Před 4 lety +24

      quantum intelligence

    • @skittybug6937
      @skittybug6937 Před 4 lety +18

      @@mizaelflores2360 Schrodinger's IQ.

    • @cameosix7077
      @cameosix7077 Před 4 lety +18

      Your IQ is in a superposition

    • @marek419
      @marek419 Před 3 lety +1

      I feel like that after learning anything new lol

    • @Rhidayah
      @Rhidayah Před 3 lety

      So, now you can change your password account?

  • @jocabulous
    @jocabulous Před 4 lety +510

    damn they really left that computer computing for 2000 years

    • @nicholascomet8528
      @nicholascomet8528 Před 4 lety +4

      jacob henke gotta be a simulation though, because computers have only been around for like 2 centuries at maximum.

    • @jocabulous
      @jocabulous Před 4 lety +158

      t h a t s t h e j o k e

    • @tejastakalkar7924
      @tejastakalkar7924 Před 4 lety +20

      I don't think so... Because the computer would stop computing if there is a power shortage even for single day in those 2000 years....and it will have to start again from the scratch 😪

    • @gweltazlemartret6760
      @gweltazlemartret6760 Před 4 lety +79

      @@tejastakalkar7924 : 2000 years for 1 computer.
      1 year for 2000 computers.
      1 day for 730 000 computers.
      Big numbers.

    • @collinhoben3793
      @collinhoben3793 Před 4 lety +12

      @@nicholascomet8528 r/whoosh

  • @cern1999sb
    @cern1999sb Před 2 lety

    This contains a better intuitive description of the quantum Fourier transform than was given to me by my quantum computing module at university

  • @michaelareay1037
    @michaelareay1037 Před 2 lety

    Very helpful. This is something I have to start to get to grips with and a first run of this lesson gave me good insight and with a few more views I think I will absorb it more fully. I'll be back.

  • @freddyfredrickson
    @freddyfredrickson Před 5 lety +322

    I think a commodore 64 will crack a 1000 digit encryption code before I will understand this video.

    • @BrendonGreenNZL
      @BrendonGreenNZL Před 4 lety +3

      I'm sure it could do it, given a large enough spool of tape to swap to.

    • @catchara1496
      @catchara1496 Před 4 lety +1

      Brendon Green *but would it be faster*

  • @jaiyash0
    @jaiyash0 Před 5 lety +178

    My neurons destructively interfered while watching this

  • @jhb1493
    @jhb1493 Před 3 lety +1

    I worked at a major Telecom as a PM a while back, and one day my boss asked our team to brainstorm potential future issues or threats that the company might not be prepared for.
    I mentioned two things, both of which seemed obvious: pandemics and this.
    He said Quantum Computing was "science fiction" and, as for pandemics, this "isn't the middle ages". He still works there, I do not.

  • @Owen_loves_Butters
    @Owen_loves_Butters Před rokem +4

    For anyone having trouble understanding this video:
    It's not your fault. Quantum mechanics is one of the hardest fields of science to understand. Explaining the depths of Shor's algorithm (or really any quantum algorithm) in a way that a lay person can understand is, in my opinion, utterly impossible. I have a very loose grasp on what he's saying, but that's based on heaps of previous knowledge on quantum mechanics. I need to do some research on Quantum Fourier transforms.
    Understanding complex things like this without preliminary knowledge just isn't gonna happen. You need to understand the parts to understand the whole. You can't build a car if you don't know what an engine is. You can't understand how a computer works if you don't know what a transistor is. And you can't understand Shor's Algorithm without knowing how a quantum computer works, which you can't know until you know what a superposition is, etc.

  • @CodyOsborn1
    @CodyOsborn1 Před 5 lety +140

    I was lost about two minutes in, but kept watching because it was fascinating!

    • @ntwede
      @ntwede Před 5 lety +13

      Hey, it's called minute physics. That means you understood two whole videos! Good on you.

    • @alanlahay8693
      @alanlahay8693 Před 4 lety

      Same

  • @S4R1N
    @S4R1N Před 5 lety +394

    Quantum hacking, A.K.A 'Shor's Lightsaber'.

  • @KeithMakank3
    @KeithMakank3 Před 3 lety

    dude the glow on the light saber well done!

  • @thsxi
    @thsxi Před 3 lety

    I love how I watch this video and don’t understand anything but still find it enjoyable

  • @JD-mz1rl
    @JD-mz1rl Před 4 lety +47

    11:50 that moment when you realize they've come up with something more substantial to teach in the text books since you've graduated from college

  • @panaural
    @panaural Před 5 lety +47

    Quantum computing does not break encryption. It breaks a select subset of encryption algorithms, primarily used for key-exchange. AES, the algorithm currently used to encrypt almost all data on the internet, is already resistant against Shor's algorithm. And quantum-safe ways for key-exchange are also readily available.

    • @sentjojo
      @sentjojo Před 5 lety +6

      But it does break a lot of legacy techniques. Which isn't a problem so long as people actually install updates and continue to move to safer algorithms

    • @panaural
      @panaural Před 5 lety +15

      @@sentjojo Not installing updates is already causing serious security/privacy problems. The availability of quantum computing is not going to change that, nor will it make people suddenly follow a strict update-policy. The worse it will do is lull people into a false sense of security once they _have_ patched their encryption-frameworks again quantum-attacks.

    • @rizzaxc
      @rizzaxc Před 5 lety +2

      well to use AES you still need either RSA or Diffie-Hellman. I'm not sure if DH key exchange is gonna be affected by QC, but RSA definitely is

    • @panaural
      @panaural Před 5 lety +4

      @@rizzaxc AES operates independent of the key-exchange algorithm that is used, so it does not _depend_ on RSA or DH. For DH, there is a quantum-safe variant available called 'supersingular isogeny key exchange'. So effectively, nothing will break. Files/data already encrypted using AES will remain safe. That is, of course, assuming that we will eventually be able to keep 4096+ quantumbits (needed to run Shor's algorithm for 2048-bit RSA keys) entangled without decoherence. Which is also debateable atm. But that is another discussion entirely ;)

    • @rizzaxc
      @rizzaxc Před 5 lety +1

      @panaural wrong, AES doesn't depend on RSA or DH, but the use of it does. you need an effective key exchange scheme for symmetric encryption, and as stated I'm not aware whether DH is gonna be affected, but RSA definitely is. Also, the pain of updating everything to be QC-resistant is also going to be a threat

  • @marinenukem
    @marinenukem Před 3 lety +1

    This was an amazing video, very educational, and I understood less than half of it. All I know is that we're looking for P to get N.

  • @magius101
    @magius101 Před rokem +4

    This was really, really well done. Took me back to my physics/communications classes. Shor's algorithm, quite clever, it's use of Fourier was the chef's kiss.

  • @marcorizza274
    @marcorizza274 Před 5 lety +18

    Thanks for disabling the background music during the explanation, much appreciated

  • @flisboac
    @flisboac Před 5 lety +91

    Felt like I was back at my Number Theory class in CS. Scarily amazing stuff.

  • @TheBluePhoenix008
    @TheBluePhoenix008 Před 3 lety +1

    I think I tried watching this a year ago but gave up. I'm here again to try and watch the whole video. Wish me luck.

  • @Varout04
    @Varout04 Před rokem

    Super interesting video. Really enjoyed it.

  • @infinitelyexplosive4131
    @infinitelyexplosive4131 Před 5 lety +102

    I've taken an intro QM course and some basic math, and after watching this video I'm now left with the strange feeling of knowing many of the words he's saying but having no idea how they work together in this context.

    • @nutbuster3862
      @nutbuster3862 Před 5 lety +7

      infinitelyExplosive Words I learned from this video: Numbers, Shor's lightsaber, Hi, ?, N.

    • @xyz.ijk.
      @xyz.ijk. Před 5 lety +2

      Exactly!

    • @utvara1
      @utvara1 Před 5 lety

      There is no way the next thing humanity achieves is even more mathematical computational power. So lame. Where are new vehicles, new materials, new engines, new EFFICIENT and COST EFFECTIVE sources of power, underwater settlements, medical revolutions, home acessories.
      It is rape of human resources and talent pool to invest more into this field and I just know it will fail and it should fail. I want regeneration, flying cars and trips to Moon and not better hd porn or quicker pc fuck that garbage.

    • @shanematthews1985
      @shanematthews1985 Před 5 lety +3

      Isn't that the point though, they say if you think you understand quantum mechanics then you actually don't understand it

    • @nutbuster3862
      @nutbuster3862 Před 5 lety +9

      utvara1 but that "better pc" will help do all the things you just said you want.

  • @heavenbuilder2365
    @heavenbuilder2365 Před 5 lety +64

    I'd tried reading up on Shor's algorithm before, but this is the first time I've actually understood it! Thank you so much!

  • @kamala7692
    @kamala7692 Před 2 lety

    ahhhh, this is one of those videos
    *crackles knuckles* time to periodically rewatch this video until i not only remember the information, but understand and can explain said information

  • @pablog80
    @pablog80 Před rokem

    Sooooo good. It reminded me of all the number theory I had to study years ago

  • @marcbenton7211
    @marcbenton7211 Před 4 lety +47

    "We've glossed over a ton of details"
    14:37

  • @Lavie_Azure
    @Lavie_Azure Před 5 lety +16

    I understood what you tried to explain, but at the same time, I didn't. That's quantum physics for you

  • @kyleowsen
    @kyleowsen Před rokem

    You have found the exact cadence that I was trying to find when I'd put college lectures on 1.5x speed. This is great.

  • @keokawasaki7833
    @keokawasaki7833 Před 3 lety +6

    Too neat!!!
    I am a programmer and I would totally love to write algorithms for quantum computers.

    • @codelif
      @codelif Před 2 lety

      yep, if that comes out to be a job description. "Quantum Programmer"

    • @akawikaa
      @akawikaa Před rokem

      You better start math and physics

  • @vedantchaudhari7123
    @vedantchaudhari7123 Před 4 lety +638

    I made a program that can guess passwords of 2 digits.

    • @SingularityHRT
      @SingularityHRT Před 4 lety +244

      You are on Your way to decrypt Quantum Encryption.

    • @MsSonali1980
      @MsSonali1980 Před 4 lety +59

      Just keep up the good work.

    • @yashuppot3214
      @yashuppot3214 Před 4 lety +23

      Thats simple as there is only 100 possibilities.

    • @stacklysm
      @stacklysm Před 4 lety +14

      @@yashuppot3214 Nice

    • @lmaonoidea
      @lmaonoidea Před 4 lety +11

      @@yashuppot3214 99*
      Lol sorry that bothered me a lottt

  • @YCCCm7
    @YCCCm7 Před 5 lety +455

    Internet: *Uses encryption.*
    Quantum Computers: It's free real estate.

    • @harikishore2514
      @harikishore2514 Před 5 lety +3

      Lol. Good one.

    • @dwardoyangy6586
      @dwardoyangy6586 Před 5 lety +11

      Quantum Computers: hold my superpositions

    • @MeadowBrook2000
      @MeadowBrook2000 Před 5 lety +5

      @g00gle minus That's the stupidest way ever.. instead you have to acess facebook database of servers and made the decryptions there, you don't need to have some trashy algorithm telling you to wait

    • @__nog642
      @__nog642 Před 5 lety +8

      @g00gle minus This is not about guessing passwords; did you even watch the video. All they would have to do is sit on public wifi and listen to passing traffic. Usually, on most sites, like facebook, you are protected by HTTPS which uses SSL/TLS encryption, but those use RSA for the initial key exchange, which can be cracked as mentioned in this video. So all the attacker needs to do is save all the network communication, take it home to their quantum computer, break all the RSA encryption to get the symmetric keys, then use the symmetric keys to read all the data sent between you and the sites you visit. That includes your facebook password, if you logged into facebook while they were listening (or at least a password hash, which can still be used to log in in that case). No password guessing involved.

    • @Execuor
      @Execuor Před 5 lety +2

      @g00gle minus they don't need to guess your password they could break into facebooks network steal the login database and then use the algorithm to decrypt your password in a very short amount of time. Or they could do a man in the middle attack and listen in to your whatsapp messages, record everything and break the encryption later.

  • @simas6190
    @simas6190 Před 3 lety

    Great work. Keep it up!

  • @Twisted_Code
    @Twisted_Code Před 3 lety +10

    as soon as I realized that Shor's algorithm involved "+/- 1", I started to grasp the most likely reason quantum computers do it better: Superposition, right?

    • @binarycat1237
      @binarycat1237 Před 2 lety +1

      Thats the reason quantum computers do anything better

    • @Twisted_Code
      @Twisted_Code Před 2 lety +2

      @@binarycat1237 I get that, what I mean is that, if I'm understanding how all this works, at any time "±" occurs in an equation, it's an opportunity to optimize it with quantum computing?

    • @KSignalEingang
      @KSignalEingang Před 2 lety +2

      @@Twisted_Code Kind of - I'd say it's more about the pattern (xⁿ+k)(xⁿ-k) specifically. The operation of multiplying some complex number by its complex conjugate (where the "k"s above would be imaginary numbers, but the resulting product is real) seems to show up a lot in QM.