How does a COMPUTER CPU actually WORK?

  Рет қаралды 180,329

Arvin Ash

Arvin Ash

Күн бұрын

Signup for your FREE trial to Wondrium here: ow.ly/9Rti30rNLcn - Highly recommended!
Background videos:
"What makes a Quantum computer so powerful?": • The Insane Mechanism o...
Chapters:
0:00 - What is a transistor?
1:40 - Review of computer components
2:58 - Intel 4004 processor
5:08 - How CPU and ALU processes information
6:56 - How logic gates work and are constructed
9:22 - How are two numbers added?
13:02 - How do quantum computers work?
16:56 - How to learn quantum computing in depth
Summary:
Any device that you might be watching this video on is made possible by something similar to a simple light switch. It's either on or off. Yes, or no, true or false - a transistor. The brain of your computer, called the CPU or central processing unit, is made up of billions of transistors.
How does a computer work? The main component of a computer, that actually computes, is called the central processing unit, or CPU. The computational part of the CPU is called the ALU or arithmetic logic unit. ALU is composed of logic gates. Logic gates consist of groups of transistors. These logic gates do the actual computation in CPUs.
In this video, we look more closely inside a CPU. We look at the first commercially available processor called the Intel 4004. It was a 4-bit processor. This means it could work with inputs formed by 4 bits. Thus, the processor could accept an input like 1011. This is also called a word. A word is an object made from 1’s and 0’s with which the CPU works. The Intel 4004 used 4-bit words, and consisted of 2250 transistors (Modern processors are 64-bit and consist of billions of transistors).
Instruction tell the ALU how to process the inputs. How does an ALU work? If we want to add two numbers, 2 and 3, first these numbers will be represented by 4 binary bits. In binary code, 2 is 0010 and 3 is 0011. These are the input bits, also called operands. To add them together, the instruction code must tell the ALU to add them. This will be specified by some flag that tells it what to do with the operands it receives. Flags are also bits.
What is a logic gate? It takes in two bits, or two binary numbers, then depending on the type of logic gate it is, the gate will output the appropriate result bit. Physically these gates are made from a bunch of transistors connected in the appropriate way for whatever gate you want to make.
A simple example would be the AND gate. In the AND gate, if the two incoming bits are 1, then the output is 1, otherwise the output is false. Another gate is the OR gate. Here if either, or both of the incoming two bits are 1, then the output is 1. Otherwise, the output is zero. If we only want to output a 1 or true, if and only if one input is 1 and the other is 0, then we use an XOR gate.
There are several more gates but with the AND, OR and XOR gate we can make a circuit which can add numbers. I explain how AND, OR and XOR gates are built using transistors.
How do logic gates to add numbers? 2 XOR gates, 2 AND gates and one OR gate can add a number. This is called a full adder circuit. I explain how a full adder works.
Similarly, logic gates can be constructed to do other things. A computer can do all kinds of cool things, but at its core, it is just doing first grade math.
How do quantum computers differ from classical computers? Quantum computers in principle do the same computations as a classical computer, but instead of bits, it uses qubits. Qubits are bits that are in a superposition of both 0 and 1, so they can potentially take on an infinite number of values between 0 and 1. Qubits could be made with one of many quantum objects like electrons or photons, that have some binary property like spin.
Because qubits can be in a state of both 0 and 1 at the same time, qubits can store 2 to the power of the equivalent number of bits. So, 3 qubits can hold the same amount of data as 23 or 8 classical bits. And just 10 qubits would be able to store the same data as 2^10 or 1024 classical bits.
A qubit is stationary. So the bits do not flow in quantum computers like they do in classical. So the logic gate has to be applied onto the stationary qubits. This can be done using photons - microwave pulses.
Instead of classical logic gates, quantum computers use quantum logic gates. In the quantum case we can also make a full adder to add two numbers, but instead of AND gates, we use Toffoli gates. And instead of OR or XOR gates, we use CNOT gates.
#quantumcomputer
#howcomputerswork
The “magic” of the quantum computer comes from the fact that the quantum logic gates can work with qubits. So instead of adding just 2 numbers together, we could do 4 additions at the same time. If we had 3 qubits, we could do 8 additions at once, and so on.

