Quantum Instruction Set - Computerphile

Поделиться
HTML-код
  • Опубликовано: 31 май 2018
  • Just what can you do with a quantum computer? Robert Smith of Rigetti Computing takes us through his quantum instruction set.
    EXTRA BITS: • EXTRA QBITS: Quantum C... c
    / computerphile
    / computer_phile
    This video was filmed and edited by Sean Riley.
    Computer Science at the University of Nottingham: bit.ly/nottscomputer
    Computerphile is a sister project to Brady Haran's Numberphile. More at www.bradyharan.com
  • Авто/МотоАвто/Мото

Комментарии • 515

  • @WofWca
    @WofWca 4 года назад +157

    14:12 it’s like he’s trying to skip an NPC dialogue.

    • @robinw77
      @robinw77 4 года назад +11

      That's so distracting, I had to listen to it again to hear the actual question :-)

    • @cameronl1859
      @cameronl1859 4 года назад +18

      @@robinw77 He basically is, he knows the question being asked and has already formed his answer in his head. Now he's just waiting for the other person to finish speaking. Definitely comes off as rude and distracting though.

    • @N0Xa880iUL
      @N0Xa880iUL 3 года назад +1

      @@cameronl1859 If only people around understood that.

  • @OceanBagel
    @OceanBagel 6 лет назад +167

    "How many instructions are there?"
    "Infinity!"
    "..."
    "Just kidding, there are five."

    • @nikoerforderlich7108
      @nikoerforderlich7108 6 лет назад +34

      I mean, if you look at the X86 instruction set, "infinity" definitely comes to mind.

    • @herauthon
      @herauthon 6 лет назад

      really ?

    • @y09i_
      @y09i_ 6 лет назад +2

      I believe he meant there is an infinite number of options if you are designing a chip. Not a teacher material.

    • @WilderPoo
      @WilderPoo 6 лет назад +12

      Lol x86 is hilarious. Apparently the mov instruction is Turing complete, someone make a C compiler that only used that 1 instruction. Can't wait until apple moves macOS to ARM.

    • @herauthon
      @herauthon 6 лет назад +2

      Turing complete... a single opcode ?

  • @FlesHBoX
    @FlesHBoX 6 лет назад +574

    It feels so weird understanding everything being said, and still being clueless how the subject matter actually works...

    • @Thoran666
      @Thoran666 6 лет назад +14

      It's all about statistics it seems. You figure out what it should do, then calibrate and test till it does what you want so you can predict it's behavior in the future.

    • @BacklTrack
      @BacklTrack 6 лет назад +27

      There's a huge difference between following along and actually doing it tbh

    • @FlesHBoX
      @FlesHBoX 6 лет назад +14

      By the end of the video it *seems* like you can essentially set up the qbits in such a way as to perform entire calculations that would, on standard computing hardware, take hundreds or thousands of independent operations in just a couple of operations.... at least that's my takeaway anyways, lol.

    • @ethandickson9490
      @ethandickson9490 6 лет назад +2

      Agreed, Copenhagen Interpretation is pure lunacy. Pilot wave FTW

    • @AbeldeBetancourt
      @AbeldeBetancourt 6 лет назад +1

      That's what's called a well meant unsatisfactory explanation.

  • @ouiVEVO
    @ouiVEVO 6 лет назад +272

    extra bits should have been called extra qbits

    • @twentytwo_22
      @twentytwo_22 6 лет назад +4

      you beat me to it :D

    • @NateROCKS112
      @NateROCKS112 4 года назад +2

      qubits*

    • @tramsgar
      @tramsgar 4 года назад +1

      regardless they seem to have collapsed to 0% probability of being viewable =(

    • @marcello4258
      @marcello4258 3 года назад

      nope.. why

  • @colox97
    @colox97 6 лет назад +82

    i'd love a video where he starts by explaining the 5 operations in detail and then gives a bunch of example problems with the relative codes to solve them

    • @TheCrystalJules
      @TheCrystalJules Год назад +1

      how to "Hello world!" with a Quantum Computer, as it were

    • @RedHair651
      @RedHair651 5 месяцев назад

      Same

  • @jakejakeboom
    @jakejakeboom 6 лет назад +51

    High level non-technical explanation of quantum computing: it's an analog computer at the quantum scale. Classical analog computers are essentially a tool to model a problem (like calculating a trajectory) by mapping it to a physical (electronic circuit) equivalent. If that mapping is done well, then physics does everything for you in constant time pretty much. The advantages of quantum computing are the density of information and complex quantum properties. However, this also comes with the caveat of being much less intuitive than classical analog computing.

    • @sunmoonpluto
      @sunmoonpluto 5 лет назад +5

      Your analogy would be quite apt for adiabatic quantum computing, not exactly for superconducting qubit version which Rigetti is building.

  • @dhess34
    @dhess34 6 лет назад +16

    These ‘Quantum + Robert Smith’ videos are some of the best content I’ve ever seen on RUclips. Well spoken, clear, in-depth explanations, makes a complicated topic easy to follow.

  • @janpokorny9710
    @janpokorny9710 6 лет назад +288

    Could you show some short program and explain what it exactly does. I am just turning my head around this.

    • @quadricode
      @quadricode 6 лет назад +93

      H 0
      CNOT 0 1
      MEASURE 0 [0]
      This is a program that will apply the Hadamard gate on qubit 0, a CNOT gate on qubits 0 and 1, and a MEASURE instruction on qubit 0, putting the "answer" into classical register 0.
      This is a program to randomly flip a coin. In the classical register 0, we will, 50% of the time, have a 0, and 50% of the time, a 1.

    • @Draugo
      @Draugo 6 лет назад +6

      The problem might be that the way it seemed to be explained in the video you are not measuring a value and getting something x% of the time but instead you are measuring the qbit you know to be a specific value and collapsing the probability to a single predetermined combination.

    • @quadricode
      @quadricode 6 лет назад +5

      Draugo You measure a particular qubit, but you do not know its value. That’s exactly what’s determined by the probability.

    • @Draugo
      @Draugo 6 лет назад +6

      But it was stated in the video that you already know the probabilities then what is gained by running the calculation and measuring a qbit a multitude of times? You get values that reflect the known probabilities. Or if you don't know the probabilities then is the point to find them out by statistics? Then what does a qbit do that a gpu doesn't since they are especially build to do matrix operations?

    • @vytah
      @vytah 6 лет назад +25

      In case of small quantum computers, sure, you know the probabilities. But when you have more than few dozens qubits, then the only place you can store those probabilities in a useful way... is the quantum computer itself. For example, if you have 50 qubits and probability is stored classically as an 8-byte complex floating-point number, you need 9 petabytes just to store those probabilities, and updating them according to calculations would take quite a long time.

  • @Ojisan642
    @Ojisan642 6 лет назад +52

    This video would benefit from an example use case for a quantum computation.
    Do the Fourier quantum transform and compare the number of steps to a classical approach.

    • @RandomNullpointer
      @RandomNullpointer 4 года назад +3

      it's about the speed, not the steps

    • @CHROMIUMHEROmusic
      @CHROMIUMHEROmusic 4 года назад +3

      @@RandomNullpointer Doesn't less steps equate to a faster executed algorithm though ?

    • @luizantoniomarquesferreira1468
      @luizantoniomarquesferreira1468 3 года назад +1

      Not necessarily, because quantum weirdness count as “parallel” instructions

    • @farbodch1640
      @farbodch1640 3 года назад +4

      Quantum FT doesn't offer a speedup as compared to regular FT. But it's a key intermediary step for algorithms like Shor's that actually do provide that quantum-y speedup!

  • @sinekonata
    @sinekonata 4 года назад +4

    This is the first time I get so many solid answers to my myriad of questions on the subject. And it's not for lack of trying, this person is beyond amazing at teaching. I love him so much, I'll try following him from now on.

  • @virgill6881
    @virgill6881 6 лет назад +604

    Mhm

    • @thunderbolt997
      @thunderbolt997 6 лет назад +112

      hes doing a verbal handshake to show that hes received the information

    • @BatteryAcid1103
      @BatteryAcid1103 6 лет назад +94

      aggressive verbal handshake tbh

    • @fzigunov
      @fzigunov 6 лет назад +33

      VERY aggressive hahaha

    • @madalinaaa
      @madalinaaa 6 лет назад +17

      hmh

    • @quadricode
      @quadricode 6 лет назад +17

      mhm

  • @rubenarth
    @rubenarth 19 дней назад +1

    Wow, his explanations were so clear and evident, it really blew my mind a few times. 🤩🤯
    2 to the power of 250 qubits, doing a matrix multiplication in 50 nanoseconds...what.
    It's like they operate as one system, no matter how many you have.

  • @sumdumbmick
    @sumdumbmick 6 лет назад +3

    I like how he keeps saying, 'the details don't matter' but he keeps mentioning them anyway, and 'it sounds complicated but it's not' when he's the one saying it in a needlessly complicated way.

  • @nikoerforderlich7108
    @nikoerforderlich7108 6 лет назад +21

    I would now love to see an explanation of how we can compute something useful with these instructions. Maybe an example?
    Because I think I understand the basic workings so far, but I can't yet see how to do anything useful with it.

    • @jasonbrown3925
      @jasonbrown3925 Год назад +2

      I agree. How about showing us the code to factor a 4 bit number?

  • @maximkazhenkov11
    @maximkazhenkov11 6 лет назад +1

    This video was more illuminating than all the pop-sci articles and presentations about quantum computing in the world.
    Thank you!

  • @TheOneTrueMaNicXs
    @TheOneTrueMaNicXs 6 лет назад

    This was by far the explantion I have heard yet, thank you.

  • @janjager2906
    @janjager2906 2 года назад

    This is the first time I got a “mental” image of how these computations work and why it this is such a leap in computing. Thanks.

  • @alcyonecrucis
    @alcyonecrucis 6 лет назад +1

    I think the last part really saved it. I finally understand a little. Thanks computer phile!

  • @frognik79
    @frognik79 6 лет назад +40

    This video should have been the main video.

  • @MrMcCoyD4
    @MrMcCoyD4 6 лет назад +3

    I think what wasn’t described that well here which leaves a lot of people confused is how data is input to a quantum program. It depends on the program itself, but you could imagine setting up the initial probability table with the input data. Or have an incremental algorithm where you input probabilities into a couple qubits, then somehow integrate that into the rest of the quantum state, over and over.

  • @Deeharok
    @Deeharok 6 лет назад +146

    I'm a bit confused on how this can actually be used to solve problems.

    • @jkoh93
      @jkoh93 6 лет назад +19

      Miguel Martin algorithms need to make use of quantum interference similar to the patterns produced by Young's double slit experiment (google that first if not familiar with it). the spacing between the slits causes the patterns to be compressed / spread out. if you focus on a single point on the screen, the probability of a photon landing there depends on the angles of the beams. a single slit wont have any interference patterns. quantum computers make use of that interference, not just between 2 but all of its qubits. algorithms are needed (these make use of very complicated maths) to make use of quantum interference with probabilities to determine of the answer is yes or no. you cant step through each operation like you can with maths, so they gotta trust that the algorithm and the maths behind it is correct. it wont be able to run normal algorithms with no quantum interference. the speed up is not running normal things faster, but rather running things in a completely different way

    • @ivogeorgief
      @ivogeorgief 6 лет назад +16

      Searching in huge array using boolean logic you need to parse the whole array one by one and you need to make N checks. Using quantum login you can find an item in square root of N checks. Check Grover's algorithm. Easy as that :D

    • @voomastelka4346
      @voomastelka4346 6 лет назад +21

      QM has no low hanging fruits. I took the online version of MIT's 8.05x (advanced QM) from EdX, in the final notes prof. Zweibach recommended a pile of books for further reading by adding, that once you have mastered them you can do actually something useful with QM.

    • @matsv201
      @matsv201 6 лет назад +7

      It works like jepardy.
      You put in a answer to a matrix question, and the quantum computer give you the original statement...
      This is very usefull for example if you have a file that is cryptated. If you have sufficent data you can break the crypty because the quatum computer don´t have to try every single code.. well... it kind of tries every single one at the same time

    • @afadeevz
      @afadeevz 6 лет назад +1

      Q-computers can solve all problems usual computers can solve in the same order of time.

  • @nicholas1460
    @nicholas1460 6 лет назад

    Best discussion on quantum computing for the technically literate that seen to date. Two thumbs up!

  • @mattmiller220
    @mattmiller220 Год назад

    I actually understood all of this, fantastic description Robert!

  • @IllidanS4
    @IllidanS4 6 лет назад +1

    Finally the kind of video I was waiting for. Deeper explanation of the instructions please.

  • @3amsleep
    @3amsleep 6 лет назад +126

    Alternate title: " The art of explaining without actually getting to the point "

    • @hedgeclipper418
      @hedgeclipper418 5 лет назад

      t. brainlet

    • @cameronl1859
      @cameronl1859 4 года назад +11

      @Bobbito Chicon Damn dude, pass some of whatever you're smoking

    • @yousifucv
      @yousifucv 4 года назад +2

      I thought is was very succinct, given that its for a broad audience of tech enthusiasts.

    • @kennys1881
      @kennys1881 4 года назад

      @Bobbito Chicon this guy's got the idea.

    • @yamiyugi8123
      @yamiyugi8123 4 года назад +3

      (Added More)
      Multiple Dimensions is not at all an accurate way of stating it- coupled degrees of freedom, continuous across time but discrete in space (quantized AKA QUANTUM things are discrete objects) ... also people rarely point this out but a dimension parallel to itself is CATEGORICALLY the same dimension- dimension implies orthogonality

  • @opampmedia4232
    @opampmedia4232 Год назад

    I had been struggling to understand how quantum computer works and why they are better than classical one ever since news came out about google and ibm doing it . This video final showed me how they works . Thanks for saving more head scratching hours . Subscriber ++

  • @paulrautenbach
    @paulrautenbach 6 лет назад +1

    First time I've understood anything about quantum computers. Thanks.

  • @tedlassagne8785
    @tedlassagne8785 3 года назад

    Excellent presentation. Makes sense of quantum computing. Give us more.

  • @BluetonicUK28
    @BluetonicUK28 3 года назад

    This is the best explanation I’ve ever seen!

  • @fabslyrics
    @fabslyrics 4 года назад

    thank you very much for the crash course, love it !

  • @ultravidz
    @ultravidz 4 года назад +2

    Speaks with clarity 👌🏼

  • @briandecker8403
    @briandecker8403 6 лет назад +10

    Quantum scaling is turning out to be far harder than originally thought - which is why much literature of late speaks to simulation and theory, not specifics and hardware. If we are being honest, its still an open question if a system stable enough to be useful is even possible.

    • @jmccallister-rc5dy
      @jmccallister-rc5dy 6 лет назад +1

      Gil Kalai refuted quantum scaling, basically refuted quantum computing in general, by showing that adding qubits needs increasingly more qubits for error correction, and that no: they won't be able to reduce the noise enough.

    • @robertthompson7059
      @robertthompson7059 3 года назад

      @@jmccallister-rc5dy And yet, here we are cutting around the edge.
      Reducing the noise is a physical problem and mathematically is not limited any further than physics do. So it's really just a matter of going down and down on the details and improving precision and so on and eventually it will not only be sufficient but far much better than we've ever though it could be done. It's scaling physical scaling, it's not mathematical where you bump on literal impossibilities.

    • @Takyodor2
      @Takyodor2 7 месяцев назад

      @@robertthompson7059 It likely means that we won't see scaling comparable to semiconductors the last few decades, but rather incremental upgrades to the number of stable/useful qbits in quantum computers.

  • @rejidomus3013
    @rejidomus3013 6 лет назад

    This is a great series thank you.

  • @delwoodbarker
    @delwoodbarker 6 лет назад

    Thank you very much, these videos are the first to help me understand.

  • @teamsalvation
    @teamsalvation 4 года назад +1

    I think it finally clicked...A quantum computer is a QPU. Like we are using GPUs, DSPs or FPGAs to perform specific computations that they are best at doing. At the end of the day, we still need a cpu to bring it all together for our Ux.

  • @antonnym214
    @antonnym214 5 лет назад +1

    I am an old Z-80/8080 assembly programmer. Also have used APL, BASIC, Pascal, and two languages I designed, R-Code, and LIM. This is an outstanding video, and I think the man explains it the best it can be explained. NOW THEN: quantum programming appears to be VOODOO. It's hard to see the practicality of a program that uses data structures that fluctuate based on some probability envelope. It's very non-deterministic.

  • @michaelhawthorne8696
    @michaelhawthorne8696 6 лет назад +31

    I was doing welll with this video and was actually following along, (Pat on the back for me huh?)..... until the green intro titles disapeard..... Doh!

    • @ZeedijkMike
      @ZeedijkMike 6 лет назад +3

      Guess we are in the same boat (-;

  • @disruptive_innovator
    @disruptive_innovator 3 года назад

    This is a great intro on quantum computing that doesn't get bogged down with the complex math involved. Didn't even throw bra-ket notation at us. Thanks!

  • @ThePharphis
    @ThePharphis 6 лет назад

    ah finally he mentions the efficiency. I'm aware that all of the operations should be expressable as matrices but I did not know that the calculation itself was constant-time in complexity. Very cool!

  • @supreethmv
    @supreethmv 2 года назад

    crisp and clear explanation

  • @akiskev
    @akiskev 6 лет назад

    This is the first video that made me think I understood SOME of the basics of quantum computing

  • @okuno54
    @okuno54 6 лет назад +8

    This is why I'm subbed!

    • @polyester-pants
      @polyester-pants 6 лет назад

      Same exact sentiment. Saw this and thought why an i not subbed already.

  • @Android480
    @Android480 6 лет назад +15

    I would love more on this topic. This guy is a great presenter.

    • @fanofhifi
      @fanofhifi 6 лет назад +1

      Android480 Mhm, mhm...mhm...

  • @bigdave6952
    @bigdave6952 3 года назад

    great video, very nicely explained

  • @hanswoast7
    @hanswoast7 6 лет назад +11

    Just in case, at 18:10 you wonder how many bits this is:
    2^250=(2^10)^25 = approx. (10^3)^25 = 10^75

  • @-.._.-_...-_.._-..__..._.-.-.-
    @-.._.-_...-_.._-..__..._.-.-.- 6 лет назад +12

    A lot of the questions being asked in the comments can be answered by watching the video again.

  • @rainbowevil
    @rainbowevil 6 лет назад +1

    Surely the problem is that as you add more qubits, you need to perform more repetitions to cancel out the effects of the noise? Since if one result which has a tiny probability occurred by chance (as is possible) then it would take a lot of repetitions until it was drowned back down to the correct level?

  • @henleycheung3615
    @henleycheung3615 4 года назад

    excellent presentation !

  • @Mike-qt4fr
    @Mike-qt4fr 6 лет назад +1

    love this man. super smart

  • @saurabhbabbar
    @saurabhbabbar 3 года назад

    Thank you so much, I never wrote but I like your way of explaining pretty dope, cheers!

  • @vinzzz666
    @vinzzz666 6 лет назад +1

    So if you want to do the QuantumFourier transform for a soundwave untill 10kHz, you'd need circa log(10000)/log(2)=13 Q-bits?

  • @SuperTomatomic
    @SuperTomatomic Год назад

    Excellent !

  • @kennethvanallen4492
    @kennethvanallen4492 3 года назад

    Thanks for that explanation, Sheldon. :)

  • @KlausWulfenbach
    @KlausWulfenbach 6 лет назад

    So if quantum computing can store probabilities, and probabilities are values between 0 and 1, could quantum computing make floating point numbers, as they're currently implemented, obsolete? Could you use two qbits to store any floating point value by having one qbit store a value and another qbit store a multiplier? Or, if qbits aren't precise enough for the multiplier, store the multiplier in regular bits? Or pair an integer with a qbit for the value before the . and after?

  • @frankbraker
    @frankbraker 6 лет назад

    This was really fun.

  • @concisejellyfish
    @concisejellyfish 6 лет назад

    What would you call the bus that interacts with the quantum co-processor when you use pyquil?

  • @MrMcCoyD4
    @MrMcCoyD4 6 лет назад +6

    I would love to hear more about the specifics of the different instructions

    • @fdagpigj
      @fdagpigj 4 года назад +1

      Yeah, I did not understand the instructions at all, which is frustrating because not knowing what they do prevents me from wrapping my head around how this all works and is used.

    • @W1ngSMC
      @W1ngSMC 3 года назад

      Time to learn about this thing called google. (You can search for the matrix representation of all the gates)

  • @danieljensen2626
    @danieljensen2626 6 лет назад +2

    This guy says "Mmhmm" and "yep" aggressively. It's like he's acknowledging every single word.

    • @Cromius771
      @Cromius771 6 лет назад

      It's because even he doesn't understand wtf he's talking about.

    • @quadricode
      @quadricode 4 года назад

      It was a nervous tic.

  • @hanoma9fan
    @hanoma9fan Год назад

    Vốn những bài hát ngày xưa đã rất hay rồi mà thêm giọng hát giàu cảm xúc của Phúc nữa thì đúng là cực phẩm cover😍

  • @folsdaman
    @folsdaman 6 лет назад

    Been waiting for this video for ever... Still lost

  • @PrimusProductions
    @PrimusProductions 6 лет назад

    Are the Quantum counterparts to FSAs, PDAs and Turing Machines necessarily more powerful? With the Church Turing thesis, in mind, is there such a thing as Quantum Lambda calculus and do quantum programming languages draw inspiration from it?

    • @KohuGaly
      @KohuGaly 6 лет назад

      They are not more powerful (in a sense that anything QC can compute, TM can do too). However, there is a subset of NP problems which QC can compute in polynomial time. In other words, they are faster. In practice, QCs are more powerful, because you can build a QC that can solve stuff, that would require classical computer bigger than the observable universe.

  • @puttanesca621
    @puttanesca621 6 лет назад +15

    Is this an unlisted video?

    • @tehguitarque
      @tehguitarque 6 лет назад +4

      Yes you have not bed fed by the algorithm. You have been fed by humans that love algorithms!

  • @rholdorf
    @rholdorf 6 лет назад

    Extra bits video is not available. The link in the description goes to an error message.

  • @xFrostbite94
    @xFrostbite94 6 лет назад

    I would like to see the "extra bits" video hinted at at the end, but have a hard time finding it. Does someone know where I can find it?

  • @baconinvader
    @baconinvader 3 года назад

    very cool video!

  • @raglanheuser1162
    @raglanheuser1162 4 года назад +1

    Me: I really got to get back to work, just gonna finish this random video and get back to it
    My youtube search bar: H-A-D-A-M-A-R

  • @Holobrine
    @Holobrine 5 лет назад

    What if the byte code sent to a quantum computer was in a superposition? Does it do both instructions at once?

  • @ianedmonds9191
    @ianedmonds9191 6 лет назад +3

    This looks like a shoe in for Finite Element Analysis. This is an incredibly hungry field that today commands huge outlay in parallel computing budgets.
    The subsea oil industry uses this for preemptive quality control on designs of offshore installations. Some of the calculations take weeks to complete on high performance parallel computing clusters. It's all matrix calculations and it looks like this is a perfect fit.
    Amazing.
    Luv and Peace.

    • @totalermist
      @totalermist 6 лет назад +2

      Nah, QPUs aren't faster for general matrix operations than classical computers are. This is a myth. You also need to consider that all known quantum matrix multiplication algorithms do have errors associated with them both in terms of state preparation and readout.
      States also need to be prepared classically, which can be done efficiently in some cases but not in general.
      I'm not saying there won't be any applications in that field, but a lot more basic research is required to determine whether it's even worth pursuing that route. Not only do matrix multipliers require a lot of qubits, the associated gates are complicated and the algorithms are not very fault tolerant.

  • @hikaruyoroi
    @hikaruyoroi 6 лет назад

    I love this guy!

  • @nocakewalk
    @nocakewalk 6 лет назад

    Is the following correct? Each instruction is a vector-matrix multiplication, and the time it takes is unrelated to the number of qbits. The resulting vector is the table of probabilities. The caveat is that you cannot read out the resulting vector. Each read will give you only a vector with one 1, and the rest 0s according to the probabilities in the underlying vector.

  • @pierreabbat6157
    @pierreabbat6157 6 лет назад

    It's [adamaʁ]. I don't know if the H is "aspirated".
    Could you explain what the other instructions do?

  • @daminecraftguy
    @daminecraftguy 6 лет назад +1

    loving the quantum series :)

  • @Youichi1595
    @Youichi1595 6 лет назад +2

    "It's bigger than any computer on Earth can store... bigger than any computer in the universe can store!"

  • @Xxkilluminati91xX
    @Xxkilluminati91xX 6 лет назад

    Didn't know I could see unlisted vids. Cool!

    • @LegendBegins
      @LegendBegins 6 лет назад

      Anyone with a link can watch an unlisted video. Private videos require direct invitations.

  • @SakiSkai
    @SakiSkai 2 года назад

    I've seen many videos explaining quantum computer operation and architecture but i have yet to see a video that shows it in operation, executing a piece of code.

  • @Subut
    @Subut 6 лет назад

    More of this please

  • @mikemullenix6956
    @mikemullenix6956 9 месяцев назад

    Garbage in garbage out, however this young man does an excellent job of explaining the instructions

  • @SaHaRaSquad
    @SaHaRaSquad 6 лет назад

    This video is like explaining how Assembly works without actually explaining a single Assembly instruction or how it interacts with the registers.
    It's nice to know you can get some bell something with the Hadamard instruction combined with cnot, but what the hell does each instruction do? What if I write cnot 10 instead of cnot 01? What does it do aside from making the video longer?

  • @MrVasteel
    @MrVasteel 6 лет назад

    A question about the matrix multiplication. Basically all computer graphics for videogames relies on multiplying matrices by each other, or vectors by matrices. These are usually 4x4 matrices and vector4's. Is a quantum computer any faster than the modern GPU at this, in terms of Vec4's by Mat4x4's per second, say?

    • @AmbientMorality
      @AmbientMorality 5 лет назад +1

      Sadly, not in the general case. Which is weird - quantum computers essentially are giant matrix multiplication machines where the gates form a huge nxn matrix and the quantum state is a vector of length n. But the problem is the matrix has to be unitary, and also that the quantum state can never be observed directly (it always collapses into one of the basis states). So while the linear algebra representation of the quantum computational model is exactly the problem of multiplying matrices and vectors, it's actually pretty terrible at doing that.
      On the other hand, if you can keep multiplying a vector by a unitary matrix and eventually find a vector with a very large value for one of the basis states and small values for every other state, the exact series of matrices to multiply by is the quantum algorithm, and you've done something useful.

  • @Lorkin32
    @Lorkin32 6 лет назад

    Can the answer of a quantum compute ever be certain though? Since it's in the end probabilities.

  • @GogiRegion
    @GogiRegion 6 лет назад +2

    So basically a quantum computer sets the Feynman Equation of a particle, and then you can observe it to get a result?

  • @shaylempert9994
    @shaylempert9994 6 лет назад +1

    Make a video about how quantum factorization works!

  • @GuyMichaely
    @GuyMichaely 6 лет назад

    Why is this video not listed on computerphile's videos tab

  • @paaaaaaaaq
    @paaaaaaaaq 6 лет назад

    How do you get a complex output from superposition?

  • @dancoman8
    @dancoman8 6 лет назад

    How are these probablilities used to do instant calculations?

  • @manuelpena3988
    @manuelpena3988 6 лет назад +1

    I think I got it. I would like to point out something. You repeat many times that with quantum computers the number of posibilities you have doubles each time you add a qubit. I think that is exactly the same with normal computers... The real difference is that normal computers keep doing basin operations bit by bit, however in quantum computers you do it all at once. (Hence the promising fact)

  •  3 года назад

    Fascination on my side!
    What I missing there are NOP instruction (no operation) and HLT instruction (halt everything). :-)
    By the way Bell application reminds me a little bit (little qbit) Schrodingers Cat. ON the contrary - Question: If you apply MEASURE function, do Qbits some change? I suppose not...

  • @krischalkhanal2842
    @krischalkhanal2842 3 года назад +1

    Hadamard gate: Its a very important gate that does bla bla...
    T gate: Not a very creative name
    Justice for t gate 😂

  • @jkoh93
    @jkoh93 6 лет назад

    algorithms need to make use of quantum interference similar to the patterns produced by Young's double slit experiment (google that first if not familiar with it). the spacing between the slits causes the patterns to be compressed / spread out. if you focus on a single point on the screen, the probability of a photon landing there depends on the angles of the beams. a single slit wont have any interference patterns. quantum computers make use of that interference, not just between 2 but all of its qubits. algorithms are needed (these make use of very complicated maths) to make use of quantum interference with probabilities to determine of the answer is yes or no. you cant step through each operation like you can with maths, so they gotta trust that the algorithm and the maths behind it is correct. it wont be able to run normal algorithms with no quantum interference. the speed up is not running normal things faster, but rather running things in a completely different way

  • @Erzmann255
    @Erzmann255 6 лет назад

    What I don't understand is: How are the probabilities changed? Is it something physical done by a machine, like ionizing a molecule (just as a random example) or is it a purely mathematical process that changes how something is counted, for example?

    • @AmbientMorality
      @AmbientMorality 5 лет назад +2

      Usually it's microwave pulses hitting ions in an quadrupole ion trap, which uses rapidly changing electric fields to hold an ion in place. Lasers send electromagnetic radiation at the ion. Depending on the phase, frequency, and duration this pulse can change the quantum state. If you think of a quantum state as an arrow in a sphere, where the north pole is one state and the south pole is another, then a pulse can cause the arrow to 'rotate' within the sphere. Depending on the phase and frequency, it will rotate along a different axis and/or rotate at a different 'rate'. I know that's a bit handwavy - the correct term there is the electromagnetic wave causes a specific "magnetic dipole transition" on the particle representing a qubit.
      You can use a microwave pulse on two qubits to entangle them, essentially causing their quantum states to become correlated with each other. In the computational model here, any two qubits can be entangled. In a real one, there are specific pairs that can be entangled, and only in one direction. It's still a universal quantum computer; there is some mathematics to ensure that a quantum algorithm can always be converted into the weird model of 'only some pairs can be entangled'. You can measure a qubit by using a microwave pulse tuned such that it couples with only one basis state, essentially collapsing it then "testing" whether the qubit is in that state. The qubit either becomes excited and releases some measurable photons, meaning it collapsed into that state, or doesn't become excited, in which case it collapsed into the other state.

  • @devin7551
    @devin7551 6 лет назад

    If in quantum cumputers we dont know if the quibits will b 1 or 0 untill we measure, but why is that better than having the bit be 1 or 0 it seem better to know what the intructions are going to b, than leaving it up to chance?

  • @VoxAcies
    @VoxAcies 6 лет назад

    This is very fascinating, but also very hard to grasp. I guess the end game for quantum computing is being able to use elementary particles as qubits.

  • @austinunterbrink9805
    @austinunterbrink9805 6 лет назад

    This guy is on a higher level, wow.

  • @AlaskaSkidood
    @AlaskaSkidood 6 лет назад +15

    How are the "gates" applied to the qubits? Is it a physical process or does it change the way the data from a fixed qubit is interpreted?

    • @jkoh93
      @jkoh93 6 лет назад

      the end result is always just rotating things (atoms / detectors / slits). quantum gates are not physical gates but they rotate those things in a very specific way

    • @ChenfengBao
      @ChenfengBao 6 лет назад +3

      +Joel Koh
      Quantum gates are definitely physical gates. Any information process is a physical process.

    • @jkoh93
      @jkoh93 6 лет назад

      Chenfeng Bao it is a physical process but it is not a physical gate like AND gates where you put 2 physical inputs into the gates and get 1 physical output out

    • @ChenfengBao
      @ChenfengBao 6 лет назад +1

      +Joel Koh It'd be less misleading to say they are not like classical gates. They are still physical gates, just work differently.

    • @Reddles37
      @Reddles37 6 лет назад

      It is definitely a physical process, but it depends on what you're using as your qubits. If you're using the spin of an atom then applying the gates might involve flashing a laser on your atoms to flip the spins.

  • @Weegee4458
    @Weegee4458 4 года назад

    Bring back the EXTRA BITS please

  • @ASLUHLUHCE
    @ASLUHLUHCE 6 лет назад +1

    I'm f*cking lost right now. I'll rewatch this when I'm more awake

    • @robinwells8879
      @robinwells8879 3 года назад +1

      It won’t help in my experience 😳

  • @trezum
    @trezum 5 лет назад

    Has the extra bit video stoped working?

  • @sebbes333
    @sebbes333 4 года назад

    So a quantum computer is kind of trying to be an analog computer?
    So instead of only having 2 states (1/0) it is more trying to be like analog technology, eg. like how a cassette tape stores sounds in magnetic fields of ANY strength (between 1&0) instead of how it's stored in a CD where there either IS a grove or is NOT a grove burnt in by the laser?
    How correct is this? (Then there are also additional effect with entanglement & such that is not available in analog devices, but I'm more referring to the bit's themselves)

  • @slap_my_hand
    @slap_my_hand 6 лет назад

    You could manually do all the calculations in a C program and figure out the answer without using a computer, but nobody would ever do this because you want to get the answer *fast* and you maybe also want to do the calculations thousands of times with different data inputs.
    The same thing applies to a quantum computer. You could apply the gates to your input data by hand and you would still get the correct answer, but a quantum computer can do this a lot faster than any human / computer simulation.
    The simple programs from the video are easy to do by hand, but when you have a quantum computer with hundreds of qbits and you apply an algorythm with thousands of quantum gates to it which all behave differently depending on your input data, you really need to run it on real hardware to complete the calculation in a reasonable ammount of time.

  • @Ridgwaycer
    @Ridgwaycer 6 лет назад

    Are you going to be doing anything on how these instructions are performed on the chip itself?

    • @totalermist
      @totalermist 6 лет назад

      That's the trade secret and core IP of the respective QPU manufacturer, so I highly doubt that.