1 00:00:00,000 --> 00:00:05,860 So today we're gonna be talking about something that really one of my favorite 2 00:00:05,860 --> 00:00:12,100 subjects which is applying quantum mechanics to quantum computing and I hope 3 00:00:12,100 --> 00:00:17,240 by the end of this talk you guys are going to actually also enjoy this 4 00:00:17,240 --> 00:00:22,500 subject and not be afraid of buzzwords or concepts, abstract concepts that 5 00:00:22,500 --> 00:00:27,360 doesn't make any sense and maybe start to believe that quantum computing is gonna 6 00:00:27,360 --> 00:00:31,640 be reality, is a reality for physics, is not reality for engineers 7 00:00:31,640 --> 00:00:37,960 yet, but this is just an engineer problem, so it might just be a matter of 8 00:00:37,960 --> 00:00:47,680 time. So my name is Marina and I finished my PhD in physics last year. During my PhD 9 00:00:47,680 --> 00:00:53,040 I had a chance of work in several labs including Los Alamos, Brookhaven and NASA. 10 00:00:54,220 --> 00:00:56,360 And after graduating 11 00:00:56,360 --> 00:01:03,620 I started working as a security engineer at Yelp, and a very sweet job we are hiring, 12 00:01:03,800 --> 00:01:10,080 so if you're interested in some sort of opportunity like security engineer, learn more about it, 13 00:01:10,140 --> 00:01:18,160 just come talk to me after the talk. So, the agenda today is really simple in some 14 00:01:18,160 --> 00:01:22,620 sense. In the high level, I'm going to talk a little bit about quantum mechanics, how 15 00:01:22,620 --> 00:01:27,540 this whole thing started, then we're going to go to quantum computing with that concept, 16 00:01:28,480 --> 00:01:35,020 and we're going to end the talk with some concepts in the quantum key exchange, which 17 00:01:35,020 --> 00:01:39,580 is probably the most important thing that I want you guys to take from this talk. And 18 00:01:39,580 --> 00:01:44,340 it might take two, three, four minutes or ten, eleven, a hundred minutes, who knows, 19 00:01:44,520 --> 00:01:52,600 we'll see. Some disclaimers, this is my personal view, doesn't reflect my employer or my 20 00:01:52,620 --> 00:01:57,120 company, of course. This is a physicist's point of view. Quantum computer has several 21 00:01:57,120 --> 00:02:03,460 branches, several point of views, there's several things going on, and this talk is 22 00:02:03,460 --> 00:02:10,440 the physics view on that. I want you to understand the concepts. But there are a lot of things, 23 00:02:10,540 --> 00:02:14,820 if you guys are interested, there are a lot of other things you can learn about. Yesterday, 24 00:02:15,100 --> 00:02:21,080 for example, Jennifer Catherine Fenix gave this really cool talk about the privacy issues 25 00:02:21,520 --> 00:02:22,480 that we're going to face. 26 00:02:22,620 --> 00:02:33,080 I recommend you guys take a look at this. Her work is really good. So I'm going to start 27 00:02:33,080 --> 00:02:39,200 off with a question that's going to blow your mind. What if we are all just a simulation? 28 00:02:40,400 --> 00:02:47,240 So one of my favorite physicists, bad physicists, is Feynman, and he was one of the first persons 29 00:02:47,240 --> 00:02:52,580 who actually started to talk about the idea of everything being just a simulation, and 30 00:02:52,580 --> 00:02:58,940 what would happen if you had a quantum computer, what's the consequence of simulate low level 31 00:02:58,940 --> 00:03:04,380 of reality? That's what quantum computers do. They're simulating the lowest level of 32 00:03:05,040 --> 00:03:12,480 reality that you can have. So, Feynman once said in 1982, he said that to simulate reality 33 00:03:12,480 --> 00:03:18,020 in the lowest level, you will need a quantum computer. But if you think about it, the universe 34 00:03:18,020 --> 00:03:22,560 is actually a 13.8 billion years old quantum computer. It's very, very high, it's very, 35 00:03:24,780 --> 00:03:30,160 So, let's not get ahead ourselves, let's first try to understand a little bit of quantum 36 00:03:30,160 --> 00:03:35,140 mechanics and how it changed the way physicists and scientists in general start to look at 37 00:03:35,140 --> 00:03:35,420 the world. 38 00:03:37,620 --> 00:03:40,940 So back in the 18th century, it was really boring. 39 00:03:42,940 --> 00:03:47,920 There's nothing much going on by the end of that century and one of the famous physicists 40 00:03:47,920 --> 00:03:52,460 at the time, Lord Kelvin, even mentioned that there's nothing else to be discovered in physics. 41 00:03:53,620 --> 00:04:00,800 Everything else is just more measurements, just more precise measurements, we're done. 42 00:04:02,040 --> 00:04:06,580 But he didn't know that there are a lot of things still to happen and this was before 43 00:04:06,580 --> 00:04:07,100 quantum mechanics. 44 00:04:09,580 --> 00:04:14,760 So a lot of weird stuff starts to happen when they start to measure more stuff, right? 45 00:04:14,900 --> 00:04:17,900 And one of them is what do they call it later? 46 00:04:17,900 --> 00:04:20,520 The ultraviolet catastrophe. 47 00:04:22,900 --> 00:04:28,120 So back in the 18th century, they knew that light was a wave. 48 00:04:28,740 --> 00:04:33,840 They could like, they had the experiments, for example, the double slit experiment and 49 00:04:33,840 --> 00:04:42,340 they were pretty sure the light was just a wave, it could just reflect, reflect in the 50 00:04:42,340 --> 00:04:44,980 wall and have all the properties that the wave has. 51 00:04:45,280 --> 00:04:47,420 And they knew that there is a specter. 52 00:04:47,420 --> 00:04:54,460 There would be a specter and light, light would just be this wave and several and several 53 00:04:54,460 --> 00:04:57,900 and all infinite possibilities of, of wavelengths and of frequency. 54 00:04:58,460 --> 00:05:02,920 So they were pretty sure that that's, that's, that would be all and that's, that, that would 55 00:05:02,920 --> 00:05:03,180 be done. 56 00:05:03,620 --> 00:05:05,040 But there's one problem though. 57 00:05:07,780 --> 00:05:14,720 There is a, so if you, if you go to, back to classic thermo, thermodynamic, all the 58 00:05:14,720 --> 00:05:17,400 intense, the intensity of, well, what, what, what they call thermodynamics, they call 59 00:05:17,400 --> 00:05:22,600 it, they would call black body, but black body is just something that emits more than, 60 00:05:22,620 --> 00:05:25,260 for example, the sun is a black body. 61 00:05:25,680 --> 00:05:33,680 So the intensity of a black body, if it was in the classical physics was, was, was thought 62 00:05:33,680 --> 00:05:39,380 to be just, just proportional to the wavelength or the frequency at some temperature. 63 00:05:41,820 --> 00:05:47,340 But if this is true, if it's a black body is emitting all infinite possibilities of, 64 00:05:47,400 --> 00:05:47,660 of wavelength. 65 00:05:49,400 --> 00:05:55,560 What do you think would happen if you, for example, if you're like just have a bit, some 66 00:05:55,560 --> 00:05:59,640 fire on the beach, like you just touch some fire, some fire bit. 67 00:06:00,020 --> 00:06:06,000 If you have, if you have this, if you have this, this, this intensity, this black body 68 00:06:06,000 --> 00:06:12,140 intensity radiation emitting in all the frequency, at some point you'd have so much that you'd 69 00:06:12,140 --> 00:06:15,760 so much, so much intensity in your eyes that you'd just be blind. 70 00:06:15,980 --> 00:06:16,920 You'd have all. 71 00:06:16,920 --> 00:06:17,660 All the infinite possibilities. 72 00:06:18,180 --> 00:06:25,600 And then it was really weird, but mostly they start to see that the idea, the classic idea 73 00:06:25,600 --> 00:06:28,000 that they have in thermodynamics didn't match with the experiment. 74 00:06:28,440 --> 00:06:34,440 So basically in the classic idea that it would have all this intense, this, uh, continual 75 00:06:34,440 --> 00:06:41,700 intensity of, uh, of wavelengths of frequency, just, uh, increasing of, of temperature would 76 00:06:41,700 --> 00:06:43,860 have something like that line over there. 77 00:06:45,020 --> 00:06:46,900 If you decrease the, the wavelength. 78 00:06:46,900 --> 00:06:51,060 If you increase the wavelength or, or increase, increasing the, the frequency, you just have 79 00:06:51,060 --> 00:06:55,060 the, your intensity going to infinite and that doesn't, that doesn't happen. 80 00:06:55,360 --> 00:06:56,140 You don't see this reality. 81 00:06:56,640 --> 00:07:02,680 Actually what you see is some sort of this, of this weird curves that variate to each 82 00:07:02,680 --> 00:07:03,200 temperature. 83 00:07:03,800 --> 00:07:07,620 And the scientists didn't know why this was happening that time. 84 00:07:12,420 --> 00:07:15,200 So Max Planck, really smart guy. 85 00:07:15,340 --> 00:07:16,880 In the very end of, uh, the, uh. 86 00:07:16,900 --> 00:07:17,600 18th century. 87 00:07:18,420 --> 00:07:24,220 Ask, ask his, his, uh, his friends, uh, um, point that just to the scientific, uh, society. 88 00:07:24,900 --> 00:07:29,680 What if the energy was actually real, uh, released as bundles instead? 89 00:07:29,940 --> 00:07:32,820 I don't know why, but what if it's just not continuous? 90 00:07:33,000 --> 00:07:40,020 What if it's just somehow quantum little pieces bundled that they, he called actually quantum. 91 00:07:42,440 --> 00:07:46,040 And he came up with this law that it was a completely empirical law. 92 00:07:46,040 --> 00:07:51,340 He didn't know why, but he was able to actually predict that curve that we saw in the last, 93 00:07:51,420 --> 00:07:52,880 in the previous, uh, plot. 94 00:07:53,900 --> 00:07:57,400 And he came up with this, uh, constant called Planck constant. 95 00:07:57,660 --> 00:08:04,080 Instead, the energy would be just proportional to this very little, very small values, uh, 96 00:08:04,880 --> 00:08:09,920 that empirically he, he, he found as being that value. 97 00:08:10,160 --> 00:08:10,420 Yeah. 98 00:08:12,840 --> 00:08:14,760 So, but he didn't know why, right? 99 00:08:14,760 --> 00:08:22,440 So five years after that, Einstein came, come with that, an idea that actually was the biggest 100 00:08:22,440 --> 00:08:23,680 revolution of quantum mechanics. 101 00:08:23,940 --> 00:08:29,100 And most of the people think that Einstein actually got, uh, uh, his Nobel prize because 102 00:08:29,100 --> 00:08:33,640 of, um, relativity, but it was actually because of the photo, photoelectric effect. 103 00:08:33,880 --> 00:08:35,480 And what is this photoelectric effect? 104 00:08:35,700 --> 00:08:42,780 So at the same time that Planck was having that weird, uh, idea of maybe the light was 105 00:08:42,780 --> 00:08:43,740 in bundles. 106 00:08:43,740 --> 00:08:44,580 And we don't know. 107 00:08:44,760 --> 00:08:45,040 We don't know why. 108 00:08:45,520 --> 00:08:49,900 There's this experiment that was kind of, was also really weird. 109 00:08:50,500 --> 00:08:57,440 Basically they were, they are, um, pointing light to, uh, some metal plate, for example, 110 00:08:57,440 --> 00:08:57,820 potassium. 111 00:08:58,060 --> 00:09:05,920 And if you, if you pointed just like, uh, low frequency, for example, just red to the display, 112 00:09:06,140 --> 00:09:08,040 you don't have any electrons come out. 113 00:09:08,180 --> 00:09:12,820 But if you increase your frequency, you'd, you'd see some electrons come out. 114 00:09:12,900 --> 00:09:14,200 It doesn't make any sense, right? 115 00:09:14,760 --> 00:09:18,980 So what did they expect in that time is just, if you have, like, very low frequency, it'd 116 00:09:18,980 --> 00:09:25,560 be just some few, few electrons coming out with, like, very, uh, small energy. 117 00:09:26,180 --> 00:09:31,420 But what happened is just they didn't see anything before, uh, before a threshold. 118 00:09:32,440 --> 00:09:33,960 And they didn't know why. 119 00:09:34,140 --> 00:09:43,400 So Einstein actually had this crazy idea that maybe the energy, that maybe light actually 120 00:09:43,400 --> 00:09:44,320 wasn't wave. 121 00:09:44,440 --> 00:09:44,740 Uh, wave. 122 00:09:44,760 --> 00:09:47,200 Maybe it was, maybe it was also a particle. 123 00:09:47,440 --> 00:09:48,840 And he called this photon. 124 00:09:49,660 --> 00:09:55,060 And he used, uh, Planck constant to say that this photon would have, uh, energy proportional 125 00:09:55,060 --> 00:09:57,540 to the frequency and the Planck constant. 126 00:09:57,740 --> 00:10:00,460 So it was a really simple question, uh, equation. 127 00:10:00,680 --> 00:10:03,100 And he got the Nobel for that. 128 00:10:05,160 --> 00:10:13,400 20, so it took 20 years after that to then realize that maybe everything is also, is 129 00:10:13,400 --> 00:10:14,520 a particle and a wave. 130 00:10:14,760 --> 00:10:22,360 So the Brulee, the Brulee in 1924, and you saw, this was in 1905, came up with this idea 131 00:10:22,360 --> 00:10:28,240 that maybe matter, matter also could be, uh, see, could be seen as a, um, a wavelength. 132 00:10:28,640 --> 00:10:33,720 And again, we have the Planck constant and you see this wavelength is actually proportional 133 00:10:33,720 --> 00:10:36,220 to, inversely proportional to, to the momentum. 134 00:10:38,840 --> 00:10:43,360 So we are in the world that everything is actually a wave and a particle. 135 00:10:43,560 --> 00:10:44,740 And the wave is a system. 136 00:10:44,760 --> 00:10:50,720 And so, uh, uh, studies, the way physicists can deal with this weird, uh, property of 137 00:10:50,720 --> 00:10:57,920 matter and, and, and, and energy is, is, is postulating that, um, we can, we can describe 138 00:10:57,920 --> 00:10:59,160 matter as a wave function. 139 00:11:00,020 --> 00:11:04,900 So basically a wave function is a mathematical probability that represents the quanti states 140 00:11:04,900 --> 00:11:06,460 of, uh, each particle. 141 00:11:06,760 --> 00:11:11,780 So this is one way of, of representing, um, for example, in this case, this is a wave 142 00:11:11,780 --> 00:11:14,140 function of one particle in the box. 143 00:11:14,760 --> 00:11:18,260 This is one way of representing this wave function. 144 00:11:18,680 --> 00:11:19,400 There are several ways. 145 00:11:19,420 --> 00:11:21,480 You can use several different bases. 146 00:11:22,700 --> 00:11:25,440 We show a linear combination of two states. 147 00:11:26,440 --> 00:11:28,440 And if you look close to this equation, 148 00:11:28,640 --> 00:11:31,120 you see that there's A plus and A minus. 149 00:11:31,160 --> 00:11:31,900 This is the amplitude. 150 00:11:32,300 --> 00:11:35,240 So the wave function just like this 151 00:11:35,240 --> 00:11:37,320 doesn't mean anything physically. 152 00:11:37,780 --> 00:11:39,980 So to go to the physical world, 153 00:11:40,060 --> 00:11:44,240 to go to some point that you actually can see something, 154 00:11:44,240 --> 00:11:48,920 you need to go to a point that you can probe something. 155 00:11:49,840 --> 00:11:57,780 You need to go to... 156 00:11:57,780 --> 00:11:59,340 Okay, sorry. 157 00:11:59,640 --> 00:12:03,860 So this is just a mathematical way of expressing the wave function. 158 00:12:04,280 --> 00:12:05,440 You want to probe this. 159 00:12:05,580 --> 00:12:06,400 And the way you probe this, 160 00:12:06,500 --> 00:12:08,460 you just square and take the models of that. 161 00:12:08,740 --> 00:12:09,460 And when you square, 162 00:12:09,680 --> 00:12:12,220 you see that we have these little functions, 163 00:12:12,380 --> 00:12:13,380 the exponential functions. 164 00:12:13,380 --> 00:12:15,520 These are actually sines and cosines, right? 165 00:12:15,620 --> 00:12:17,620 When you square this, 166 00:12:17,720 --> 00:12:19,700 you only get the amplitude from that. 167 00:12:19,860 --> 00:12:21,000 And the amplitude says, 168 00:12:21,200 --> 00:12:24,600 what's the probability of having this particle 169 00:12:24,600 --> 00:12:27,680 going either left or going either right? 170 00:12:28,540 --> 00:12:30,980 The little amplitude over there, 171 00:12:31,100 --> 00:12:31,800 A plus and minus, 172 00:12:32,020 --> 00:12:33,620 that's what we are seeing. 173 00:12:33,800 --> 00:12:36,220 That's what the physics show to the scientists. 174 00:12:40,520 --> 00:12:42,520 The other way you can actually... 175 00:12:43,380 --> 00:12:45,220 You can also express your wave functions, 176 00:12:45,400 --> 00:12:47,440 for example, with this notation bracket. 177 00:12:47,840 --> 00:12:49,880 And that's important because that's what you're going to use 178 00:12:49,880 --> 00:12:50,520 in quantum computing. 179 00:12:51,540 --> 00:12:52,720 So in this case, 180 00:12:52,780 --> 00:12:56,280 we represent the state of a photon or some particle 181 00:12:56,280 --> 00:12:58,800 as either in the base, 182 00:12:59,340 --> 00:13:03,200 either in up or down. 183 00:13:03,460 --> 00:13:04,840 And this is our orthogonal basis. 184 00:13:07,780 --> 00:13:08,740 And by the way, 185 00:13:08,760 --> 00:13:10,180 if you remember showing the equation, 186 00:13:10,420 --> 00:13:13,080 and maybe you are familiar with the... 187 00:13:14,080 --> 00:13:14,900 showing the cat, 188 00:13:15,140 --> 00:13:17,340 you know that that's what they meant. 189 00:13:17,560 --> 00:13:19,340 Like, the wave function is just a solution 190 00:13:19,340 --> 00:13:20,080 for showing the equation. 191 00:13:21,080 --> 00:13:24,820 And when you mention that the cat is dead or alive in the box, 192 00:13:25,000 --> 00:13:26,780 all you're saying is just a superposition 193 00:13:26,780 --> 00:13:28,980 of a state of alive and dead. 194 00:13:30,220 --> 00:13:31,940 And the amplitudes, in this case, 195 00:13:32,020 --> 00:13:35,340 if you look, there's a 1 over square root of 2. 196 00:13:35,420 --> 00:13:36,340 This would be the amplitude. 197 00:13:36,440 --> 00:13:38,700 If you square this, as I said before, 198 00:13:38,960 --> 00:13:40,580 when you square the amplitude, 199 00:13:40,640 --> 00:13:42,860 you get the probability of your measurement. 200 00:13:43,380 --> 00:13:45,140 When you square this, you're going to have one half. 201 00:13:45,280 --> 00:13:47,700 So it's half dead and half alive. 202 00:13:47,960 --> 00:13:48,740 That's the idea. 203 00:13:50,840 --> 00:13:53,260 So, again, what happens if you open the box? 204 00:13:53,460 --> 00:13:58,300 If you want to see if the cat is dead or is alive? 205 00:13:59,060 --> 00:14:01,460 Before you open the box, 206 00:14:01,960 --> 00:14:03,220 you can't be dead or alive. 207 00:14:03,320 --> 00:14:04,940 You can have a spin up or a spin down. 208 00:14:05,160 --> 00:14:07,300 You can have a state 0 or a state 1. 209 00:14:08,680 --> 00:14:10,300 But once you open the box, 210 00:14:10,740 --> 00:14:12,200 once you look, you probe, 211 00:14:12,440 --> 00:14:13,200 you put your probe, 212 00:14:13,200 --> 00:14:14,780 and you want to see what's happening. 213 00:14:16,380 --> 00:14:20,460 The probability collapses to just one state. 214 00:14:20,720 --> 00:14:23,300 So you're either going to have up or down. 215 00:14:24,900 --> 00:14:28,060 Or you're either going to have 0 or 1, 216 00:14:28,180 --> 00:14:29,420 or dead or alive. 217 00:14:30,940 --> 00:14:33,180 So, all right, let's try this experiment. 218 00:14:33,360 --> 00:14:36,540 Let's try to see if you can actually grasp this idea better. 219 00:14:37,900 --> 00:14:40,420 Suppose you guys have three Polaroid filters. 220 00:14:40,780 --> 00:14:43,120 You can actually, there's some sunglasses that are Polaroid. 221 00:14:43,940 --> 00:14:47,640 Polaroid, so you can just grab three sunglasses 222 00:14:47,640 --> 00:14:48,880 that have this property 223 00:14:50,800 --> 00:14:54,880 and just turn them around to have the polarization. 224 00:14:55,540 --> 00:14:57,560 Horizontal, vertical, and 45 degrees. 225 00:15:00,080 --> 00:15:02,480 And then you shine the light on one of them. 226 00:15:02,560 --> 00:15:02,980 What happens? 227 00:15:03,080 --> 00:15:06,780 If you shine the light in the horizontal Polaroid, 228 00:15:06,920 --> 00:15:09,200 you're actually measuring. 229 00:15:09,420 --> 00:15:12,120 That's what you call probing. 230 00:15:12,200 --> 00:15:12,860 You actually... 231 00:15:16,180 --> 00:15:22,580 The light is everywhere before you actually probe this. 232 00:15:22,740 --> 00:15:26,820 The light is in every possible polarization. 233 00:15:27,300 --> 00:15:29,940 But once you, inside this in the Polaroid, 234 00:15:30,060 --> 00:15:31,020 once you look through this, 235 00:15:31,440 --> 00:15:33,300 you're going to, for example, 236 00:15:33,300 --> 00:15:34,440 if you have the horizontal filter, 237 00:15:34,760 --> 00:15:36,900 all your light that comes from this filter 238 00:15:36,900 --> 00:15:38,360 is going to be polarized in the horizontal. 239 00:15:42,220 --> 00:15:44,100 Now you place the second one, 240 00:15:44,200 --> 00:15:45,520 the one that is vertical polarized, 241 00:15:45,720 --> 00:15:46,700 in front of that one. 242 00:15:46,780 --> 00:15:47,200 What happens? 243 00:15:49,360 --> 00:15:51,360 All the light comes from the first Polaroid, 244 00:15:51,360 --> 00:15:52,500 the first Polaroid, 245 00:15:54,340 --> 00:15:55,220 horizontal polarization. 246 00:15:55,780 --> 00:15:56,800 But after, so, 247 00:15:56,900 --> 00:15:57,760 if you post, 248 00:15:57,820 --> 00:16:00,980 after that, if you post a vertical polarized, 249 00:16:01,120 --> 00:16:04,700 you don't get any light come out from that. 250 00:16:05,460 --> 00:16:06,860 Because all your light was horizontal. 251 00:16:09,080 --> 00:16:11,520 Okay, no big surprise so far, right? 252 00:16:11,660 --> 00:16:13,680 It's just, you polarized first in the horizontal 253 00:16:13,680 --> 00:16:14,560 and then the vertical. 254 00:16:14,780 --> 00:16:17,920 But the magic happens when you actually place 255 00:16:17,920 --> 00:16:19,460 the third Polaroid, 256 00:16:19,680 --> 00:16:22,420 the 45 degrees Polaroid in between them. 257 00:16:23,120 --> 00:16:24,160 If you do this, 258 00:16:24,340 --> 00:16:28,040 you actually start to see light coming from the third Polaroid. 259 00:16:28,440 --> 00:16:30,680 And that's the crazy thing about quantum mechanics. 260 00:16:31,400 --> 00:16:33,620 Do you guys realize this? 261 00:16:33,680 --> 00:16:35,820 Do you guys realize how weird this is? 262 00:16:36,220 --> 00:16:36,900 It had no, 263 00:16:36,920 --> 00:16:38,220 it had no light, 264 00:16:38,360 --> 00:16:38,900 no light coming from that. 265 00:16:39,120 --> 00:16:41,700 But it just placed the 45 polarized, 266 00:16:41,960 --> 00:16:43,420 which is actually another base. 267 00:16:43,560 --> 00:16:44,180 It's a base, 268 00:16:44,220 --> 00:16:47,080 a base in 45 degrees. 269 00:16:47,640 --> 00:16:49,240 You place this in between, 270 00:16:49,600 --> 00:16:51,120 and you have light coming from that. 271 00:16:51,440 --> 00:16:53,340 So basically what happens is the following. 272 00:16:54,420 --> 00:16:56,680 These are two state bases, right? 273 00:16:56,840 --> 00:16:57,060 You have, 274 00:16:57,220 --> 00:17:00,140 the first base was horizontal and vertical. 275 00:17:00,400 --> 00:17:01,500 This is two states. 276 00:17:01,600 --> 00:17:02,280 They are orthogonal. 277 00:17:03,920 --> 00:17:07,320 But the 45 degrees is actually a linear combination 278 00:17:07,320 --> 00:17:08,220 of these two bases. 279 00:17:08,360 --> 00:17:10,220 So we actually have the two states. 280 00:17:10,320 --> 00:17:12,720 We have horizontal and vertical state 281 00:17:13,080 --> 00:17:15,120 inside this 45 Polaroid. 282 00:17:15,360 --> 00:17:17,640 So when you place your 45 there, 283 00:17:17,860 --> 00:17:18,580 what happened, 284 00:17:18,720 --> 00:17:19,240 you measure, 285 00:17:19,540 --> 00:17:20,580 you actually take one, 286 00:17:20,700 --> 00:17:22,060 you choose one state. 287 00:17:22,240 --> 00:17:23,220 You're choosing the state, 288 00:17:23,340 --> 00:17:24,480 the horizontal state. 289 00:17:25,160 --> 00:17:26,080 But you actually, 290 00:17:26,180 --> 00:17:27,720 you are a combination, 291 00:17:28,040 --> 00:17:28,700 a linear combination. 292 00:17:30,960 --> 00:17:31,360 We are, 293 00:17:31,480 --> 00:17:34,020 you are a linear combination of vertical and horizontal. 294 00:17:36,980 --> 00:17:38,160 So that's what was, 295 00:17:38,160 --> 00:17:40,260 your wave function in the beginning, right? 296 00:17:40,460 --> 00:17:40,660 It was, 297 00:17:40,780 --> 00:17:41,900 you choose this base, 298 00:17:42,060 --> 00:17:43,700 horizontal and the vertical. 299 00:17:45,300 --> 00:17:47,900 But if you choose to change the base, 300 00:17:48,040 --> 00:17:48,620 which is just, 301 00:17:48,680 --> 00:17:51,140 again, a linear combination of the other base. 302 00:17:51,260 --> 00:17:51,800 For example, 303 00:17:51,800 --> 00:17:56,480 you can express vertical as just 45 degrees, 304 00:17:56,700 --> 00:18:00,060 a combination of 45 degrees in each side. 305 00:18:00,320 --> 00:18:01,080 And these two, 306 00:18:01,600 --> 00:18:02,880 these two bases over here, 307 00:18:02,980 --> 00:18:04,460 they are also orthogonal between them. 308 00:18:04,600 --> 00:18:05,840 You just change the base. 309 00:18:06,200 --> 00:18:07,460 So once you place 310 00:18:08,160 --> 00:18:09,480 one polarizer in the between, 311 00:18:09,660 --> 00:18:11,100 you actually change the base 312 00:18:11,400 --> 00:18:12,360 and you allow, 313 00:18:12,940 --> 00:18:13,460 you allow, 314 00:18:13,540 --> 00:18:14,280 you have one, 315 00:18:14,280 --> 00:18:15,420 one half of, 316 00:18:15,480 --> 00:18:16,060 of, 317 00:18:16,200 --> 00:18:17,780 of chance of have 318 00:18:18,760 --> 00:18:20,880 a vertical polarization. 319 00:18:21,320 --> 00:18:21,900 And that, 320 00:18:21,900 --> 00:18:24,280 that one half goes to the third polarizer 321 00:18:24,280 --> 00:18:25,340 and you see light. 322 00:18:26,160 --> 00:18:26,760 That's, 323 00:18:26,760 --> 00:18:28,460 that's what quantum mechanics is, 324 00:18:28,580 --> 00:18:31,660 is you can code a lot of information 325 00:18:32,220 --> 00:18:32,900 in something, 326 00:18:32,980 --> 00:18:34,020 in some, 327 00:18:34,100 --> 00:18:35,020 in some wave function. 328 00:18:35,240 --> 00:18:37,920 And until you don't look at it, 329 00:18:37,920 --> 00:18:39,660 you have all the information there. 330 00:18:43,540 --> 00:18:48,260 So now we are ready to actually talk about qubits, right? 331 00:18:48,640 --> 00:18:51,440 So qubits is this idea of, 332 00:18:51,440 --> 00:18:57,680 of represent a two-dimensional state of a particle, 333 00:18:57,740 --> 00:18:58,360 for example, a photon. 334 00:18:58,620 --> 00:19:00,780 But as I will show later, 335 00:19:00,880 --> 00:19:02,760 it can be actually several other things, 336 00:19:02,800 --> 00:19:03,480 not only photons. 337 00:19:03,980 --> 00:19:06,040 All we need is just a two-dimensional state. 338 00:19:07,660 --> 00:19:07,900 All we need is just a two-dimensional state. 339 00:19:07,900 --> 00:19:08,360 All we need is just a two-dimensional state. 340 00:19:08,360 --> 00:19:09,720 And this complex vector space 341 00:19:09,720 --> 00:19:10,760 is actually the Hilbert space. 342 00:19:13,240 --> 00:19:14,440 So you want to, 343 00:19:14,480 --> 00:19:15,240 a qubit, 344 00:19:15,340 --> 00:19:18,460 you can just choose another base for your qubit. 345 00:19:18,680 --> 00:19:21,420 It choose a base that you're gonna call zero and one. 346 00:19:22,260 --> 00:19:22,860 And again, 347 00:19:23,580 --> 00:19:24,120 summing up, 348 00:19:24,220 --> 00:19:25,220 summing these amplitudes, 349 00:19:25,840 --> 00:19:27,660 the amplitudes that the square of, 350 00:19:28,300 --> 00:19:30,720 square of each of a fluid should be one, 351 00:19:30,820 --> 00:19:32,020 because this is the probability, right? 352 00:19:32,140 --> 00:19:33,020 So remember I was talking, 353 00:19:33,180 --> 00:19:34,580 I was saying before there's one, 354 00:19:34,580 --> 00:19:34,940 one, 355 00:19:34,940 --> 00:19:37,080 one over square root two, 356 00:19:37,200 --> 00:19:37,880 one over square root two, 357 00:19:37,900 --> 00:19:38,280 one over square root two, 358 00:19:38,300 --> 00:19:38,420 one over square root two, 359 00:19:38,420 --> 00:19:38,780 this is one half. 360 00:19:39,000 --> 00:19:40,320 That's the chance that you have, 361 00:19:40,900 --> 00:19:42,680 chance of having that measurement 362 00:19:42,680 --> 00:19:45,060 of being dead or being alive. 363 00:19:45,980 --> 00:19:47,120 And this is some, 364 00:19:47,600 --> 00:19:48,720 as some one, 365 00:19:48,880 --> 00:19:50,460 because we talk about probability here. 366 00:19:51,020 --> 00:19:52,800 And another way you can see a qubit 367 00:19:52,800 --> 00:19:54,000 is just look to the block, 368 00:19:54,120 --> 00:19:54,600 sphere. 369 00:19:56,040 --> 00:19:57,440 Think about this. 370 00:19:57,640 --> 00:20:00,920 Think that your qubit is just a point in that sphere, 371 00:20:01,120 --> 00:20:01,600 sphere. 372 00:20:01,860 --> 00:20:04,580 And you have all the possibilities, 373 00:20:05,160 --> 00:20:07,760 all, any possibility of being in any, 374 00:20:07,800 --> 00:20:07,880 any point in the sphere, 375 00:20:07,880 --> 00:20:13,680 point of this sphere. So you actually are encoding all the two-dimensional space in 376 00:20:13,680 --> 00:20:19,600 your qubit. And you only know what you're measuring if you're 0, 1, the moment that 377 00:20:19,600 --> 00:20:24,980 you actually probe that. Until you probe, until you look at it, you have all the possibilities. 378 00:20:25,160 --> 00:20:33,060 You have all that information encoded in your wave function. So that was for one qubit, 379 00:20:33,060 --> 00:20:38,300 right? What if you have two qubits? This is going to be a, you're going to have a tensile 380 00:20:39,720 --> 00:20:46,740 multiplication and you actually end up with four possibilities of states. Not only two 381 00:20:46,740 --> 00:20:55,540 anymore. What if you have three qubits? You add one more state and you're going to have 382 00:20:55,540 --> 00:21:00,800 all this information. Each of them encode one possibility, one possibility of information. 383 00:21:00,860 --> 00:21:02,400 One possibility of calculation. 384 00:21:02,720 --> 00:21:03,040 Okay? 385 00:21:03,060 --> 00:21:11,500 And now you scale this. Scale for four, five, six qubits. So if you have all this information 386 00:21:11,500 --> 00:21:19,580 is going to be just encoded in one wave function. So basically what I'm trying to tell you is 387 00:21:19,580 --> 00:21:25,000 just the quantum mechanics give you this spooky particles that can encode and do multiple 388 00:21:25,000 --> 00:21:30,240 things at once, just like a parallel machine, a massive parallel machine. 389 00:21:31,800 --> 00:21:38,500 So now we can go to Shor's algorithm. That's probably one of the breakthroughs from quantum 390 00:21:38,500 --> 00:21:46,680 computing. So we all know that public key crypto relies currently on just in the difficult 391 00:21:46,680 --> 00:21:56,680 of factoring like large numbers, right? So we have RSA, elliptic curves, and this is 392 00:21:56,680 --> 00:21:59,040 just because mathematically it's hard to break. 393 00:21:59,040 --> 00:22:07,780 It's really hard to factor these numbers. But in 1994, Peter Shor showed that you can 394 00:22:07,780 --> 00:22:12,120 use a quantum computer to find these prime numbers in just a few milliseconds. 395 00:22:15,200 --> 00:22:20,660 So if you think about it, I'm going to explain a little bit how Peter Shor did this. But 396 00:22:20,660 --> 00:22:29,020 like let's just stop a moment and think about it. In the moment that you have a quantum computer, all the Internet is broken. Everything is broken. 397 00:22:29,040 --> 00:22:35,440 is gone. Everything, everything is broken. And you remember, we don't have for secrecy 398 00:22:35,440 --> 00:22:41,540 with those protocols. So everything 10 years ago, everything is going to be read. Everything 399 00:22:41,540 --> 00:22:51,260 is going to be available. So show algorithms. Basically, one thing I forgot to mention from 400 00:22:51,900 --> 00:22:57,420 when you were a student in quantum mechanics and looking to the qubits. So I show, I show 401 00:22:57,420 --> 00:23:02,720 you guys that you can just couple a lot of qubits together. Every time you add more qubits, 402 00:23:02,780 --> 00:23:09,120 you're actually adding two to the number of qubits. Possibilities of calculation at the 403 00:23:09,120 --> 00:23:14,240 same time. So, for example, for a 100-bit number, all we need is just have 100 qubits 404 00:23:14,240 --> 00:23:20,400 together. And you don't need this for, like, a long time. You only need this for a few 405 00:23:20,400 --> 00:23:26,880 seconds and your calculation is done. And you have your results. This is, again, because 406 00:23:26,880 --> 00:23:27,320 the way... 407 00:23:31,880 --> 00:23:36,720 So you might think, okay, this is, like, super weird, not going to happen. It's probably 408 00:23:36,720 --> 00:23:41,240 super hard. But then you look... You start looking to the papers and look to what the 409 00:23:41,240 --> 00:23:46,440 community is doing. And, for example, this is, like, in November. And they were able to 410 00:23:49,040 --> 00:23:57,400 factorize 5600... 1,153 with only four qubits, right? This is, like, a lot of qubits. And 411 00:24:09,340 --> 00:24:16,760 there's no way for you to edit these off. So you use, like, this to... For instance, 412 00:24:24,260 --> 00:24:26,860 you actually have your own model. And then you add some more qubits and you can really 413 00:24:26,860 --> 00:24:26,920 move the work around in a very, very delicate way. And that's what we were talking about 414 00:24:26,920 --> 00:24:27,060 So, yeah, so that was the one thing that happens when you add like a thousand qubits 415 00:24:27,060 --> 00:24:27,300 the qubits. 416 00:24:27,400 --> 00:24:31,880 to look at your data and see where the important data is. 417 00:24:32,160 --> 00:24:36,980 So, short adapted this and call it quantum Fourier transform. 418 00:24:37,360 --> 00:24:40,240 And basically what happens is this algorithm just runs 419 00:24:41,600 --> 00:24:45,000 in the same time every part of number. 420 00:24:46,580 --> 00:24:52,440 And the waving functions are just going to either sum together 421 00:24:52,440 --> 00:24:54,860 or just cancel each other. 422 00:24:56,760 --> 00:25:00,560 And in the end of this calculation, the right numbers, 423 00:25:00,700 --> 00:25:03,360 the prime numbers that you're looking for are going to be peaks 424 00:25:03,360 --> 00:25:09,080 because they're going to be just waves that add with each other. 425 00:25:09,380 --> 00:25:12,860 And these peaks are actually the frequency. 426 00:25:13,100 --> 00:25:23,520 And then you have the period of your prime number. 427 00:25:23,640 --> 00:25:24,760 And from that, you can. 428 00:25:24,860 --> 00:25:28,760 You can just factorize this very quickly. 429 00:25:31,780 --> 00:25:32,680 So, all right. 430 00:25:32,740 --> 00:25:33,940 So, this is really scary. 431 00:25:36,600 --> 00:25:38,100 But there's more. 432 00:25:38,400 --> 00:25:39,960 There are actually good news. 433 00:25:41,700 --> 00:25:46,220 We actually can use quantum mechanics to create and distribute key. 434 00:25:46,480 --> 00:25:49,240 And that's what I want you guys to. 435 00:25:49,320 --> 00:25:52,020 That's actually the most important thing about this talk, I think. 436 00:25:52,100 --> 00:25:54,500 And I want you guys to understand it because it's really beautiful. 437 00:25:56,520 --> 00:26:00,740 So, what Alice and Bob are going to do, they're going to distribute qubits 438 00:26:00,740 --> 00:26:04,840 through a quantum channel to establish this key, 439 00:26:05,360 --> 00:26:08,280 as I'm going to show in the next slides. 440 00:26:08,640 --> 00:26:12,440 And then they can use this key to just communicate in a classical channel. 441 00:26:17,500 --> 00:26:22,480 So, the way it works is just quantum computer security is based in one 442 00:26:22,480 --> 00:26:24,500 of the most famous, most interesting. 443 00:26:25,520 --> 00:26:26,460 And then you can just say for example, you have the quantum mechanics. 444 00:26:26,740 --> 00:26:26,920 So, the quantum mechanics is essentially the quantum in quantum mechanics, 445 00:26:26,920 --> 00:26:28,680 which is the Heisenberg uncertainty principle. 446 00:26:29,700 --> 00:26:32,480 This principle is called in several ways. 447 00:26:32,720 --> 00:26:36,600 You can say there's two of them. 448 00:26:37,240 --> 00:26:42,700 And what do they mean is you have a little uncertainty in your moment, 449 00:26:42,920 --> 00:26:44,880 and a little uncertainty in your space. 450 00:26:45,140 --> 00:26:49,340 And if you try to really close your space, you lose your moment. 451 00:26:49,540 --> 00:26:50,000 You lose. 452 00:26:50,100 --> 00:26:50,540 You don't know. 453 00:26:50,620 --> 00:26:52,020 What's the moment of your particle. 454 00:26:52,220 --> 00:26:53,760 Or velocity of your particle. 455 00:26:54,860 --> 00:26:56,940 And for energy and time, the same thing. 456 00:26:57,140 --> 00:27:00,600 If you want to measure the energy of your particle, 457 00:27:01,040 --> 00:27:04,380 you don't know what time is happening anymore. 458 00:27:04,660 --> 00:27:07,780 And this is all bound on Planck constant again. 459 00:27:08,460 --> 00:27:10,380 It's a little bit more complicated than that, 460 00:27:10,380 --> 00:27:12,960 but that's like the high-life description of that, 461 00:27:13,100 --> 00:27:15,200 of the Heisenberg principle. 462 00:27:16,400 --> 00:27:18,900 But for quantum computing and quantum crypto, 463 00:27:19,680 --> 00:27:21,040 what do you want to... 464 00:27:21,040 --> 00:27:26,240 It's the idea that you cannot make a perfect copy of a quantum state 465 00:27:26,240 --> 00:27:27,180 without disturbing it, 466 00:27:27,820 --> 00:27:30,020 without introducing errors in your communication. 467 00:27:30,700 --> 00:27:32,040 And that's what you're going to use. 468 00:27:34,160 --> 00:27:40,900 So quantum crypto is something that's secured by not math, but physics. 469 00:27:41,560 --> 00:27:47,000 Alice and Bob now can exchange their quantum-encoded key 470 00:27:47,720 --> 00:27:49,420 in a secure channel. 471 00:27:51,040 --> 00:27:52,980 For example, in the photons and fiber. 472 00:27:53,380 --> 00:27:54,660 But let's see how this works. 473 00:27:55,980 --> 00:27:59,760 But first, because of the Heisenberg principle, 474 00:28:00,040 --> 00:28:04,700 if Eve tries to read the state of the photons, 475 00:28:05,280 --> 00:28:06,520 the probability collapses. 476 00:28:06,720 --> 00:28:08,020 Remember I told you when you probe, 477 00:28:08,220 --> 00:28:11,540 when you look at the state of your Raven function, 478 00:28:11,720 --> 00:28:13,860 you collapse that probability to one state. 479 00:28:14,240 --> 00:28:19,460 So if Eve tries to read whatever communication Alice is trying to send to Bob, 480 00:28:20,540 --> 00:28:21,020 if... 481 00:28:21,040 --> 00:28:23,200 Eve is going to collapse that wave function to one value, 482 00:28:23,960 --> 00:28:27,180 and Alice and Bob will be able to detect that that has happened. 483 00:28:31,940 --> 00:28:36,280 So the first and most simple protocol for quantum key distribution 484 00:28:36,280 --> 00:28:37,780 is called BB84. 485 00:28:39,200 --> 00:28:41,760 And it's not that complicated. 486 00:28:42,060 --> 00:28:43,120 So basically what happened, 487 00:28:43,640 --> 00:28:45,840 Alice prepares a sequence of photons. 488 00:28:46,140 --> 00:28:48,200 And this is, again, this is an engineer problem. 489 00:28:48,760 --> 00:28:50,460 And it's not that hard at this point. 490 00:28:51,040 --> 00:28:52,960 People are actually able to do this. 491 00:28:53,200 --> 00:28:55,560 And, again, you need to... 492 00:28:55,560 --> 00:28:57,160 The only thing you need to make sure is just 493 00:28:57,160 --> 00:28:59,560 that you have only one photon each time. 494 00:28:59,700 --> 00:29:02,940 Because if you have two of them when you're doing this, 495 00:29:04,100 --> 00:29:07,260 one photon each time with a sequence of time, 496 00:29:07,400 --> 00:29:09,340 if you have two at the same time, 497 00:29:09,440 --> 00:29:11,180 you can actually encode the same information. 498 00:29:11,360 --> 00:29:15,000 There are some properties in quantum mechanics 499 00:29:15,000 --> 00:29:18,640 that encode the same information as two or three or more photons. 500 00:29:18,980 --> 00:29:20,840 So all you need is just prepare... 501 00:29:21,040 --> 00:29:22,760 A sequence of one photon each time 502 00:29:22,760 --> 00:29:25,960 and polarize them with... 503 00:29:26,440 --> 00:29:30,540 So Alice can polarize this with any base that she wants. 504 00:29:30,620 --> 00:29:31,920 Remember we talked about two bases. 505 00:29:32,060 --> 00:29:34,520 One that's horizontal, another one that's vertical. 506 00:29:35,000 --> 00:29:36,640 One that's horizontal and vertical, 507 00:29:36,760 --> 00:29:38,980 and another one that was 45 degrees this side, 508 00:29:39,080 --> 00:29:40,480 45 degrees that side. 509 00:29:40,740 --> 00:29:42,400 These are two different bases, right? 510 00:29:42,500 --> 00:29:44,340 They are orthogonal between them. 511 00:29:44,580 --> 00:29:48,120 So Alice just used any of these four... 512 00:29:48,120 --> 00:29:49,200 These four... 513 00:29:52,320 --> 00:29:56,320 Bases, any of these two, two types of bases. 514 00:29:56,640 --> 00:29:59,800 And just prepared her photons and sent this. 515 00:29:59,920 --> 00:30:02,740 So she has a photon, she put in one base, 516 00:30:02,920 --> 00:30:05,320 vertical, horizontal, whatever she wants, 517 00:30:05,440 --> 00:30:07,600 or 45 degrees, and sent. 518 00:30:07,900 --> 00:30:13,000 Another photon, she polarized in one of these bases and sent. 519 00:30:13,100 --> 00:30:19,100 So she just sent several photos in some state that she knows. 520 00:30:19,960 --> 00:30:21,020 Bob measured... 521 00:30:21,040 --> 00:30:21,660 He measures these photons. 522 00:30:21,980 --> 00:30:26,700 And he doesn't know which bases Alice was using. 523 00:30:27,180 --> 00:30:31,000 But he just chose, like, any of these four possibilities, too. 524 00:30:31,400 --> 00:30:33,440 And once he measured this, 525 00:30:33,540 --> 00:30:38,340 once he measured this photon that Alice sent, 526 00:30:38,560 --> 00:30:40,880 but in his own base, 527 00:30:41,160 --> 00:30:43,940 he actually probed this, and he actually has the result. 528 00:30:44,180 --> 00:30:46,220 And he has either zero or one. 529 00:30:46,320 --> 00:30:50,400 For example, they can agree that the up is zero or up is one. 530 00:30:51,040 --> 00:30:58,020 And down is zero, or up is zero, or is down is zero, vertical is one, 531 00:30:58,240 --> 00:31:02,420 or 45 degrees, the size is zero, and 45 degrees, that size is one. 532 00:31:02,840 --> 00:31:06,620 So he measures all this, and he gets these bits, 533 00:31:06,760 --> 00:31:09,420 and he keeps these bits in secret. 534 00:31:10,340 --> 00:31:16,140 And after they all end, this is going to be the key. 535 00:31:16,320 --> 00:31:19,880 And they both, Alice and Bob, are going to have the same bits. 536 00:31:20,020 --> 00:31:21,020 And there's going to be... 537 00:31:21,040 --> 00:31:21,820 A key that they share. 538 00:31:24,220 --> 00:31:26,180 So after Bob measured, 539 00:31:26,720 --> 00:31:29,240 Alice and Bob just talk about the bases, 540 00:31:29,340 --> 00:31:31,820 but not the bits that they used, 541 00:31:32,020 --> 00:31:35,700 and they discard the base that they measured wrong. 542 00:31:35,880 --> 00:31:39,500 So again, Alice chose for each plot 543 00:31:39,500 --> 00:31:43,200 one of the four possibilities of the two bases. 544 00:31:43,840 --> 00:31:44,300 And said, 545 00:31:45,060 --> 00:31:48,060 Bob doesn't know what base she chose. 546 00:31:48,340 --> 00:31:51,020 And he outspoke one of these four. 547 00:31:51,040 --> 00:31:53,420 And he measures, and he has some bits. 548 00:31:53,700 --> 00:31:57,160 And then they talk, I don't know, by phone or something, or email, 549 00:31:57,380 --> 00:32:01,440 and they say, and agree, and tell each other which base they measured 550 00:32:01,440 --> 00:32:03,900 without telling which bits, which results they got. 551 00:32:05,000 --> 00:32:08,160 And the base that they didn't agree, they just discard. 552 00:32:08,440 --> 00:32:11,620 The base that they agree, the base that they... 553 00:32:11,620 --> 00:32:14,900 If they use the same base to measure that photo, 554 00:32:15,160 --> 00:32:17,280 they are going to have the same result, 555 00:32:17,280 --> 00:32:18,600 they are going to have the same result, 556 00:32:18,760 --> 00:32:20,840 either up or down, or 45. 557 00:32:21,580 --> 00:32:22,980 They're going to have the same value. 558 00:32:23,340 --> 00:32:27,040 So they're going to have the zero and the one, 559 00:32:27,120 --> 00:32:28,420 they're going to have the same key. 560 00:32:30,280 --> 00:32:32,280 So this is a little bit abstract, 561 00:32:32,400 --> 00:32:35,180 so let's try to put this in the picture. 562 00:32:36,120 --> 00:32:39,400 This probably is the most important slide of this talk, 563 00:32:39,500 --> 00:32:42,100 so if you pass through this, we are all right. 564 00:32:43,140 --> 00:32:47,400 So like I said, Alice has four possibilities in two bases, right? 565 00:32:47,680 --> 00:32:51,020 One is 45 degrees, or horizontal, or vertical. 566 00:32:51,800 --> 00:32:56,040 And they agree that one is zero, and the other one is one. 567 00:32:56,600 --> 00:32:59,920 So Alice has all these photons polarized in any direction. 568 00:33:01,100 --> 00:33:04,140 She measures in one of these bases, and sends to Bob. 569 00:33:04,480 --> 00:33:09,280 So you see, the first one was measured, was polarized in vertical. 570 00:33:09,500 --> 00:33:10,440 The second one, horizontal. 571 00:33:11,600 --> 00:33:14,880 And then 45, and so on. 572 00:33:15,520 --> 00:33:19,380 And Bob has the same four bases, 573 00:33:19,400 --> 00:33:21,020 but now he's just... 574 00:33:21,020 --> 00:33:21,900 He's actually probing this. 575 00:33:21,980 --> 00:33:23,440 He's not preparing, he's not polarizing. 576 00:33:23,680 --> 00:33:27,200 So he either probes this in the 45-degree base, 577 00:33:27,420 --> 00:33:29,140 or horizontal or vertical base. 578 00:33:29,860 --> 00:33:30,960 And once he probes this, 579 00:33:33,820 --> 00:33:37,620 if he's probing the right base that Alice sent, 580 00:33:37,920 --> 00:33:40,980 he's going to have the same value that Alice had. 581 00:33:41,200 --> 00:33:43,880 So if Alice sent, for example, one, 582 00:33:44,000 --> 00:33:47,360 which is a vertical value, 583 00:33:47,640 --> 00:33:50,180 if she polarized that photon in that direction, 584 00:33:51,020 --> 00:33:54,400 and Bob measured it with the right base, 585 00:33:54,500 --> 00:33:55,480 which is horizontal or vertical, 586 00:33:55,780 --> 00:33:58,460 Bob is going to get one all the time. 587 00:34:00,760 --> 00:34:02,340 That's what he's going to get. 588 00:34:03,320 --> 00:34:05,540 But if he measures the wrong base, 589 00:34:05,760 --> 00:34:06,980 the one that's 45 degrees, 590 00:34:07,180 --> 00:34:09,120 he can get either one or zero. 591 00:34:09,280 --> 00:34:11,040 Remember, it's a superposition, right? 592 00:34:11,560 --> 00:34:16,500 So after Bob measures all the photons that Alice sent, 593 00:34:17,580 --> 00:34:20,860 they're probably going to agree on 50%. 594 00:34:21,880 --> 00:34:26,680 Because half of the time Bob is going to just not use the right base. 595 00:34:27,180 --> 00:34:28,740 But this is all right. This is good. 596 00:34:28,960 --> 00:34:32,320 It means that half of the time they have exactly the same key, 597 00:34:32,400 --> 00:34:33,080 and they know that, 598 00:34:33,140 --> 00:34:35,260 because they know which base they measured. 599 00:34:36,500 --> 00:34:38,520 So they can just discard the other ones, 600 00:34:38,640 --> 00:34:39,400 and they have a key. 601 00:34:41,400 --> 00:34:45,740 So what happens if Eve actually tries to measure these photons? 602 00:34:46,840 --> 00:34:49,660 So once Eve tries to measure, 603 00:34:51,020 --> 00:34:52,560 any photon that Alice is sending, 604 00:34:54,060 --> 00:34:55,560 she's going to have to probe this. 605 00:34:55,620 --> 00:35:00,660 She's going to have to use one of those measure detectors over there, 606 00:35:01,120 --> 00:35:03,520 and one of the two types of base, 607 00:35:04,540 --> 00:35:06,520 either 45 or vertical horizontal. 608 00:35:07,460 --> 00:35:09,560 She's going to have to actually use this to probe, 609 00:35:09,680 --> 00:35:12,600 and she's going to collapse the wave function to one value. 610 00:35:13,140 --> 00:35:13,840 So for example, 611 00:35:14,000 --> 00:35:19,820 if Eve, the same thing that Bob did, 612 00:35:19,960 --> 00:35:20,920 like, but now, 613 00:35:21,020 --> 00:35:21,960 she's probing. 614 00:35:22,180 --> 00:35:27,180 And then what happens if she uses the wrong bases? 615 00:35:27,380 --> 00:35:31,060 It means that she has 50% of chance of getting, 616 00:35:31,530 --> 00:35:32,180 for example, 617 00:35:32,220 --> 00:35:35,660 if Alice sends the photon polarizer to one, 618 00:35:35,800 --> 00:35:40,340 to a vertical polarization, 619 00:35:41,190 --> 00:35:44,960 if Eve chooses the wrong bases, 620 00:35:45,120 --> 00:35:46,880 the 45% base, 621 00:35:46,980 --> 00:35:47,980 and measures this, 622 00:35:48,140 --> 00:35:50,600 she has 50% of chance of getting, 623 00:35:52,180 --> 00:35:57,060 the right answer, which is vertical, or one, 624 00:35:57,180 --> 00:36:00,680 and 50% of chance of getting the horizontal one. 625 00:36:00,980 --> 00:36:02,800 So it means that she's interfering in that. 626 00:36:02,940 --> 00:36:03,840 She's actually, 627 00:36:05,460 --> 00:36:09,040 she's adding a 50% of error in these photons. 628 00:36:09,660 --> 00:36:10,680 So in the end, 629 00:36:10,800 --> 00:36:13,360 when Bob tried to measure this after Eve, 630 00:36:14,060 --> 00:36:19,640 he's going to realize that only 25% of all, 631 00:36:19,640 --> 00:36:20,640 of all, 632 00:36:20,760 --> 00:36:21,000 of all, 633 00:36:21,020 --> 00:36:25,220 the photons that Alice sent are actually in agreement. 634 00:36:25,620 --> 00:36:26,820 And how do they know this? 635 00:36:26,940 --> 00:36:28,080 Because without knowing, 636 00:36:28,200 --> 00:36:29,840 without actually talking about the bits, 637 00:36:29,960 --> 00:36:30,280 well, 638 00:36:30,360 --> 00:36:32,720 you can just have several parrot bits, 639 00:36:32,800 --> 00:36:33,200 for example, 640 00:36:33,280 --> 00:36:37,920 you could just choose some part of your photons that they're going to be just 641 00:36:37,920 --> 00:36:38,420 for testing, 642 00:36:38,580 --> 00:36:41,400 just to verify if they are right or wrong. 643 00:36:42,580 --> 00:36:43,460 And again, 644 00:36:43,540 --> 00:36:45,060 you're going to be seeing like several of us, 645 00:36:45,140 --> 00:36:45,660 much more. 646 00:36:45,700 --> 00:36:48,660 It's not only like 10 or like this is where we talk about probabilities, 647 00:36:48,680 --> 00:36:50,200 or it would be thousands of photons. 648 00:36:51,040 --> 00:36:55,840 So the whole thing is like the whole point of this is just in the end, 649 00:36:55,980 --> 00:36:57,540 if Eve is looking at it, 650 00:36:58,040 --> 00:37:00,020 they're going to have a really high error, 651 00:37:01,280 --> 00:37:02,640 error in the measurement, 652 00:37:02,820 --> 00:37:04,320 close to 25%, 653 00:37:04,320 --> 00:37:05,000 for example. 654 00:37:05,300 --> 00:37:06,720 And if Eve is not, 655 00:37:06,860 --> 00:37:08,360 if Eve didn't actually, 656 00:37:08,380 --> 00:37:09,080 if dropped there, 657 00:37:09,180 --> 00:37:12,260 would be at most around 50%. 658 00:37:12,260 --> 00:37:13,360 It's just a probability. 659 00:37:13,460 --> 00:37:15,620 But if you have a lot of photons in the end, 660 00:37:16,100 --> 00:37:18,320 you're actually able to know what's going on. 661 00:37:18,400 --> 00:37:18,940 And again, 662 00:37:19,000 --> 00:37:20,500 you can always agree to, 663 00:37:20,500 --> 00:37:22,260 to increase your probability. 664 00:37:22,740 --> 00:37:28,020 Alice and Bob could agree to increase the probability more than 50% if they want to really make sure. 665 00:37:32,020 --> 00:37:32,540 So, 666 00:37:32,600 --> 00:37:33,180 okay, 667 00:37:33,260 --> 00:37:34,700 this is very esoteric. 668 00:37:35,740 --> 00:37:36,620 Does it work? 669 00:37:36,900 --> 00:37:37,140 Well, 670 00:37:37,240 --> 00:37:38,520 people are actually doing this. 671 00:37:38,780 --> 00:37:39,300 There, 672 00:37:39,460 --> 00:37:41,480 there's several experiments. 673 00:37:41,900 --> 00:37:42,560 This one, 674 00:37:42,560 --> 00:37:45,140 it was a few months ago in Canada, 675 00:37:45,180 --> 00:37:46,000 Canary Islands. 676 00:37:46,240 --> 00:37:50,200 They were able to send several photons over, 677 00:37:51,340 --> 00:37:53,660 over two islands in Canary Islands, 678 00:37:53,860 --> 00:37:55,480 La Palma and Tenerife. 679 00:37:56,520 --> 00:38:00,180 And they were apart around nine, 680 00:38:00,200 --> 00:38:00,900 90 miles. 681 00:38:01,260 --> 00:38:03,360 And they were very able to do this. 682 00:38:03,420 --> 00:38:07,780 They had like a tire key and it worked. 683 00:38:11,140 --> 00:38:11,660 So, 684 00:38:11,680 --> 00:38:11,900 all right, 685 00:38:11,960 --> 00:38:13,380 so this is all super cool, 686 00:38:14,760 --> 00:38:18,140 but how long is it going to take to the first quantum computer? 687 00:38:20,500 --> 00:38:20,880 Well, 688 00:38:20,960 --> 00:38:22,760 there's some challenges and again, 689 00:38:23,260 --> 00:38:26,560 just engineers challenges because the physics is all there. 690 00:38:29,920 --> 00:38:33,740 Quantum computers must maintain hundreds of qubits together, 691 00:38:33,920 --> 00:38:34,160 right? 692 00:38:34,200 --> 00:38:35,140 For some amount of time. 693 00:38:35,280 --> 00:38:35,660 Like I, 694 00:38:35,680 --> 00:38:36,160 I was, 695 00:38:36,260 --> 00:38:37,560 I mentioned at the beginning of the talk, 696 00:38:38,200 --> 00:38:40,300 you just need like actually a very short time, 697 00:38:40,380 --> 00:38:42,340 but you still need a lot of qubits together. 698 00:38:44,080 --> 00:38:47,400 There is something that happens when you have all these qubits together. 699 00:38:47,560 --> 00:38:49,400 It's really hard to isolate them. 700 00:38:49,860 --> 00:38:50,340 Because, 701 00:38:50,340 --> 00:38:52,460 because the universe is observing all the time. 702 00:38:52,600 --> 00:38:54,780 And the one I mean this is just there's interference. 703 00:38:55,320 --> 00:38:58,100 Everything in the earth around you is actually, 704 00:38:58,940 --> 00:38:59,500 everything is, 705 00:38:59,500 --> 00:38:59,940 is, 706 00:38:59,940 --> 00:39:01,400 is interacting with you. 707 00:39:01,440 --> 00:39:07,220 It's interacting with each between all the particles are interacting. 708 00:39:07,700 --> 00:39:09,760 So it's really hard to, 709 00:39:09,860 --> 00:39:12,440 to actually isolate these qubits. 710 00:39:13,060 --> 00:39:14,200 All this and, 711 00:39:14,320 --> 00:39:15,720 and the increase, 712 00:39:15,900 --> 00:39:16,620 the number of qubits, 713 00:39:16,680 --> 00:39:17,720 it becomes even harder. 714 00:39:18,660 --> 00:39:19,700 Particles are just, 715 00:39:19,700 --> 00:39:23,320 just as absorbed by the room or vanish and several things happen. 716 00:39:23,440 --> 00:39:25,000 And this is actually what happens. 717 00:39:25,080 --> 00:39:27,760 Just this is a little bit a part of the discussion, 718 00:39:28,080 --> 00:39:32,100 but what happens just so you have a vacuum that's always the vacuum that is 719 00:39:34,480 --> 00:39:35,360 beyond everything. 720 00:39:35,540 --> 00:39:36,100 All the particles, 721 00:39:36,220 --> 00:39:40,640 this vacuum is actually very active in the creating and in destroying particles all the time. 722 00:39:40,800 --> 00:39:42,780 And that's actually a field of quantum field theory. 723 00:39:44,300 --> 00:39:44,980 But anyway, 724 00:39:45,140 --> 00:39:46,700 let's not digress too much. 725 00:39:47,920 --> 00:39:49,680 So even though it's really hard, 726 00:39:49,680 --> 00:39:50,280 to do this, 727 00:39:50,340 --> 00:39:51,880 there's a lot of progress happening. 728 00:39:52,340 --> 00:39:54,060 And in 2012, 729 00:39:54,400 --> 00:40:00,780 a Nobel Prize was given for two separate scientists who actually had two different solutions for this problem. 730 00:40:01,220 --> 00:40:04,420 One was an eye on a trap and another photo in a cavity. 731 00:40:04,540 --> 00:40:05,740 And these are different particles, 732 00:40:05,760 --> 00:40:07,260 so different particles, 733 00:40:07,440 --> 00:40:10,900 but they two share the same property, 734 00:40:10,960 --> 00:40:12,900 which is a two state, 735 00:40:14,600 --> 00:40:16,160 two state particle, 736 00:40:16,360 --> 00:40:19,260 two state environment that they can actually have. 737 00:40:19,680 --> 00:40:20,820 Either zero or one, 738 00:40:20,920 --> 00:40:21,360 for example. 739 00:40:22,520 --> 00:40:23,500 But in the end, 740 00:40:23,560 --> 00:40:25,980 all you need is just two state quantum systems. 741 00:40:26,380 --> 00:40:27,200 And in physics, 742 00:40:27,300 --> 00:40:28,240 there's so many of them. 743 00:40:28,400 --> 00:40:29,360 They are everywhere. 744 00:40:29,780 --> 00:40:30,940 This is just someone, 745 00:40:31,120 --> 00:40:31,900 some examples. 746 00:40:32,060 --> 00:40:32,460 For example, 747 00:40:32,460 --> 00:40:35,060 you can use superconductor-based quantum computers, 748 00:40:35,220 --> 00:40:36,720 which is just superconductors. 749 00:40:37,220 --> 00:40:38,440 You can trap ions. 750 00:40:38,740 --> 00:40:40,520 You can use optical lenses. 751 00:40:43,120 --> 00:40:47,240 There's this idea of topological computers is a little bit more mathematical, 752 00:40:47,240 --> 00:40:48,600 but it's really interesting too. 753 00:40:49,680 --> 00:40:50,620 Quantum dots on surface, 754 00:40:50,980 --> 00:40:52,500 nuclear magnet resonance, 755 00:40:54,720 --> 00:40:56,580 quavity quantum electrodynamics. 756 00:40:56,640 --> 00:40:59,040 All these are like completely different fields 757 00:40:59,040 --> 00:41:02,080 and people are actually actively studying and learning 758 00:41:02,080 --> 00:41:08,540 and figuring out how to isolate one qubit 759 00:41:08,540 --> 00:41:17,580 and how to couple all this one, two, three, four, or more qubits together in some, 760 00:41:17,580 --> 00:41:18,080 some, 761 00:41:19,680 --> 00:41:23,640 in some amount of time that's going to be enough to just do some calculations. 762 00:41:25,980 --> 00:41:27,420 So, for example, 763 00:41:28,200 --> 00:41:33,600 to support my claim that progress is happening and it's every day, 764 00:41:33,760 --> 00:41:37,060 this is just like some news from like really recent news. 765 00:41:37,640 --> 00:41:42,340 2015, IBM scientists are trying the quantum computer. 766 00:41:43,060 --> 00:41:44,540 There's this new, 767 00:41:44,700 --> 00:41:49,420 this one in January that they were able actually to have six hours, of course, 768 00:41:49,680 --> 00:41:51,720 of coherence time, which is crazy. 769 00:41:51,940 --> 00:41:54,280 But it's just like a couple, just a couple of qubits. 770 00:41:54,680 --> 00:41:58,180 But again, science is just, just happening. 771 00:41:58,580 --> 00:41:59,920 And for good or for bad, 772 00:42:00,720 --> 00:42:03,380 one of the leaks from Snowden was that 773 00:42:03,940 --> 00:42:05,860 NSA is building this, 774 00:42:05,940 --> 00:42:10,220 it seeks to build this quantum computer and invest 80 million in research. 775 00:42:10,460 --> 00:42:11,520 And this was two years ago. 776 00:42:12,000 --> 00:42:16,260 And they call this Penetrating High Targets Project. 777 00:42:18,120 --> 00:42:18,600 So, 778 00:42:19,680 --> 00:42:21,560 I think my final remarks are the following. 779 00:42:22,000 --> 00:42:23,860 As we saw in the first slides, 780 00:42:24,680 --> 00:42:27,160 science takes some time to happen, right? 781 00:42:27,340 --> 00:42:31,180 Like it took 20 years to then to realize it's not only photons that are, 782 00:42:31,340 --> 00:42:35,120 that share the wave particle duality, but it also matter. 783 00:42:35,440 --> 00:42:37,940 And the whole quantum mechanics, 784 00:42:38,040 --> 00:42:43,000 it took the entire last century to develop and it's happening. 785 00:42:43,180 --> 00:42:45,640 It's still, it's still a lot of things to be learned. 786 00:42:46,860 --> 00:42:48,500 And even in the quantum computer, 787 00:42:48,600 --> 00:42:49,660 there are a lot of things going on. 788 00:42:49,660 --> 00:42:52,620 There are a lot of other things that I didn't even mention here. 789 00:42:52,940 --> 00:42:55,720 Several quantum algorithms, quantum circuits, 790 00:42:57,000 --> 00:42:59,180 like topological computers is really cool. 791 00:43:00,560 --> 00:43:03,340 And several other concepts that I even didn't touch here. 792 00:43:04,000 --> 00:43:07,720 But I mean, I think the point is like, don't be, don't fool yourself. 793 00:43:08,020 --> 00:43:09,360 There are a lot of scientists doing this. 794 00:43:09,460 --> 00:43:11,800 There are a lot of agents doing this. 795 00:43:11,880 --> 00:43:14,880 And this is going to be something that is happening. 796 00:43:15,260 --> 00:43:19,640 And I think it's nice to at least pay attention to it. 797 00:43:19,640 --> 00:43:22,780 And try to be interested in like a little bit in the concept. 798 00:43:22,980 --> 00:43:24,980 And I hope my talk help you, 799 00:43:25,020 --> 00:43:28,380 help you to grasp a little bit of these ideas. 800 00:43:29,300 --> 00:43:31,500 So this is the background and now you decide. 801 00:43:31,960 --> 00:43:32,680 Thank you. 802 00:43:39,380 --> 00:43:40,420 Some questions? 803 00:43:43,500 --> 00:43:44,020 Yes. 804 00:43:55,100 --> 00:43:56,740 the classical channel, yeah. 805 00:43:57,800 --> 00:43:58,280 . 806 00:44:03,040 --> 00:44:03,520 Definitely. 807 00:44:03,760 --> 00:44:05,360 So this is, okay. 808 00:44:05,420 --> 00:44:11,520 So the question is, Bob and Alice, 809 00:44:12,200 --> 00:44:13,720 when they are actually talking about the, 810 00:44:14,500 --> 00:44:18,060 they are agreeing on which basis they are doing the measurements, 811 00:44:18,700 --> 00:44:21,200 they need a classical channel, right, to talk. 812 00:44:21,560 --> 00:44:25,780 So, well, we go to the old story that, yeah, 813 00:44:25,820 --> 00:44:28,020 we can hack the classical channel. 814 00:44:28,140 --> 00:44:31,980 Of course, if you can, for some reason, 815 00:44:32,040 --> 00:44:36,160 actually modify this message, yes, it is a problem. 816 00:44:36,460 --> 00:44:38,920 Then they all, what's going to happen is this, 817 00:44:38,980 --> 00:44:41,640 what you can do is just change the message to her base. 818 00:44:42,180 --> 00:44:44,980 And then she's going to know, she's going to, 819 00:44:44,980 --> 00:44:48,040 Bob won't be able anymore to know what's going on. 820 00:44:48,040 --> 00:44:48,900 What's the error rate? 821 00:44:49,020 --> 00:44:52,300 And then they can maybe think that there are no errors, 822 00:44:52,500 --> 00:44:56,400 and yeah, and then they agree that this is a safe, 823 00:44:58,300 --> 00:44:59,760 yeah, protocol, yeah. 824 00:45:08,480 --> 00:45:12,140 Well, Alice, you can always look back and see if it's right, right? 825 00:45:12,280 --> 00:45:16,160 So maybe one way of doing this is just making sure that after the, 826 00:45:16,260 --> 00:45:18,020 you can, you, just, yeah. 827 00:45:18,040 --> 00:45:21,100 And maybe after the message, Ozzy can just look back to her message. 828 00:45:21,440 --> 00:45:21,760 Yeah. 829 00:45:23,420 --> 00:45:24,300 Any other questions? 830 00:45:25,360 --> 00:45:25,780 Sure. 831 00:45:37,080 --> 00:45:38,240 That's a really good question. 832 00:45:38,440 --> 00:45:39,820 I'm not sure if I have the answer. 833 00:45:39,940 --> 00:45:44,640 But one thing is the fact that the program is going to change a little bit, right? 834 00:45:44,640 --> 00:45:44,740 Right? 835 00:45:45,080 --> 00:45:51,140 Instead of just, well, instead of programming the way we do now with just regular bits, 836 00:45:51,280 --> 00:45:53,020 we're going to have to think about quibits. 837 00:45:53,140 --> 00:45:59,460 We're going to have to think that all the information is just available in one quibit, right? 838 00:45:59,600 --> 00:46:01,440 In one superposition of states. 839 00:46:01,820 --> 00:46:06,980 And I have no idea, but I think the languages are going to be really fun to learn, honestly. 840 00:46:09,400 --> 00:46:09,800 All right. 841 00:46:11,160 --> 00:46:11,780 Thank you. 842 00:46:14,640 --> 00:46:15,520 Thank you.