Пікірлер: 393
@ArvinAsh
@ArvinAsh 2 жыл бұрын
Follow up video on Quantum Computing in case you want more info: kzfaq.info/get/bejne/iKmakqV7m6jIlIE.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!
@stcredzero
@stcredzero 2 жыл бұрын
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. kzfaq.info/get/bejne/rbunjb2SrpvZYJc.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!)
@dray7579
@dray7579 2 жыл бұрын
0.
@user-hh2is9kg9j
@user-hh2is9kg9j 2 жыл бұрын
I paused and rewind every one minute 😆, Very high-quality and well-researched and explained video well done Arvin.
@linkerzealbell5467
@linkerzealbell5467 2 жыл бұрын
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
@stcredzero
@stcredzero 2 жыл бұрын
@@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.
@mj1653
@mj1653 2 жыл бұрын
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!
@zahidhasan7052
@zahidhasan7052 2 жыл бұрын
"You explained in 10 minutes what my teacher couldn't explain in 1 month." You can find thousands of comments like that on KZfaq and it says a lot about college teachers.
@ntal5859
@ntal5859 2 жыл бұрын
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.
@Wizznilliam
@Wizznilliam 2 жыл бұрын
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.
@JR-ng9yo
@JR-ng9yo 2 жыл бұрын
@@ntal5859 Just learn NAND (or NOR) ... you can make EVERYTHING out of that! (think De Morgan)
@thetruextremeicon
@thetruextremeicon 2 жыл бұрын
Sounds like you had my digital logic professor
@wulerhaufung9468
@wulerhaufung9468 2 жыл бұрын
"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!
@nerdexproject
@nerdexproject 2 жыл бұрын
This is one of the very rare channels that go deep enough into the substance to really satisfy my curiosity! Bravo!
@Legion849
@Legion849 2 жыл бұрын
Pursuit of Wonder, Vsauce, Aperture etc.
@localverse
@localverse 2 жыл бұрын
Science Asylum
@MandMs05
@MandMs05 2 жыл бұрын
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
@spencer1980
@spencer1980 2 жыл бұрын
His simple little graphic with the people on the boats to explain force carying particles is probably my favorite one I've ever seen
@johnlong1499
@johnlong1499 2 жыл бұрын
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!
@bobf.7238
@bobf.7238 2 жыл бұрын
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!
@TheNoiseySpectator
@TheNoiseySpectator Жыл бұрын
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?
@andrefarias3127
@andrefarias3127 11 ай бұрын
​​@@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).
@ICANanimations
@ICANanimations 2 жыл бұрын
Finally someone who explains how computers work propperly! thank you so so so much.
@kakyoindonut3213
@kakyoindonut3213 2 жыл бұрын
instead of: "billion transistors............. haha computer smart"
@ICANanimations
@ICANanimations 2 жыл бұрын
@@kakyoindonut3213 that a computer is just a glorified lightswitch
@CamiloSantana
@CamiloSantana 2 жыл бұрын
I appreciate your commitment to sharing your research with others. Thanks, buddy.
@thingsiplay
@thingsiplay 2 жыл бұрын
"Arvin, your cap is either on your head or it is not, there is no between." - Yoda
@ArvinAsh
@ArvinAsh 2 жыл бұрын
Wear the cap in winter and summer, I will Master Yoda.
@johnmckown1267
@johnmckown1267 2 жыл бұрын
So not a quantum cap!
@iDEATH
@iDEATH 2 жыл бұрын
Simon Adebisi would disagree...
@joexer1
@joexer1 2 жыл бұрын
@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.
@swright8566
@swright8566 2 жыл бұрын
@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.
@rabbits2345
@rabbits2345 2 жыл бұрын
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
@KalebPeters99
@KalebPeters99 2 жыл бұрын
Exactly! The walk through of precisely what happens to the binary inside a full adder was so helpful to me
@beri4138
@beri4138 9 ай бұрын
Agreed. Unfortunately, he didn't explain how quantum logic gates work.
@sethbettwieser
@sethbettwieser 2 жыл бұрын
That bit about the 4004! I did a presentation about it for a CS class and I love whenever people mention it.
@kyoto9916
@kyoto9916 2 жыл бұрын
Finally i understand it. So many people stop explaining at that there are logic gates but what exactly they do and how nobody says
@ElDJReturn
@ElDJReturn 2 жыл бұрын
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!
@dhruvbonde898
@dhruvbonde898 2 жыл бұрын
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.
@BitwiseMobile
@BitwiseMobile Жыл бұрын
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 ;)
@schmetterling4477
@schmetterling4477 Жыл бұрын
Why are you working on a 50 year old design? Are you into recreations of ancient machines?
@mal9369
@mal9369 2 жыл бұрын
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!
@mr88cet
@mr88cet 2 жыл бұрын
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!
@itsbs
@itsbs 2 жыл бұрын
** 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? 😊
@mr88cet
@mr88cet 2 жыл бұрын
@@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.
@itsbs
@itsbs 2 жыл бұрын
@@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?*
@TranSylvainie
@TranSylvainie 2 жыл бұрын
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 !
@grayaj23
@grayaj23 2 жыл бұрын
Well done. The description of classical logic circuits is really good.
@ngodwi
@ngodwi 2 жыл бұрын
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
@sparshsinghal9238
@sparshsinghal9238 2 жыл бұрын
Its awesome to see how you condensed so much in this small video. Really love your channel.
@MrBendybruce
@MrBendybruce 2 жыл бұрын
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.
@johnmckown1267
@johnmckown1267 2 жыл бұрын
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.
@guiller7150
@guiller7150 2 жыл бұрын
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!
@KamilsView
@KamilsView 2 жыл бұрын
Finally, after 30 years, someone has explained properly the logic gates! Big well done, Ash!
@falxonPSN
@falxonPSN 2 жыл бұрын
Well done, Arvin! This is a very clean explanation of the low-level workings of a processor for a beginner.
@tomingrassiaimages8776
@tomingrassiaimages8776 2 жыл бұрын
OMG Arvin....finally someone takes the time to explain the gory detail. THANK YOU!!
@rafaelsays175
@rafaelsays175 2 жыл бұрын
Such an excellent video. It’s amazingly simple and complex all at the same time.
@bryanguilford5807
@bryanguilford5807 2 жыл бұрын
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.
@bsfunskit
@bsfunskit 2 жыл бұрын
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.
@SM-ui7io
@SM-ui7io 2 жыл бұрын
Thank you for the subtitles and the informative video :)
@bryanpascual3543
@bryanpascual3543 2 жыл бұрын
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
@harshadadagale4253
@harshadadagale4253 2 жыл бұрын
😭why not 1TB ram for that processor???
@cstuart1
@cstuart1 Жыл бұрын
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)
@ArvinAsh
@ArvinAsh Жыл бұрын
Good. Thank you.
@exponentmantissa5598
@exponentmantissa5598 2 жыл бұрын
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.
@abby4922
@abby4922 2 жыл бұрын
Arvin: 0:14 All these devices and activities are made possible by... My brain: Skillshare
@DeCamJ
@DeCamJ 2 жыл бұрын
Wow, amazing explanations! Thank you.
@stabilini
@stabilini 2 жыл бұрын
Finally a video explaining quantum basics, you explain things so well. Thanks!
@fringeanomaly9284
@fringeanomaly9284 2 жыл бұрын
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 👍❤️
@christopherhayes1369
@christopherhayes1369 2 жыл бұрын
First video I've seen on KZfaq that really EXPLAINS how a CPU works. Great!
@shampooner
@shampooner 2 жыл бұрын
You did a great job on this one!
@minhtam5051
@minhtam5051 2 жыл бұрын
This time last year, I struggled so much to understand these things. Now my mind is clear now. Thank you so much.
@CrazyAssDrumma
@CrazyAssDrumma 2 жыл бұрын
This was amzing! well summarised!
@kavjay
@kavjay 2 жыл бұрын
Excellent video Arvin, this is fantastic
@rafanifischer3152
@rafanifischer3152 2 жыл бұрын
Boolean algebra was mandatory when taking computer classes back in the pre-historic 70's. I still find it complicated.
@thulaninyati1284
@thulaninyati1284 2 жыл бұрын
Very informative. Thanks a lot sir 👍
@demianmakuc380
@demianmakuc380 2 жыл бұрын
It's great to see your channel grow Arvin :) You deserve it! Keep up the good work man
@itsbs
@itsbs 2 жыл бұрын
Great job on the classical computer explanations and illustrations!
@rhythmkhandelwal2940
@rhythmkhandelwal2940 2 жыл бұрын
You explained it in the easiest way I have ever watched it in any video
@Cptn_Candy
@Cptn_Candy 6 ай бұрын
Some of this makes so much sense I cannot believe it didn't click how it would work in my head by default. Thanks!
@nektardymski6025
@nektardymski6025 2 жыл бұрын
My man... Your content is so good. Pure quality.
@arefinlabib4630
@arefinlabib4630 2 жыл бұрын
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.
@pathfinder_strider
@pathfinder_strider 2 жыл бұрын
Alright, I can't believe I just watched this for free.
@T34RG45
@T34RG45 2 жыл бұрын
Right!
@Regularsshorts
@Regularsshorts 2 жыл бұрын
Great video Arvin Sir
@SlampthChompth
@SlampthChompth 2 жыл бұрын
Arvin you da man! Always breaking it down so it's easy, you sure know your stuff!
@picksalot1
@picksalot1 2 жыл бұрын
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
@ArvinAsh
@ArvinAsh 2 жыл бұрын
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.
@picksalot1
@picksalot1 2 жыл бұрын
@@ArvinAsh Thanks for the clarification. 👍
@Georgije2
@Georgije2 2 жыл бұрын
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.
@adventuresofwanderlust6325
@adventuresofwanderlust6325 2 жыл бұрын
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.
@miguelelgueta5830
@miguelelgueta5830 2 жыл бұрын
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
@swadeshicreator9717
@swadeshicreator9717 2 жыл бұрын
this one makes more sense than the previous video. thanks arvin sir.
@K9Megahertz
@K9Megahertz 2 жыл бұрын
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.
@elliott614
@elliott614 2 жыл бұрын
--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--
2 жыл бұрын
Excelent explanation/comparison
@hareeshpentela5948
@hareeshpentela5948 2 жыл бұрын
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
@ArvinAsh 2 жыл бұрын
There is no consciousness in computers. It's all electrons and switches moving according to the instructions in the program.
@hareeshpentela5948
@hareeshpentela5948 2 жыл бұрын
@@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. ❤️
@sadjhin103
@sadjhin103 2 жыл бұрын
What a way to start my morning than to have a video of my favourite science topic being explained by Arvin. Awesome.
@nexus3112
@nexus3112 2 жыл бұрын
Now it makes sense!!! Thanks!
@miguelelgueta5830
@miguelelgueta5830 2 жыл бұрын
Thanks for this, absolutely great
@kmcgushion
@kmcgushion 10 ай бұрын
Excellent explanation!
@graymars1097
@graymars1097 2 жыл бұрын
Thank you. That was fascinating for me.
@seanyiu
@seanyiu 2 жыл бұрын
This will inspire the next generation of STEM students !
@csbluechip
@csbluechip 2 жыл бұрын
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!
@ArvinAsh
@ArvinAsh 2 жыл бұрын
Yeah, I love his lectures too! He is a really good teacher.
@juhabach6371
@juhabach6371 2 жыл бұрын
Nostalgia of 3rd Semester CS
@abstract.harmony
@abstract.harmony 2 жыл бұрын
Oh my god, this is a real treasure! Thanks a lot, greetings from Argentina 🙋‍♂️
@andrewfetterolf7042
@andrewfetterolf7042 Жыл бұрын
You are a great educator!
@dsplabusc
@dsplabusc Жыл бұрын
I learned more of the general idea of computing in 20 minutes of this video than I learned in 4 years of college!
@powerzx
@powerzx 2 жыл бұрын
What is the biggest difference between classic computers and quantum computers? Classic computers works and quantum computers don't. :)
@anishashee8511
@anishashee8511 2 жыл бұрын
Your explanation just excellent💯
@user-sx6xb5nq9l
@user-sx6xb5nq9l 2 жыл бұрын
Thanks for your channel make simple explanation what is for our future full of quantum idea .
@chan000090
@chan000090 2 жыл бұрын
I am non science student. Thank you for easy language to make us understand. 😊
@serpentine1983
@serpentine1983 2 жыл бұрын
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.
@mikelCold
@mikelCold 4 ай бұрын
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?
@michaelchikos4551
@michaelchikos4551 Жыл бұрын
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.
@malectric
@malectric Жыл бұрын
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
@schmetterling4477 Жыл бұрын
You didn't know the way to the library? Dude... :-)
@malectric
@malectric Жыл бұрын
@@schmetterling4477 I know. Sad isn't it? They say that ignorance is bliss so maybe it was a bad idea.
@schmetterling4477
@schmetterling4477 Жыл бұрын
@@malectric To make up shit about yourself on the internet is always a bad idea. :-)
@malectric
@malectric Жыл бұрын
@@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.
@schmetterling4477
@schmetterling4477 Жыл бұрын
@@malectric Sure you do. :-)
@hamburgerlord9552
@hamburgerlord9552 2 жыл бұрын
Love your content. 👍
@farmaz7667
@farmaz7667 2 жыл бұрын
One of the best informatives chaneel in the net
@ryanm9371
@ryanm9371 2 жыл бұрын
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
@shashankchandra1068
@shashankchandra1068 2 жыл бұрын
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??
@balazsadorjani1263
@balazsadorjani1263 2 жыл бұрын
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
@MazinSalim-hx5ps
@MazinSalim-hx5ps 5 ай бұрын
Thank you very much 🙏
@carbonanimationproductions6537
@carbonanimationproductions6537 2 жыл бұрын
THANK YOU SO MUCH
@dennistucker1153
@dennistucker1153 2 жыл бұрын
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.
@JuBerryLive
@JuBerryLive 2 жыл бұрын
great video man.
@ArvinAsh
@ArvinAsh 2 жыл бұрын
Appreciate it!
@terrybeaud9348
@terrybeaud9348 11 ай бұрын
12:25 ... "Sokath, his eyes uncovered !!"
@johnmckown1267
@johnmckown1267 2 жыл бұрын
I remember the 4004. My first computer at home was based on the 8080 chip.
@Skybird_
@Skybird_ 2 жыл бұрын
How awesome is this! 👏👏👏👏👏
@SABARI95969798
@SABARI95969798 2 жыл бұрын
Could you make a video about books that aid in fundamentally understanding physics and mathematics?
@08kandersen
@08kandersen 2 жыл бұрын
I watched this as a fun refresher, and I’m thinking half adders and not gates would be helpful.
@Rahul8097170153
@Rahul8097170153 Жыл бұрын
Now I can connect dots for concept I learnt in my grads, after 10 years now. Thank you so much ❤️
@Stefan_trekkie
@Stefan_trekkie 2 жыл бұрын
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.
@goasthmago6354
@goasthmago6354 2 жыл бұрын
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
@mikeo5059
@mikeo5059 2 жыл бұрын
Outstanding educational experience
@niladriquantamphysicist6192
@niladriquantamphysicist6192 2 жыл бұрын
Sir enjoyed a lot Sir
@mitnick212
@mitnick212 2 жыл бұрын
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 ?
@rodrigoserafim8834
@rodrigoserafim8834 2 жыл бұрын
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).
@johnmckown1267
@johnmckown1267 2 жыл бұрын
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.
@johnmckown1267
@johnmckown1267 2 жыл бұрын
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.
@Paladin1873
@Paladin1873 2 жыл бұрын
I feel like I'm back in my first FORTRAN IV class in college. There's a memory I'd just as soon forget.
@ArvinAsh
@ArvinAsh 2 жыл бұрын
Haha. I hear you. My Fortran IV class was taught by one of the inventors of Fortran IV, but I have to tell you, he never taught this stuff about how CPUs actually work.
@Paladin1873
@Paladin1873 2 жыл бұрын
@@ArvinAsh We all studied logic gates at Georgia Tech, but only system programming and electrical engineering students learned about CPUs. This was in the early to mid 1970s, before desktop computers. Most of us had to use card punch machines and compilers to run the most basic programs. Many students ate it up, but it just gave me indigestion. I could fathom series, parallel, and series-parallel circuits, but anything beyond that overtaxed my reasoning processes. I have the same issues trying to comprehend modern physics, but I do enjoy how you present it. I don't grasp it all, but I get part of it. Your comparative illustrations help a good bit, which is partly why I enjoy your programs.
The Insane Mechanism of a Quantum Computer?
13:36
Arvin Ash
Рет қаралды 181 М.
Nobody Knows What TIME Really Is. But it might be this...
14:10
Arvin Ash
Рет қаралды 1,1 МЛН
Normal vs Smokers !! 😱😱😱
00:12
Tibo InShape
Рет қаралды 119 МЛН
Заметили?
00:11
Double Bubble
Рет қаралды 1,4 МЛН
Logic Gates Rotate Qubits
8:04
Josh's Channel
Рет қаралды 62 М.
What Jumping Spiders Teach Us About Color
32:37
Veritasium
Рет қаралды 1,5 МЛН
How computers understand programs: From transistors to a CPU (1/3)
13:49
Enqrage Entertainment
Рет қаралды 182 М.
Why The First Computers Were Made Out Of Light Bulbs
18:56
Veritasium
Рет қаралды 5 МЛН
Quantum Entanglement Explained - How does it really work?
17:07
Arvin Ash
Рет қаралды 1,1 МЛН
Will AI take over the world? Computer Consciousness
18:07
Arvin Ash
Рет қаралды 64 М.
Quantum Programming - Part 1
21:10
New Mind
Рет қаралды 484 М.
How Quantum Computers Break The Internet... Starting Now
24:29
Veritasium
Рет қаралды 8 МЛН
How To Make a Quantum Bit
7:51
Veritasium
Рет қаралды 1,6 МЛН
Your understanding of evolution is incomplete. Here's why
14:21
Дени против умной колонки😁
0:40
Deni & Mani
Рет қаралды 9 МЛН
ПРОБЛЕМА МЕХАНИЧЕСКИХ КЛАВИАТУР!🤬
0:59
Корнеич
Рет қаралды 3,4 МЛН