Follow up video on Quantum Computing in case you want more info: ua-cam.com/video/RCj_BJ6BddM/v-deo.html Also, this video is very information packed. I highly recommend TWO viewings. I guarantee you will get a lot more from the second viewing. Thanks for your support!
Okay, Let me first say that I like your channel a lot and have been a subscriber for awhile. Also, I've not been keeping up with quantum computing, but my understanding is that quantum computers are really NOT like classical computers, where all the n bits are in a superposition, and you get to do 2^n operations all at once. Instead, you can take your register of n bits, and use quantum circuitry to "rig" them in such a way that a particular value which is the answer to your problem has a much higher probability of appearing. Then you essentially run the quantum computer a bunch of times, and see if the distribution of answers contains a "spike" -- in which case you've found your answer in the value corresponding to the spike. Don't take my word for it. Watch this Infinite Series channel video. ua-cam.com/video/wUwZZaI5u0c/v-deo.html So if my understanding is correct and not outdated, essentially, an n bit quantum computer is like a 2^n sided die, where it's magically rigged to produce the answer to your problem, and you roll it a bunch of times to detect your answer as a probability spike. Also, this was first told to me in the 1990's by a Comp Sci professor friend of mine, before actual quantum computers were constructed, so my understanding is that there is an underlying reason in quantum physics that prevents quantum computers from being like a classical computer with magical quantum memory bits and gates. (I'm not sure what that would be, though.) However, if I am right in my understanding, then you've just misinformed the public and perpetuated an urban legend of "quantum computers do all 2^n operations at the same time." (I might've had that argument with my Comp Sci professor friend in the early 2000's, not the late 1990's, but still I remember that argument distinctly!)
Hi Arvin, from 15:14 how would measurement make sense for all simultaneously performed additions? I mean measurement would only be able to produce a single state at a time so what's the point of doing multiple additions at once since measurement would be the result of an output for any one addition performed simultaneously
@@linkerzealbell5467 See my comment above. Any given measurement actually only produces the result of a small number of additions, not all 2^n of them "at once." The interactions can "bias" the result so that the right answer appears far more often. This is why quantum computers have to sample a bunch of times. They can still greatly win over conventional computers, because the x number of times they sample is far less than the 2^n possible states of their qubits.
"You explained in 10 minutes what my teacher couldn't explain in 1 month." You can find thousands of comments like that on UA-cam and it says a lot about college teachers.
Lol... Yea but there are a lot of stuff that is talked about very quickly. I understand it because I studied this in school. So it's a nice refresher. But I imagine a normal person who has never heard of most of these concepts would struggle to understand what he is talking about.
"The past might be classical, but the future is almost certainly going to be quantum." I've watched many of your videos and thus realize this line is a smart reference to some of them where you mentioned that the past is 'certain' and the future is 'uncertain', which relates to why the entropy keeps increasing and why time always flows forward. Oh how good a teacher you are!
Man, Arvin Ash does such a good job explaining topics that are fraught with complexity in a manner that makes them accessible to anyone with 12 to 20 minutes to spare and a modicum of patience. I cannot praise this man and his videos enough. Cheers!
I misread this as "This is one of the very rare chemicals that go deep enough into the substance to really satisfy my curiosity!" 3 times I was so confused
I wrote software for the 4004 back in 1972. It's really fun to watch this superb presentation on something I thought I knew in some detail. I now wonder how many of today's computer scientists could assemble a half adder gate array from scratch. Back then, we just took it for granted. This is the first time that it has ever dawned on me to consider the gate array that is necessary to do the job. Great video Arvin, and thanks for making me think again after all these years!
Then, I have a question about transistors. Surely someone thought of this, so I am asking _why they didn't_ make transistors that held a hight voltage level _and a low voltage level,_ as well as no voltage? This would have given us trinary computer processors instead of just binary? I doubt I am the first to think of this, so I wonder why the makers of the "4004" didn't do this?
@@TheNoiseySpectatorit didn't exist, until nowadays, a transistor with 3 states working as a logic switch. It is the properties of the materials presented in the transistor that makes possible only exists 2 states (1 above a certain level of voltage, and the other under the same level of voltage).
I just wanted to say thank you for diving into the fine details of the ALU with the logic gates and not glossing over it. I have always wondered how logic gates ACTUALLY work at the transistor level
@james palmer Humans have a tendency to hallucinate and associate meaning with meaningless things. Kids also like making things up or imagining them to be true. These are some of the most fallible possible things you could have chosen as proof of reincarnation/ghosts/afterlives, and they don't hold up very well at all.
@james palmer Humans don't deal with coincidences very well and we have a tenancy to chalk it up as something supernatural rather than look at more obvious answers. A flickering light could be any number of things such as power surge, defective bulb etc just because it happens after a loved one dying is purely coincidental. You don't think about it much when someone hasn't passed away recently. Also as mentioned above, humans hallucinate a lot, could be mental health issue I.e. anxiety or depression or could be walking through a high electromagnetic field.
I have been watching videos on this channel for a long time now. I have also seen many many explanation videos of the same topics. But the intuition about that particular topic that this channel can build is on whole another level. KEEP IT UP.
I love to see you dig deeper Mathologer's style. I personally enjoy diving into subjects and get at least a good essence of it. You did a wonderful job explaining the way classical computers work at their core. I really feel that your videos are getting better every time... and I watched them all ! Thank you so much !
Really excellent video! Thanks, Arvin. Being a Computer Engineer since 1978 or so, the classical-compute part of this I’m of course very familiar with. Not the Quantum part though! So, next video, tell us all about Toffoli, CNOT, and such!
** Remember, all of those "Quantum Gates" depend on the idea of particle superposition or a superposition of the "Quantum State." This is where the logic is incorrect. Superposition of waves is completely real, but particles do not pass through each other like waves, i.e. they bounce off each other. So how in the world can "electron particles" pass through each other and bounce off of each other at the same time? In terms of "electron particle spin", realize that is an abstract way of saying that MAGNETIC NORTH and MAGNETIC SOUTH are both pointing the same direction at the same time. Are you a believer? 😊
@@itsbs, I don’t claim to be an expert on the topic, as I mentioned, but I gather that the concept is superposition of particular states, such as spin, of a given particle. So particles would not be colliding or bouncing off each other.
@@mr88cet ** Learn what "spin" of an electron is... it will point you to "angular momentum". Well, an electron particle cannot really spin because it would physically explode. But, "electron particles" are intrinsically magnetic and CRT TV screens proved that (beyond the shadow of a doubt)! How can these "electron particles" respond to magnets, but can't physically spin, but must have angular momentum? That's a problem... So, if you think the superposition of an electron "spin state" allows for the magnetic dipole of a "single electron" to magically become NORTH and SOUTH at the same time and in the same space... well, that would be absolutely amazing magic! Particle physics uses the Schrodinger WAVE equation to convince you that particles can pass through each other via nature's "probability wave" evolution... *what?* And then, when you measure the electron, it is now in a particle state that can have the collision properties... *OK, really?*
Wonderful vid like always. Back in the old days, I did a bit of game programming, and one of the "tricks" for certain types of fast multiply and divides, was to do "bit shifts" where you just shuffled the bits to the left or right, thus avoiding the need to waste precious CPU cycles on expensive math instructions. There were other ricks as well, like "unrolling the loop" to reduce the amount of jump statements. I learnt most of this from a book by a guy called Michael Abrash, in his Zen series of programming books.
Some of the early chips didn't have multiply or divide instructions at all. Only add and subtract. In fact, the Intel 4004 in the video did not have a multiply or divide instruction -- I just looked it up.
That was by far the best explanation of both classical and quantum computing I've seen. It took the explanation to the next level of detail than most similar videos do, but still explained all the concepts. Great work
I knew about logic gates but never really understood how were they made with transistor until now. Thanks Arvi, the topics you speak about are always interesting!
I'm currently working on a 4 stage pipeline processor in Verilog with 2 integer pipelines, and 2 FPU pipelines. When I was a kid and I was learning the 8088 architecture (this was in the 80s folks when you had to get your books from the library :D ), and I was fascinated with how opcodes would actually activate certain circuits of the CPU. It was like the opcode was a key and the CPU had a keyhole for each one. Instead of tumblers though, they are switches to the circuit. That's what my 13 year old mind came up with. It kind of reminded me of a project we did in grade school that was basically an ALU made out of cardboard. :) We weren't taught that it was an ALU, but it certainly acted that way when you wanted to do some simple arithmetic. It only supported add and subtract, but I'm sure the concept could have been extended to be a full blown ALU given enough time and knowledge on the subject. I think that class as well as the fact that my father bought me a remote control car when I was 2 years old is the reason why I do what I do (and love it). My mom said he bought it for himself, but pretended it was for me. Well I proceeded to take that sucker apart because I wanted to figure out how it worked. To this day I'm still trying to figure out how things work ;)
Very clear and concise visuals and explanation. I've only seen a handful of your videos since finding this channel the other week, but it's already one of my favourites. Love the work you do on this channel!
What is amazing is that the CPU is built of really simple logic gates that are assembled into more and more complex circuits. Technically you can build any computer entirely with NAND gates (or NOR gates). The beauty of it all is that the logical structure of say an adder can stay the same while the underlying technology (fabrication) changes giving you more speed and smaller size. The blocks of logic like an adder are design once and then use many times in ever more increasing complex circuits.
Great job! One thing that might make it a little more clear is to note that with 4 bits the first bit represents 1, second bit is 2, third bit is 4 and forth bit is 8, so 0101 equals 5 because the first and third bit are on (4+1) and 1111 equals 15 because all for bits are on (1+2+4+8)
By far, the best video I've seen on how computers work and process data. Given the light switch analogy and its on/off function in a classical computer, would it be accurate to say that a quantum computer processes data as if it had dimmer switches instead, so its output can be on/off and everything in-between? Thanks
Well, somewhat but not quite - the dimmer could represent the state of superposition, but you have to remember that upon measurement, the superposed object gives a binary result, either Yes or no. The states in between only exist while in superposition, but these states are one or the other when measured.
These are the information and knowledge we need today, not tiktok. I have watched most of your videos and they are very helpful to understand scientific/engineering concepts. Really Nice! And now I also FINALLY understand how do these machines ACTUALLY work.
2041: Mom, I want a quantum gaming PC with 10 qubits Mom: we have a gaming pc Gaming PC: 64-core Ryzen 10900X, RTX 9090 FE, 128GB RAM Teen: but, but…..it’s slow
I never trust sponsorship ads. But I would like to say Schumacher's lectures (the guy who named the qbit) really are fantastic. All the quantum, none of the maths!
I designed and built a 16 bit (address and data) CPU using MSI and SSI chips back in 1986. I have, when pragmatism called for it also built discrete logic gates using transistors and/or FETs for a particular design. Wired-OR gates able to source/sink large currents are a typical case in point. My reason for designing the CPU (microprogrammed control store using EPROMS) was to find out how they worked after designing and programming a number of computer systems using microprocessors. There were no books I could find which explained exactly how a programmable system worked.
@@schmetterling4477 If you want evidence I have it I have the machine beside me in the garage together with a folder full of circuits, microcode sheets and of course the instruction set I designed. 🙂 I NEVER "make stuff up". It is not in my nature to do so. And please drop the "dude". It is disrespectful.
--designed microprocessor with pipeline, hazard detection, forwarding, cache, TLB for school project & learned about modern multi-core processor architecture w/ out of order execution (some operations take longer, allows faster operations to complete in fewer clock cycles than slower ones and often not have to wait) + RW/WR/WW hazard detection and mitigation (e.g. a register symbol mapping table... extra registers; queue for stalled instructions), queue for restoring sequential order for memory writes, branch prediction [instructions are pre-fetched...], error correcting codes-- ... --wonders why took so long to fast forward to the quantum part--
Wonderful!!! I love this. I am surprised as always you release a video on what I am having doubt on at this instance.❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️ I only have one single question, of all these modern computers, is there any conscious acts getting performed or they are only the physical attributes reacting according to their physical properties when we give an input.
@@ArvinAsh thank you soooo much sir. As always, I have a due respect on the content in your mind and the way you think and understand the universe and the knowledge you distribute to the people who follow you. ❤️
Does it mean if energy is not moving from one place to another place but is in one place for a long time (i.e within certain volume) then it can be called as mass/rest mass??Example:binding energy??
It's funny. I've designed and built (very low end) processors, so this stuff is second nature to me. But, watching this video I can't help but think *man* this would be hard to understand from scratch. You do a phenominal job of explaining, like always, but ... I guess it really isn't as naturally intuitive as it feels for those of us familiar with it.
Believe it or not I have a very small knowledge on computers (enough to actually work in IT) but I actually understood like 90% of what was explained here. It's presented in a way that definitively can help to understand how these things work at least for people like me with a very basic level knowledge As I see it, this video will be probably watched by thousands of students around the world the next years, because of his simplicity and well explained presentation
I wish you'd explain more about the quantum computer itself, like give a complete example of the phone lookup in quantum just as you did with a binary one by one lookup. What's the full circuit?
Okay, the last fourish minutes 14:32 , when it’s explained how quantum computer logic gates are the same as classical logic gates but with qubits that duplicate themselves (hey they kinda even look like waves), quantum computers finally made sense to me Thank you Every other video was like “well because these bits can be in both 1&0 there’s an exponential amount of more information,” and while I understand superpositions and I understand the implications of that much data and even nodded to some math videos explaining the matrix, I had no conception of how information was supposedly stored on something thats in a superposition it made no sense to me. This is the only video so far that explains the literal circuitry and physical mechanisms behind it. It’s logic gates built from double-slit experiments instead of circuitry.
13:52: Great video specially the section on classical computer; But the calculation presented for the power of a quantum computer is problematic: Specifically if we have a q-bit quantum computer, then the total state of our computer (all of its information) can be represented by a point in a 2^q dimensional space; If the computer's state's projection on each of the 2^q axes can be represented by an m-bit integer number than the total information (number of possible states) contained in a q-bit quantum computer is NOT 2^q bits (as stated in the video) but m^2^k (classical equivalent) bits which grows very very fast as number of qubits and resolution of our measurements of the system increase; As an example if we have a 4 bit quantum computer (q=4) and the resolution of our measurements is a 10-bit number (m=10) then and our computer can store (ideally) equivalent of 10^2^4 or 10^16 classical bits!!! In other words, it would require that much classical information and storage to full specify the state of our 4 qubit computer;
Great explanation on CPU. I'm just curious what about GPU, ie. how does it works internally ? Does it use the same ALU and logic gates ? And how quantum computing can improve GPU, or will future quantum GPU use qubits just like CPU will do ?
GPU internally work the same way as CPU's (in the sense they use the same gates and bus logic). however the architecture of a GPU is optimized to do a lot of the same independent operation in parallel (usually vector and matrix operations that are common in computer graphics), while a CPU is optimized for sequential execution of dependent and conditional operations (algorithm execution).
Yes. A GPU just has a lot of, simpler, CPUs ( sometimes called "cores"). They use a set up called SIMD, for Single Instruction Multiple Data. Like having 10 people with a calculator each adding two numbers together from two lists of 10 numbers, and each writing their answer on another list in the same relativ place on a third piece of paper. I.e. person 1 takes the first number from the two lists and writes the answer in the first place on the output piece of paper. And so on.
I looked. In my previous reply, I used an example of 10 people. An RTX 3090 has 10_495 cores. A QHD display has 4096x2048 pixels, or 8_288_608 pixels. I don't know how to program one of these, but simplisticly that means each core only has to control about 800 pixels. Imagine how slow the screen would update if all you had were 4 CPU cores to do this.
Arvin, appreciate the content. Mostly a review for me as I've already been down this road before in my own studies and have built a 8-bit breadboard computer. I do have a question. What software do you use to make the animations? for example at 9:30.
Sir can please explain that how a mirror works at quantum level. (with different wave length) it is still tripping me out and I am very confused about this
the mirror is made of certain material that is absorbing the photon and straight after the photon is re emmited in perpendicular angle of its own impact, the re emission of the photon costs the photon certain amount of energy that's why you never get the perfect picture of yourself, for that you would need a perfect mirror that doesn't exist so far
Hi Arvin. What about analog computers ?? We would be very interested in a video on this topic. Instead of just On or Off, different voltages could represent different values
Great explanation. Of course, in such a short video you can't explain everything, but I think you should have explained how the clock frequency of the CPU has a role in all of this. I think this could have helped in the difference between normal computers and quantum computers.
Another great video. I've been working with computers my whole life. I don't believe quantum computers will out perform standard silicon based for most processing tasks anytime soon. Perhaps in 50-100 years, then maybe.
There is a video on EEVblog cannel and explains how the quantum system couples with standard electronics. The video is called "Quantum computing for electronic engineers" is going with great details.
I was in school when the first computers for education were there in the 80's..if this guy was my teacher I wouldn't be such a dumb ass about computers.. brilliant bloke for sure
In our school, we started learning that computer understand 1 and 0 and what are algorithms, since 5th grade... And the initial concept was pretty easy to explain.. but they could never do that !!
Hi Arvin I've been watching your videos for a while now and have been inspired to learn more about physics. Using my knowledge in physics, I try to solve the biggest problems in physics. I right now have solutions to quantum gravity, the problem of anti matter, ways to see past the big bang and a couple more. Unfortunately, I do not have a mathematical model for my ideas. I would be grateful if you could take a look at my solutions and see if any of them could be correct. Thanks
You need someone to teach you calculus, Johnny… In all seriousness, you won’t get much traction in physics without math. Sounds like the next step in your journey.
Soooo i learned computing from literally "playing" with redstone in Minecraft. This video is awesome in itself and i am so humbled by the fact that we humans put out any information we want to the public for their gain not personal gain. Quantum is a whole other level of wrapping your head around but the principles stand either way, computers are sick. Edit; thank you my friend. I appreciate everything you do for all of us!
I have always been annoyed that I cant figure out how a cpu works but when you got the adding example I had the dumbest smile on my face. That's cool as shit.
Fun fact: The "binary digit" or "bit" is simply the most fundamental existential statement that can be made: It is or it is not. What "it" is, is simply whatever it is defined to be.
incredible to think about that a big bunch of yes & no-s result in us being able to watch such a wonderful video made by Arvin about big bunch of yes & no-s making it possible to watch such a video online mind = blown
Follow up video on Quantum Computing in case you want more info: ua-cam.com/video/RCj_BJ6BddM/v-deo.html
Also, this video is very information packed. I highly recommend TWO viewings. I guarantee you will get a lot more from the second viewing. Thanks for your support!
Okay, Let me first say that I like your channel a lot and have been a subscriber for awhile. Also, I've not been keeping up with quantum computing, but my understanding is that quantum computers are really NOT like classical computers, where all the n bits are in a superposition, and you get to do 2^n operations all at once. Instead, you can take your register of n bits, and use quantum circuitry to "rig" them in such a way that a particular value which is the answer to your problem has a much higher probability of appearing. Then you essentially run the quantum computer a bunch of times, and see if the distribution of answers contains a "spike" -- in which case you've found your answer in the value corresponding to the spike. Don't take my word for it. Watch this Infinite Series channel video. ua-cam.com/video/wUwZZaI5u0c/v-deo.html So if my understanding is correct and not outdated, essentially, an n bit quantum computer is like a 2^n sided die, where it's magically rigged to produce the answer to your problem, and you roll it a bunch of times to detect your answer as a probability spike. Also, this was first told to me in the 1990's by a Comp Sci professor friend of mine, before actual quantum computers were constructed, so my understanding is that there is an underlying reason in quantum physics that prevents quantum computers from being like a classical computer with magical quantum memory bits and gates. (I'm not sure what that would be, though.) However, if I am right in my understanding, then you've just misinformed the public and perpetuated an urban legend of "quantum computers do all 2^n operations at the same time." (I might've had that argument with my Comp Sci professor friend in the early 2000's, not the late 1990's, but still I remember that argument distinctly!)
0.
I paused and rewind every one minute 😆, Very high-quality and well-researched and explained video well done Arvin.
Hi Arvin, from 15:14 how would measurement make sense for all simultaneously performed additions? I mean measurement would only be able to produce a single state at a time so what's the point of doing multiple additions at once since measurement would be the result of an output for any one addition performed simultaneously
@@linkerzealbell5467 See my comment above. Any given measurement actually only produces the result of a small number of additions, not all 2^n of them "at once." The interactions can "bias" the result so that the right answer appears far more often. This is why quantum computers have to sample a bunch of times. They can still greatly win over conventional computers, because the x number of times they sample is far less than the 2^n possible states of their qubits.
You just explained the first 5 weeks of my digital logic class in less than 20 min AND I’d makes more sense. Thanks Arvin!
"You explained in 10 minutes what my teacher couldn't explain in 1 month."
You can find thousands of comments like that on UA-cam and it says a lot about college teachers.
If you need 5 weeks to grasp not/or/and gate then you are in the wrong field, note xor is just a combo of the others.
Lol... Yea but there are a lot of stuff that is talked about very quickly. I understand it because I studied this in school. So it's a nice refresher. But I imagine a normal person who has never heard of most of these concepts would struggle to understand what he is talking about.
@@ntal5859 Just learn NAND (or NOR) ... you can make EVERYTHING out of that! (think De Morgan)
Sounds like you had my digital logic professor
"The past might be classical, but the future is almost certainly going to be quantum."
I've watched many of your videos and thus realize this line is a smart reference to some of them where you mentioned that the past is 'certain' and the future is 'uncertain', which relates to why the entropy keeps increasing and why time always flows forward. Oh how good a teacher you are!
Man, Arvin Ash does such a good job explaining topics that are fraught with complexity in a manner that makes them accessible to anyone with 12 to 20 minutes to spare and a modicum of patience. I cannot praise this man and his videos enough. Cheers!
This is one of the very rare channels that go deep enough into the substance to really satisfy my curiosity! Bravo!
Pursuit of Wonder, Vsauce, Aperture etc.
Science Asylum
I misread this as "This is one of the very rare chemicals that go deep enough into the substance to really satisfy my curiosity!" 3 times
I was so confused
His simple little graphic with the people on the boats to explain force carying particles is probably my favorite one I've ever seen
I wrote software for the 4004 back in 1972. It's really fun to watch this superb presentation on something I thought I knew in some detail. I now wonder how many of today's computer scientists could assemble a half adder gate array from scratch. Back then, we just took it for granted. This is the first time that it has ever dawned on me to consider the gate array that is necessary to do the job. Great video Arvin, and thanks for making me think again after all these years!
Then, I have a question about transistors.
Surely someone thought of this, so I am asking _why they didn't_ make transistors that held a hight voltage level _and a low voltage level,_ as well as no voltage?
This would have given us trinary computer processors instead of just binary?
I doubt I am the first to think of this, so I wonder why the makers of the "4004" didn't do this?
@@TheNoiseySpectatorit didn't exist, until nowadays, a transistor with 3 states working as a logic switch. It is the properties of the materials presented in the transistor that makes possible only exists 2 states (1 above a certain level of voltage, and the other under the same level of voltage).
Finally someone who explains how computers work propperly! thank you so so so much.
instead of: "billion transistors............. haha computer smart"
@@kakyoindonut3213 that a computer is just a glorified lightswitch
I just wanted to say thank you for diving into the fine details of the ALU with the logic gates and not glossing over it. I have always wondered how logic gates ACTUALLY work at the transistor level
Exactly! The walk through of precisely what happens to the binary inside a full adder was so helpful to me
Agreed. Unfortunately, he didn't explain how quantum logic gates work.
I appreciate your commitment to sharing your research with others. Thanks, buddy.
"Arvin, your cap is either on your head or it is not, there is no between."
- Yoda
Wear the cap in winter and summer, I will Master Yoda.
So not a quantum cap!
Simon Adebisi would disagree...
@james palmer Humans have a tendency to hallucinate and associate meaning with meaningless things. Kids also like making things up or imagining them to be true. These are some of the most fallible possible things you could have chosen as proof of reincarnation/ghosts/afterlives, and they don't hold up very well at all.
@james palmer Humans don't deal with coincidences very well and we have a tenancy to chalk it up as something supernatural rather than look at more obvious answers. A flickering light could be any number of things such as power surge, defective bulb etc just because it happens after a loved one dying is purely coincidental. You don't think about it much when someone hasn't passed away recently. Also as mentioned above, humans hallucinate a lot, could be mental health issue I.e. anxiety or depression or could be walking through a high electromagnetic field.
That bit about the 4004! I did a presentation about it for a CS class and I love whenever people mention it.
I have been watching videos on this channel for a long time now. I have also seen many many explanation videos of the same topics. But the intuition about that particular topic that this channel can build is on whole another level. KEEP IT UP.
Wow, I did not expect to learn not only how to Add in Binary, but also how to count to 15 in Binary! Thanks as always for your amazing science videos!
I love to see you dig deeper Mathologer's style. I personally enjoy diving into subjects and get at least a good essence of it. You did a wonderful job explaining the way classical computers work at their core. I really feel that your videos are getting better every time... and I watched them all ! Thank you so much !
Finally i understand it. So many people stop explaining at that there are logic gates but what exactly they do and how nobody says
Really excellent video! Thanks, Arvin.
Being a Computer Engineer since 1978 or so, the classical-compute part of this I’m of course very familiar with. Not the Quantum part though! So, next video, tell us all about Toffoli, CNOT, and such!
**
Remember, all of those "Quantum Gates" depend on the idea of particle superposition or a superposition of the "Quantum State." This is where the logic is incorrect. Superposition of waves is completely real, but particles do not pass through each other like waves, i.e. they bounce off each other. So how in the world can "electron particles" pass through each other and bounce off of each other at the same time? In terms of "electron particle spin", realize that is an abstract way of saying that MAGNETIC NORTH and MAGNETIC SOUTH are both pointing the same direction at the same time. Are you a believer? 😊
@@itsbs, I don’t claim to be an expert on the topic, as I mentioned, but I gather that the concept is superposition of particular states, such as spin, of a given particle. So particles would not be colliding or bouncing off each other.
@@mr88cet **
Learn what "spin" of an electron is... it will point you to "angular momentum". Well, an electron particle cannot really spin because it would physically explode. But, "electron particles" are intrinsically magnetic and CRT TV screens proved that (beyond the shadow of a doubt)! How can these "electron particles" respond to magnets, but can't physically spin, but must have angular momentum? That's a problem... So, if you think the superposition of an electron "spin state" allows for the magnetic dipole of a "single electron" to magically become NORTH and SOUTH at the same time and in the same space... well, that would be absolutely amazing magic!
Particle physics uses the Schrodinger WAVE equation to convince you that particles can pass through each other via nature's "probability wave" evolution... *what?* And then, when you measure the electron, it is now in a particle state that can have the collision properties... *OK, really?*
Finally, after 30 years, someone has explained properly the logic gates! Big well done, Ash!
Wonderful vid like always. Back in the old days, I did a bit of game programming, and one of the "tricks" for certain types of fast multiply and divides, was to do "bit shifts" where you just shuffled the bits to the left or right, thus avoiding the need to waste precious CPU cycles on expensive math instructions. There were other ricks as well, like "unrolling the loop" to reduce the amount of jump statements. I learnt most of this from a book by a guy called Michael Abrash, in his Zen series of programming books.
Some of the early chips didn't have multiply or divide instructions at all. Only add and subtract. In fact, the Intel 4004 in the video did not have a multiply or divide instruction -- I just looked it up.
Well done. The description of classical logic circuits is really good.
That was by far the best explanation of both classical and quantum computing I've seen. It took the explanation to the next level of detail than most similar videos do, but still explained all the concepts. Great work
Its awesome to see how you condensed so much in this small video. Really love your channel.
I appreciate this video. This video is inline with my course. I studied Computer Science in university. I've learned some new stuff from this video.
I knew about logic gates but never really understood how were they made with transistor until now. Thanks Arvi, the topics you speak about are always interesting!
Such an excellent video. It’s amazingly simple and complex all at the same time.
I'm currently working on a 4 stage pipeline processor in Verilog with 2 integer pipelines, and 2 FPU pipelines. When I was a kid and I was learning the 8088 architecture (this was in the 80s folks when you had to get your books from the library :D ), and I was fascinated with how opcodes would actually activate certain circuits of the CPU. It was like the opcode was a key and the CPU had a keyhole for each one. Instead of tumblers though, they are switches to the circuit. That's what my 13 year old mind came up with. It kind of reminded me of a project we did in grade school that was basically an ALU made out of cardboard. :) We weren't taught that it was an ALU, but it certainly acted that way when you wanted to do some simple arithmetic. It only supported add and subtract, but I'm sure the concept could have been extended to be a full blown ALU given enough time and knowledge on the subject. I think that class as well as the fact that my father bought me a remote control car when I was 2 years old is the reason why I do what I do (and love it). My mom said he bought it for himself, but pretended it was for me. Well I proceeded to take that sucker apart because I wanted to figure out how it worked. To this day I'm still trying to figure out how things work ;)
Why are you working on a 50 year old design? Are you into recreations of ancient machines?
OMG Arvin....finally someone takes the time to explain the gory detail. THANK YOU!!
Very clear and concise visuals and explanation. I've only seen a handful of your videos since finding this channel the other week, but it's already one of my favourites. Love the work you do on this channel!
What is amazing is that the CPU is built of really simple logic gates that are assembled into more and more complex circuits. Technically you can build any computer entirely with NAND gates (or NOR gates). The beauty of it all is that the logical structure of say an adder can stay the same while the underlying technology (fabrication) changes giving you more speed and smaller size. The blocks of logic like an adder are design once and then use many times in ever more increasing complex circuits.
Great job! One thing that might make it a little more clear is to note that with 4 bits the first bit represents 1, second bit is 2, third bit is 4 and forth bit is 8, so 0101 equals 5 because the first and third bit are on (4+1) and 1111 equals 15 because all for bits are on (1+2+4+8)
Good. Thank you.
Well done, Arvin! This is a very clean explanation of the low-level workings of a processor for a beginner.
Now I can connect dots for concept I learnt in my grads, after 10 years now. Thank you so much ❤️
First video I've seen on UA-cam that really EXPLAINS how a CPU works. Great!
By far, the best video I've seen on how computers work and process data. Given the light switch analogy and its on/off function in a classical computer, would it be accurate to say that a quantum computer processes data as if it had dimmer switches instead, so its output can be on/off and everything in-between? Thanks
Well, somewhat but not quite - the dimmer could represent the state of superposition, but you have to remember that upon measurement, the superposed object gives a binary result, either Yes or no. The states in between only exist while in superposition, but these states are one or the other when measured.
@@ArvinAsh Thanks for the clarification. 👍
I don't think so. The qubit can still only have a value of 1 or 0, we just don't know which until the calculation is done.
These are the information and knowledge we need today, not tiktok.
I have watched most of your videos and they are very helpful to understand scientific/engineering concepts. Really Nice! And now I also FINALLY understand how do these machines ACTUALLY work.
It's amazing how many subs you've gotten in the past year, for good reason I'll add. When I subbed I remember you having like 28k or something.
2041: Mom, I want a quantum gaming PC with 10 qubits
Mom: we have a gaming pc
Gaming PC: 64-core Ryzen 10900X, RTX 9090 FE, 128GB RAM
Teen: but, but…..it’s slow
😭why not 1TB ram for that processor???
This time last year, I struggled so much to understand these things. Now my mind is clear now. Thank you so much.
Boolean algebra was mandatory when taking computer classes back in the pre-historic 70's. I still find it complicated.
I never trust sponsorship ads. But I would like to say Schumacher's lectures (the guy who named the qbit) really are fantastic. All the quantum, none of the maths!
Yeah, I love his lectures too! He is a really good teacher.
this one makes more sense than the previous video. thanks arvin sir.
You explained it in the easiest way I have ever watched it in any video
Thank you for the subtitles and the informative video :)
I designed and built a 16 bit (address and data) CPU using MSI and SSI chips back in 1986. I have, when pragmatism called for it also built discrete logic gates using transistors and/or FETs for a particular design. Wired-OR gates able to source/sink large currents are a typical case in point. My reason for designing the CPU (microprogrammed control store using EPROMS) was to find out how they worked after designing and programming a number of computer systems using microprocessors. There were no books I could find which explained exactly how a programmable system worked.
You didn't know the way to the library? Dude... :-)
@@schmetterling4477 I know. Sad isn't it? They say that ignorance is bliss so maybe it was a bad idea.
@@malectric To make up shit about yourself on the internet is always a bad idea. :-)
@@schmetterling4477 If you want evidence I have it I have the machine beside me in the garage together with a folder full of circuits, microcode sheets and of course the instruction set I designed. 🙂 I NEVER "make stuff up". It is not in my nature to do so. And please drop the "dude". It is disrespectful.
@@malectric Sure you do. :-)
It's great to see your channel grow Arvin :) You deserve it! Keep up the good work man
Arvin: 0:14 All these devices and activities are made possible by...
My brain: Skillshare
Some of this makes so much sense I cannot believe it didn't click how it would work in my head by default. Thanks!
My man... Your content is so good. Pure quality.
Alright, I can't believe I just watched this for free.
Right!
Wow, amazing explanations! Thank you.
Now it makes sense!!! Thanks!
What a way to start my morning than to have a video of my favourite science topic being explained by Arvin. Awesome.
Excellent video Arvin, this is fantastic
--designed microprocessor with pipeline, hazard detection, forwarding, cache, TLB for school project & learned about modern multi-core processor architecture w/ out of order execution (some operations take longer, allows faster operations to complete in fewer clock cycles than slower ones and often not have to wait) + RW/WR/WW hazard detection and mitigation (e.g. a register symbol mapping table... extra registers; queue for stalled instructions), queue for restoring sequential order for memory writes, branch prediction [instructions are pre-fetched...], error correcting codes-- ... --wonders why took so long to fast forward to the quantum part--
Very informative. Thanks a lot sir 👍
Wonderful!!! I love this. I am surprised as always you release a video on what I am having doubt on at this instance.❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️
I only have one single question, of all these modern computers, is there any conscious acts getting performed or they are only the physical attributes reacting according to their physical properties when we give an input.
There is no consciousness in computers. It's all electrons and switches moving according to the instructions in the program.
@@ArvinAsh thank you soooo much sir. As always, I have a due respect on the content in your mind and the way you think and understand the universe and the knowledge you distribute to the people who follow you. ❤️
Does it mean if energy is not moving from one place to another place but is in one place for a long time (i.e within certain volume) then it can be called as mass/rest mass??Example:binding energy??
It's funny. I've designed and built (very low end) processors, so this stuff is second nature to me. But, watching this video I can't help but think *man* this would be hard to understand from scratch. You do a phenominal job of explaining, like always, but ... I guess it really isn't as naturally intuitive as it feels for those of us familiar with it.
Believe it or not I have a very small knowledge on computers (enough to actually work in IT) but I actually understood like 90% of what was explained here. It's presented in a way that definitively can help to understand how these things work at least for people like me with a very basic level knowledge
As I see it, this video will be probably watched by thousands of students around the world the next years, because of his simplicity and well explained presentation
Was waiting for it after u said u were gonna make this vid in ur quantum comp video ... I thought u never would make it 👍❤️
why resistor is added before transistor ? 8:07
Great job on the classical computer explanations and illustrations!
Grazie.
Thank you!
Great video Arvin Sir
I wish you'd explain more about the quantum computer itself, like give a complete example of the phone lookup in quantum just as you did with a binary one by one lookup. What's the full circuit?
THANK YOU SO MUCH FOR THIS VIDEO! IT TAKES A LOT OF EFFORT TO MAKE SUCH WONDERFUL VIDEOS!!! TQ!!!!!!
You did a great job on this one!
I watched this as a fun refresher, and I’m thinking half adders and not gates would be helpful.
This will inspire the next generation of STEM students !
Thanks for this, absolutely great
Oh my god, this is a real treasure! Thanks a lot, greetings from Argentina 🙋♂️
Okay, the last fourish minutes 14:32 , when it’s explained how quantum computer logic gates are the same as classical logic gates but with qubits that duplicate themselves (hey they kinda even look like waves), quantum computers finally made sense to me
Thank you
Every other video was like “well because these bits can be in both 1&0 there’s an exponential amount of more information,” and while I understand superpositions and I understand the implications of that much data and even nodded to some math videos explaining the matrix, I had no conception of how information was supposedly stored on something thats in a superposition it made no sense to me.
This is the only video so far that explains the literal circuitry and physical mechanisms behind it. It’s logic gates built from double-slit experiments instead of circuitry.
13:52: Great video specially the section on classical computer;
But the calculation presented for the power of a quantum computer is problematic: Specifically if we have a q-bit quantum computer, then the total state of our computer (all of its information) can be represented by a point in a 2^q dimensional space; If the computer's state's projection on each of the 2^q axes can be represented by an m-bit integer number than the total information (number of possible states) contained in a q-bit quantum computer is NOT 2^q bits (as stated in the video) but m^2^k (classical equivalent) bits which grows very very fast as number of qubits and resolution of our measurements of the system increase;
As an example if we have a 4 bit quantum computer (q=4) and the resolution of our measurements is a 10-bit number (m=10) then and our computer can store (ideally) equivalent of 10^2^4 or 10^16 classical bits!!! In other words, it would require that much classical information and storage to full specify the state of our 4 qubit computer;
Great explanation on CPU. I'm just curious what about GPU, ie. how does it works internally ? Does it use the same ALU and logic gates ? And how quantum computing can improve GPU, or will future quantum GPU use qubits just like CPU will do ?
GPU internally work the same way as CPU's (in the sense they use the same gates and bus logic). however the architecture of a GPU is optimized to do a lot of the same independent operation in parallel (usually vector and matrix operations that are common in computer graphics), while a CPU is optimized for sequential execution of dependent and conditional operations (algorithm execution).
Yes. A GPU just has a lot of, simpler, CPUs ( sometimes called "cores"). They use a set up called SIMD, for Single Instruction Multiple Data. Like having 10 people with a calculator each adding two numbers together from two lists of 10 numbers, and each writing their answer on another list in the same relativ place on a third piece of paper. I.e. person 1 takes the first number from the two lists and writes the answer in the first place on the output piece of paper. And so on.
I looked. In my previous reply, I used an example of 10 people. An RTX 3090 has 10_495 cores. A QHD display has 4096x2048 pixels, or 8_288_608 pixels. I don't know how to program one of these, but simplisticly that means each core only has to control about 800 pixels. Imagine how slow the screen would update if all you had were 4 CPU cores to do this.
What is the biggest difference between classic computers and quantum computers?
Classic computers works and quantum computers don't. :)
Could you make a video about books that aid in fundamentally understanding physics and mathematics?
Arvin, appreciate the content. Mostly a review for me as I've already been down this road before in my own studies and have built a 8-bit breadboard computer. I do have a question. What software do you use to make the animations? for example at 9:30.
Sir can please explain that how a mirror works at quantum level. (with different wave length) it is still tripping me out and I am very confused about this
the mirror is made of certain material that is absorbing the photon and straight after the photon is re emmited in perpendicular angle of its own impact, the re emission of the photon costs the photon certain amount of energy that's why you never get the perfect picture of yourself, for that you would need a perfect mirror that doesn't exist so far
@@goasthmago6354 but why does this occurs with some elements. why not all and why does it do that
I am non science student. Thank you for easy language to make us understand. 😊
Hi Arvin. What about analog computers ?? We would be very interested in a video on this topic. Instead of just On or Off, different voltages could represent different values
Great explanation. Of course, in such a short video you can't explain everything, but I think you should have explained how the clock frequency of the CPU has a role in all of this. I think this could have helped in the difference between normal computers and quantum computers.
You are a great educator!
Arvin you da man! Always breaking it down so it's easy, you sure know your stuff!
Another great video. I've been working with computers my whole life. I don't believe quantum computers will out perform standard silicon based for most processing tasks anytime soon. Perhaps in 50-100 years, then maybe.
One of the best informatives chaneel in the net
quibits are related to a vector, susskind has a perfect lesson on how they change the result if your measuring device is positioned in different ways
Finally a video explaining quantum basics, you explain things so well. Thanks!
How awesome is this! 👏👏👏👏👏
I remember the 4004. My first computer at home was based on the 8080 chip.
Your explanation just excellent💯
There is a video on EEVblog cannel and explains how the quantum system couples with standard electronics. The video is called "Quantum computing for electronic engineers" is going with great details.
At the Planck length is our universe digital, either on or off?
Planck length is just the smallest length where our physics works. I don't think there is anything like on or off at the Planck length.
I was in school when the first computers for education were there in the 80's..if this guy was my teacher I wouldn't be such a dumb ass about computers.. brilliant bloke for sure
In our school, we started learning that computer understand 1 and 0 and what are algorithms, since 5th grade... And the initial concept was pretty easy to explain.. but they could never do that !!
THANK YOU SO MUCH
Hi Arvin
I've been watching your videos for a while now and have been inspired to learn more about physics. Using my knowledge in physics, I try to solve the biggest problems in physics. I right now have solutions to quantum gravity, the problem of anti matter, ways to see past the big bang and a couple more. Unfortunately, I do not have a mathematical model for my ideas. I would be grateful if you could take a look at my solutions and see if any of them could be correct. Thanks
You need someone to teach you calculus, Johnny… In all seriousness, you won’t get much traction in physics without math. Sounds like the next step in your journey.
Soooo i learned computing from literally "playing" with redstone in Minecraft. This video is awesome in itself and i am so humbled by the fact that we humans put out any information we want to the public for their gain not personal gain. Quantum is a whole other level of wrapping your head around but the principles stand either way, computers are sick.
Edit; thank you my friend. I appreciate everything you do for all of us!
Does redstone work the same as real computing? I never played Minecraft.
I have always been annoyed that I cant figure out how a cpu works but when you got the adding example I had the dumbest smile on my face. That's cool as shit.
For someone with zero knowledge about this, it was super useful
Fun fact: The "binary digit" or "bit" is simply the most fundamental existential statement that can be made: It is or it is not. What "it" is, is simply whatever it is defined to be.
incredible to think about that a big bunch of yes & no-s result in us being able to watch such a wonderful video made by Arvin about big bunch of yes & no-s making it possible to watch such a video online
mind = blown
Minor correction: since a BJT transistor was shown, the control point is the base not the gate, the latter being for an FET.