Latest / Blue Security / Post Quantum Series - Part 1 - Quantum Computers
Transcript
- 0:06Welcome to the blue security podcast, a weekly podcast for
- 0:10information security Defenders, where we bring you two sessions
- 0:13on best practices, tools and implementation for Enterprise
- 0:17security. Now here are your hosts for
- 0:19today's show, Andy jaw, and Adam Brewer.
- 0:22Welcome to another episode of the blue security podcast.
- 0:24I'm Andy your host and I'm Adam your co-host.
- 0:27And tonight we're going to talk about Something that you may
- 0:31have heard, and you may have wanted to learn more about and
- 0:33that's where we came from. So there's been a lot of
- 0:36conversation around Quantum Computing, especially as it
- 0:40relates to things we care about as Information, Security
- 0:43Professionals, things like cryptography and breaking
- 0:46cryptography, potentially, and I don't know about our listeners
- 0:50or you Andy. But when I hear about something
- 0:52that kind of sounds like a boogeyman or like the sky is
- 0:55falling or like, it's too good to be true or any combination
- 0:58thereof. My The nation is let's go learn
- 1:01about it and let's find out what the real answers are and Auntie
- 1:03it sounds like that was really a driver for you that this would
- 1:07kind of come up in some work conversations, Quantum,
- 1:09Computing, and Quantum cryptography.
- 1:11And you decided to learn more and kind of went down a rabbit
- 1:14hole and thought you know, I think this is something our
- 1:16listeners would be interested in and I agree.
- 1:18I'm interested in it and I think our listeners will be as well.
- 1:20So tell us more. What are we talking about with
- 1:23quantum computers tonight? Yeah, so when I went down this
- 1:26rabbit hole and this was the most research I've done for an
- 1:30episode. Since we started the podcast, I
- 1:32split it up into two different episodes.
- 1:34So we'll start with how quantum computers work in this first
- 1:37episode, and then we'll do another episode on Quantum
- 1:40cryptography, and you don't necessarily need to know how
- 1:44quantum computers work to understand that they are a
- 1:47threat to cyber security in general, and the ability to
- 1:51break encryption as it's widely used today.
- 1:54But as technologists, I just think it's super interesting and
- 1:57just knowing a little bit about something.
- 2:00Long ways later on, and that's really for anything in
- 2:02cybersecurity. So first, we're going to talk
- 2:04about quantum mechanics. And quantum mechanics is
- 2:07basically the physics of studying things that are
- 2:09extremely small like subatomic particles.
- 2:12For example, like photons electrons, the nuclei of an atom
- 2:16and we're all familiar with how physics Works in our everyday
- 2:19lives as we interact with matter around us.
- 2:22But when things get to a subatomic level, they have
- 2:25different rules that they play by.
- 2:27So, there's these Quantum phenomenon that That happen that
- 2:31are proven to happen over and over again.
- 2:33Scientists can't really explain why they happen.
- 2:36They just know that it happens and so it's just called a
- 2:39phenomenon and they know what happens.
- 2:40It's important because these phenomenons impact how quantum
- 2:44computers work, and how we build them and how we understand them.
- 2:47Take like Quantum tunneling. For example, if you take a
- 2:51bicycle going up, a hill in classical mechanics, as long as
- 2:54you have enough energy, you'll get to the top.
- 2:56However, in quantum mechanics, the bicycle will move.
- 3:00Through the hill to the other side, even if it has less energy
- 3:03than required. So it's these weird things that
- 3:06just kind of happen scientists observe that they happen in a
- 3:09repeated experiments repeated States and they just know that
- 3:13it happens. These phenomenon are important
- 3:16as we kind of discuss how quantum computers are made.
- 3:19The majority of quantum computers.
- 3:20The components that make up a quantum computer are very
- 3:22similar to your classical computers like power supply.
- 3:25Storage ram. Ram is a little bit different.
- 3:29There's Like Quantum Ram, but the idea is still the same where
- 3:32it's volatile and that it's faster than storage.
- 3:35So it allows it to interact closer to the CPU.
- 3:38There's a motherboard, there's a CPU, there's cooling.
- 3:41The main difference is how the CPU Works.
- 3:43In traditional Computing, information is encoded in the
- 3:45form of B, zeros and ones and data is stored and transferred,
- 3:49executed by changing those bits in quantum.
- 3:51Computers, the equivalent is called a Quantum bit or qubit
- 3:55and qubits are subatomic matter electrons protons ions.
- 3:59Nucleus of an atom, It really doesn't matter.
- 4:01As long as it's a Quantum object that can be contained,
- 4:03manipulated and measured and it requires a lot of cooling
- 4:07because unlike traditional, silicon B qubits are really
- 4:10easily interfered with, with any level of heat, just like any
- 4:14subatomic particles in the environment around the computer.
- 4:16And so qubits are kept at near zero.
- 4:19Kelvin. For example, in IBM's quantum,
- 4:21computers there, kept around 15 million Kelvin and that's at the
- 4:25temperature that basically the particles are not Energizer have
- 4:28very little movement. Ali - 459 degrees Fahrenheit.
- 4:33It's also known as absolute zero and it's colder than outer
- 4:36space. And the qubits it at the bottom
- 4:39on a chip in this thing called a dilution refrigerator, which
- 4:42basically looks like the largest heat sink that you can possibly
- 4:44imagine. So how do these qubits generate
- 4:47computing power? Well cubits like for example in
- 4:51our case will take like an electron there.
- 4:52Suspended in a magnetic field and when the electron is
- 4:56suspended, it'll spin on its axis and create a small
- 4:59magnetic. Field like the Earth's magnetic
- 5:02field when it spins and just like the Earth's magnetic field,
- 5:05it'll flow from one direction to another like a pole, right?
- 5:09From like the South Pole to North Pole and when you suspend
- 5:13and electrons magnetic field inside of another magnetic
- 5:16field, it'll naturally aligned ass holes with the outside
- 5:21magnetic fields Direction like a compass aligning with the
- 5:25Earth's magnetic field. And since this is the natural
- 5:28state of the electron or qubit that requires the least amount
- 5:31of energy we can basically consider this a 0 in like
- 5:35traditional b or in the quantum State.
- 5:37It's called spin down and then similar to like if you were to
- 5:40move your finger on the compass and point it's a South.
- 5:44The qubits can be charged with energy to the point in the
- 5:46opposite direction, like a traditional bit like one.
- 5:50And with this case, we'll call it spin up.
- 5:52So you have your spin up spin down positions or your
- 5:54traditional zeros and ones. And we're going to add a
- 5:57phenomenon that unique to quantum mechanics.
- 6:00Specifically important to quantum computers called
- 6:02superposition and superposition is one of those things.
- 6:05Like I said, it just happens and scientists observed that it
- 6:08happens and the qubits spin in every direction possible within
- 6:12a sphere. And it's mathematically
- 6:14represented with a fraction between 1 and 0.
- 6:17Indicating the probability of it being spin up or spin down.
- 6:20It's only when we choose to read it state that it chooses up or
- 6:24down. So the best way that I can
- 6:26explain how this essentially works is like imagine spending
- 6:29adding a quarter on a desk, it's not heads or tails, it's
- 6:33actually both at the same time. It's only when you stop the coin
- 6:37and you read it, that it's heads or tails.
- 6:40And so that's like the state of this electron that, it's just
- 6:44spinning and it can be in any state up or down and it's only
- 6:47when you stop to read it, that it's actually up or down, so
- 6:51that's how superposition works, and that's the phenomenon and
- 6:55also gives it its power. Because in traditional
- 6:57Computing, or classical Computing, you only have Two
- 7:00states, 0, or 1, but in Quantum Computing because of
- 7:03superposition, you get this 2 to the N number of states or
- 7:07computing power that quantum computers can have where n is
- 7:10the number of qubits. And so if you have three cubits,
- 7:13you actually have eight states or eight cubits of power.
- 7:17That can process your problem that you're trying to input into
- 7:22it. I'll take a pause there because
- 7:23that was a lot of information. I tried to explain it as best as
- 7:28I could. Any thoughts on that?
- 7:29That so far Adam anybody that's familiar with like Schrodinger's
- 7:33cat. That's kind of a similar concept
- 7:35here when you're talking about reading the state and how you
- 7:39know can be both until you read it and then it's one or the
- 7:41other but until you read it you know it was super position.
- 7:44It could be both essentially this stuff is really complex and
- 7:48it's hard to even kind of deal with all the new language and
- 7:51everything I thought that was super interesting.
- 7:53Talking about IBM's quantum computer and how it operates at
- 7:57practically absolute zero you know it's a Both MK above
- 8:01absolute zero, that's just incredible that that's, you
- 8:04know, the current state it has to be in and it kind of speaks
- 8:07to the fact of how early days we are.
- 8:09And I'm sure maybe you were going to make this observation a
- 8:11little bit later on Andy, but I think back to almost the early
- 8:14days of computing with the vacuum tubes and eniac.
- 8:17And at my alma mater, by the way, Iowa State University that
- 8:20NASA have Barry computer the first digital computer created
- 8:23in Ames Iowa. They were so rudimentary
- 8:25compared to today, and it feels like we're still in those very
- 8:28early days of quantum, as Well, we know, it will change things
- 8:31long-term, but when you have to have hit at practically the
- 8:36lowest possible temperature that can exist, given our current
- 8:39understanding of physics and everything, like, you know,
- 8:41that's pretty mind-boggling that.
- 8:42That's how far extreme we have to get to, to make functional
- 8:45quantum computers today. And so that's super interesting.
- 8:48And then another point to and I'm sure we'll touch on this
- 8:50little more as we go along. But, you know, all the big tech
- 8:52companies are doing a lot of research on this right now, and
- 8:56they kind of keep leapfrogging each other.
- 8:57And again, our employer definitely is In a lot with
- 9:00Quantum Computing, as well. But Google has major Quantum
- 9:03Computing, research. And I believe, maybe at the
- 9:05minute they have, you know, the most cubits or whatever is the
- 9:08measurement of choice. The metric of choice to brag
- 9:11about. I know, IBM is done, some really
- 9:12amazing work and as a former IBM.
- 9:14Are, you know, one thing about IBM is they have routinely been
- 9:17and continue to be the American company that files and receives
- 9:21the most patents. Every year, researchers really a
- 9:24long history and tradition at IBM and then I could start
- 9:27Calise. It doesn't necessarily Translate
- 9:30into revenues but they certainly do a lot of research and have
- 9:35done a lot particularly with Quantum.
- 9:37So this is all super interesting if you're having trouble
- 9:39following along that's okay. Maybe give this a real issun.
- 9:42Once you have the context and I'll maybe the pieces will fit
- 9:45together. I have heard a lot of this
- 9:46before because I kind of look this up before.
- 9:49And so it's easier to follow, along with Andy because they
- 9:51kind of know some of this and I'm just sliding in new bits of
- 9:53info. So again, if this just is a lot,
- 9:56certainly maybe re-listen to this pod or go find.
- 9:59Other material. I'm sure there's material in
- 10:01YouTube or Wikipedia that can help explain this as well.
- 10:04Because they think it's valuable to understand and as this
- 10:07becomes more mainstream, we're going to hear more about it.
- 10:10So it's valuable for all of us as technologists to at least
- 10:13kind of have a pulse on where this sits and where it's going.
- 10:16Yeah, I probably watched 15 plus videos on both Quantum
- 10:21cryptography and quantum computers to try to put together
- 10:24these two episodes. So it is a lot to take in.
- 10:26So I'm trying to make it condensed and Aziz.
- 10:29Easily explained as possible for the listeners here.
- 10:32So another quantum phenomenon that's important to understand,
- 10:35is quantum entanglement. And the concept of that is
- 10:38basically to Quantum particles become entangled at that
- 10:42temperature and we have to keep them entangled.
- 10:44If they are, they will always display the opposite of the
- 10:47other one. So, in case of say cubits if
- 10:50they are entangled, if one is spin up, the other one is spin
- 10:53down and that is always true as long as the qubits are
- 10:55entangled. So just one of those things that
- 10:57happens and it's important to understand because We have to
- 11:00keep qubits entangled for quantum computers to work when a
- 11:04quantum computer is running. And I explain this previously
- 11:07like when it's actually in the superposition you can't actually
- 11:10read the state and so superposition is state that we
- 11:14can use. But as soon as we read the
- 11:16results, we have a classical answer like a 0 or 1.
- 11:19So the important thing is how do you know when to stop and read
- 11:23the result? And how do you know if the
- 11:24result is correct a 0 or 1? If I input a problem into a
- 11:28computer and it does All this stuff.
- 11:31How do I know when to stop and read it?
- 11:33And that's kind of the Crux of the problem with quantum
- 11:35computers. And so the answer to that is
- 11:38there are special Quantum algorithms which you actually
- 11:40use the probability of super positions to do your
- 11:43calculations. The algorithms use math to
- 11:45ensure the probability of getting the right.
- 11:47Answer is as high as it can be. When it's done, you come up with
- 11:51a usable state that can be read. So this simply means you use the
- 11:53algorithm to solve the problem. The usable State at the end is
- 11:56your solution or answer. So it's important that the impor
- 11:59It to a quantum computer. Or the problem you're trying to
- 12:02solve is a classical problem and then the measured answer at the
- 12:07end is also classical. But when the calculations are
- 12:09running, AKA when the superposition is happening,
- 12:12there's no logs. There's no record.
- 12:15It's doing everything at the same time.
- 12:18I try to think of this as your so many different examples but
- 12:21like say like a maze, right? Amazed as one answer to get
- 12:24through and a traditional computer, May calculate one
- 12:27route and it's wrong. And then I'll go back and
- 12:29Calculate another route and then we'll calculate another route
- 12:32until it gets the right route. Where as a quantum computer,
- 12:34calculates, all the routes at the same time and so that's
- 12:38essentially why quantum computers are a threat to
- 12:42cryptography in general because it can solve problems that have
- 12:47an enormous amount of variables. In a short period of time,
- 12:51they're not always faster than classical computers and in some
- 12:54cases it can actually be slower but for us as cybersecurity
- 12:58professionals quantum Is our threat because the primary
- 13:02encryption algorithm that we use is public-key cryptography,
- 13:06which relies on the factorization of primes, a large
- 13:10prime number and then getting its factors.
- 13:12And that is something that quantum computers can do very,
- 13:15very well. Another thing to note Adam, you
- 13:18kind of alluded to this in, you know, whatever the flavor of day
- 13:21is the number of qubits and I've read in the news you know
- 13:25so-and-so has ten thousand cubits, 1 million cubits.
- 13:28I mean I've seen some crazy. Numbers.
- 13:30But these special Quantum algorithms require fault
- 13:33tolerance and that's really important to remember the
- 13:36algorithms that we know of today to solve some of these problems
- 13:40require millions of error corrected qubits, in some cases,
- 13:44a few thousand, tens of thousands.
- 13:45But in some of them millions of error corrected or
- 13:48fault-tolerant cubits today, we're at roughly 50 to 127,
- 13:53fault-tolerant Quantum ships with IBM, I think looking to
- 13:57debut a thousand plus Processor in 2023.
- 14:01But those are fault-tolerant error, corrected qubits.
- 14:04And so, the common misconception that you often see is like, oh,
- 14:07how many qubits do you have? Like you think of it like in
- 14:09traditional computing power, right?
- 14:11Like what's the GHz of your processor or whatever?
- 14:14But because the qubits are so sensitive to noise environmental
- 14:17effects that there are some errors that are just out of your
- 14:20control and any one of these effects can collapse, the
- 14:23superposition of the Cubit. So, if you're adding more qubits
- 14:26to your Quantum chip and they're not error corrected, you're just
- 14:29compounding and multiplying the problems that you have.
- 14:32So it's really not about how many qubits that you have or
- 14:35even stable qubits. It's really about error
- 14:37corrected or fault-tolerant cubits and those are the ones
- 14:39that matter in these Quantum algorithms.
- 14:41So I can think of a good comparison for that.
- 14:45Now, that you've explained that Andy and I think back to the
- 14:48mega pixel arms race on mobile phones, many years ago, which is
- 14:53kinda mostly settled down today. You hear a lot less about it,
- 14:56but especially in kind of I would say the puberty years of
- 14:59Found as an example, oftentimes an apple got crushed because
- 15:03they were still doing five megapixel and 8, megapixel
- 15:06sensors. While the Android phones were
- 15:08doing, you know, some goofy amount of teens and double-digit
- 15:12megapixels. And there, of course, was some
- 15:16trash talk back and forth. And the more you dug into it,
- 15:19the more you would understand that on a sensor that small with
- 15:22glass, that's small, adding more megapixels didn't necessarily
- 15:26lead to better photos because the more megapixels you have on
- 15:30a small sensor, the less light each component of the image
- 15:34sensor could gather and so it actually led to worse, low light
- 15:37performance, it led to noisier pictures that had more kind of
- 15:41noise random noise in them that more grainy effect and so
- 15:44outside of perfect lighting conditions, they actually
- 15:46weren't better at anything but they sure made an awesome.
- 15:49You know, bullet point on a chart to compare against and in
- 15:53reality you were much better off having larger fewer pixels that
- 15:57could gather more light and deliver better.
- 15:59Low light performance. That is actually what people
- 16:02want to do because they go out to bars.
- 16:04They you know people do stuff past when the Sun goes down,
- 16:07there's all sorts of scenarios. Indoor lighting is just poor
- 16:10where you need, good low-light performance.
- 16:12And it turns out that was way more important.
- 16:15So, I kind of make that comparison here.
- 16:17We're just saying, hey, we've got, you know, so maybe thousand
- 16:20cubits might not be as important as having error corrected or
- 16:24fault-tolerant qubits that can reliably perform a function.
- 16:28And so I think that's kind of it sounds.
- 16:29Like at least a reasonable analogy to make, that's a great
- 16:32analogy. So a lot of this is theory and a
- 16:35lot of this is in practice today.
- 16:37Surprisingly quantum computers have actually been around longer
- 16:40than I realized. The first theory of a quantum
- 16:43computer was way back in like 1959 and the first workable
- 16:48quantum computer was in 1998. So I didn't realize even back
- 16:53then that we had quantum computers.
- 16:54But you know, since then there have been quite a few advances
- 16:57even today, we have On computers in the cloud.
- 17:01You know, because of this cooling component, like I don't
- 17:03think you're ever going to have, you know, like a personal
- 17:05quantum computer in your house, at least not for the foreseeable
- 17:09future. Certainly not going to have like
- 17:10a phone that's using a Quantum chip but quantum computers.
- 17:14As a cloud service is available today.
- 17:17There are some free quantum computers for use over the cloud
- 17:20at like some universities companies that are doing
- 17:23research, like IBM. There are some ones that are
- 17:25paid like we at Microsoft host, quantum computers.
- 17:29Us as a service in Azure. So it's very early in the stage
- 17:33still to be talking about, you know, the breaking of encryption
- 17:37that's not there yet, but you can use quantum computers on a
- 17:41small level with a few cubits right like 20 to 50 cubits and
- 17:45use that still to calculate problems today.
- 17:47So it's it is a reality but some of the things that we're trying
- 17:50to do with it is not there yet and there's also a lot of things
- 17:52that need to happen. Like for example we don't really
- 17:55have a language to kind of do things to make calls on quantum.
- 17:59Shooters. Because the language is that
- 18:01we're using today, like Java C++, those are all used to
- 18:06provide a layer of abstraction to assembly in machine language
- 18:09to converse with classical computers.
- 18:12And we don't really have that yet and so that needs to be kind
- 18:15of invented. So there's going to be an
- 18:17evolution of software along with Hardware before really, quantum,
- 18:22computers become a little bit more mainstream.
- 18:24I saw something and this was just interesting.
- 18:26As I was looking at the Azure Quantum web page here, Here.
- 18:29You know it said flexibility to use your preferred development
- 18:32tools with support for Cirque kids kit and Q.
- 18:34Sharp don't know what any of those are but I'm intrigued but
- 18:38I don't know. But certainly if you look at
- 18:40classical Computing obviously if you really compare the
- 18:43introduction of the microcomputer, as it used to be
- 18:45called the personal computer in the 1970s with the introduction,
- 18:48really of the Apple to in 1977 and you kind of bring that
- 18:52forward to today, we're looking at just a hair over, you know,
- 18:5545 46 years of personal computing.
- 18:59How far that's evolved today. And the evolution of programming
- 19:02languages that is come with that.
- 19:04Again, these are just things we're not going to have
- 19:06overnighter or very quickly with Quantum, as well.
- 19:09As far as I think that was really good comparison, like
- 19:11machine language assembly. You know, that's how people used
- 19:14to write applications for PCs at first because they didn't have
- 19:18enough computing power to run a abstracted language that
- 19:22abstracted a lot of that stuff away from you.
- 19:24Like today, in modern programming languages.
- 19:26There are things you don't have to worry about as much as far as
- 19:29Ejected memory garbage, collection etcetera, Etc.
- 19:32Versus back in the day, you had to do it all yourself.
- 19:35If you are writing in machine language or assembly, and I
- 19:37would imagine even with some of those kind of development
- 19:40environments that the Essure Quantum page refers to, I bet
- 19:43again, they're still very early days.
- 19:46In terms of abstracting away, a lot of it from the developer,
- 19:50where you still have to have a pretty intimate, knowledge of
- 19:53the environment you're running on and the circumstances of it
- 19:55and all of that just like they did back.
- 19:57Then when developers in didn't In 70s and early 1980s, like
- 20:01they really understood what they were writing code on Amin all
- 20:04the intricacies of it and all the ways to get every last bit
- 20:07of performance out of it. It kind of feels like that all
- 20:10over again, that almost Gold Rush if you will from the early
- 20:13days of personal Computing with this.
- 20:15So that's exciting. And I think that's really
- 20:18interesting to follow especially as in technology.
- 20:20You know so much of today is iteration on technologies that
- 20:24have been established for the long time.
- 20:26I honestly think the last big paradigm shift in In Computing
- 20:30for many of us that have been around for a little while now
- 20:33was the smartphone, you know, the introduction of the iPhone
- 20:35January 2007, I mean that felt like another world, you know, it
- 20:40was it was mind-boggling you go back and watch the introduction
- 20:43of the original iPhone, and people lose their minds over
- 20:45scrolling like Steve Jobs. Scroll through a list of like
- 20:48contacts and people are like falling out of their chairs at
- 20:52the Moscone Center over it because it was that big of a
- 20:54Quantum Leap. And so obviously very different
- 20:57circumstances here, it's not going to be something we carry
- 20:59in our Pockets is not going to impact the daily lives of
- 21:01everyone in a very visceral way. But in long-term, you know,
- 21:05there are so many challenges so many problems that can be solved
- 21:08by this and it's going to be fun to watch the development of it
- 21:10and follow it as technologists. We're always looking for that
- 21:13next Frontier. And here.
- 21:14It is kind of right in front of us and so that's our show for
- 21:16this week. Next week, we're going to talk
- 21:19about Quantum cryptography and build on this episode and
- 21:23hopefully kind of tie it back to a little bit more of what we
- 21:26need to know as Information Security Professionals going
- 21:28forward. But I thought, This was a super
- 21:30fun episode to research and learn about, hopefully our
- 21:32listeners here, learn something. And if not you're an expert on
- 21:36physics and quantum mechanics, maybe you can teach us
- 21:39something. So thanks for listening and
- 21:41watching. As always, if you have any
- 21:43questions or topics you want to talk about our contact
- 21:46information will be in the show notes as well as some of the
- 21:48notes on tonight's episode, thanks.
- 21:50We will talk to you guys next week.
- 21:51Thank you for listening to the blue security podcast.
- 21:54Please check out the show notes. Catch up on episodes, you may
- 21:56have missed and subscribe so you don't miss any future.
- 21:59Sounds fine. Dandy on Twitter at age, 0, 0,
- 22:03and Adam at AJ Brewer. See you at our next episode?