WEBVTT

00:11.970 --> 00:15.090
Thank you so much for so many people turning up.

00:15.110 --> 00:16.230
This is amazing.

00:16.590 --> 00:17.990
I'm really looking forward to giving the talk.

00:18.530 --> 00:20.510
Title, Doomed to Repeat the Past.

00:20.510 --> 00:26.130
So this is not about quantum breaking and making your life horrible.

00:26.130 --> 00:27.930
It's about you making my life horrible.

00:28.750 --> 00:31.630
So this is Hardware Exploits for Quantum Computers.

00:33.190 --> 00:35.330
So I'm Jamie Friel.

00:35.330 --> 00:38.210
I'm a software engineer at Oxford Quantum Circuits.

00:38.210 --> 00:45.550
My main responsibility is within the compiler, so I think about run times and how run times might go wrong.

00:46.170 --> 00:49.670
At MQC, we make superconducting quantum computers.

00:49.890 --> 00:51.690
We build the full stack.

00:51.690 --> 00:55.210
That is the QPU, the chip itself.

00:55.210 --> 00:56.630
We don't build this bridge.

00:56.630 --> 00:57.790
We don't build it.

00:58.470 --> 01:07.430
The control hardware, compilation stack, and then the cloud layer, which is just the most common access point to quantum computers.

01:09.070 --> 01:15.610
If you want to run down on this, I gave a talk last year that sort of compared this to a classical control stack.

01:15.670 --> 01:21.490
Very loosely, we have a CPU, we have a motherboard, we have a compiler and a run time, and then a cloud layer.

01:22.430 --> 01:27.310
I try to relate this to classical concepts as much as I can.

01:27.390 --> 01:34.810
It's meant to be open and bridge the gap between quantum and security, so please raise your hand if you have questions throughout.

01:34.810 --> 01:36.230
I want to be clear to everyone.

01:37.670 --> 01:41.090
So what we do at MQC, we build quantum computers.

01:41.090 --> 01:43.050
It's available on AWS, the Cloud.

01:44.330 --> 01:52.230
The reason I want to give this talk is that quantum computers will solve many great problems, not just cracking encryption.

01:53.050 --> 02:00.290
Many good things, drug discovery, simulated molecules, machine learning, optimization problems, logistics.

02:00.510 --> 02:03.310
All of that is very, very sensitive data.

02:03.310 --> 02:04.150
All of that is data.

02:04.150 --> 02:06.350
If it was leet, I'd be in big trouble.

02:06.630 --> 02:20.750
So we're starting work now to ensure our environments are secure, so that when we get to solving real problems, we know we're not going to have things like Zenbleed and Downfall, which turned up a few days ago.

02:22.450 --> 02:25.070
I don't know if anyone has been involved in patching this.

02:25.170 --> 02:26.470
My heart goes out to you.

02:26.530 --> 02:31.110
If anyone has to patch Meltdown or Spectre again, my heart goes out to you.

02:31.110 --> 02:32.310
It would be me one day.

02:33.970 --> 02:37.490
Yeah, hardware exploits are still a big problem.

02:37.490 --> 02:42.370
Complex CPU optimizations give rise to complex exploits.

02:42.370 --> 02:55.050
Very hard to properly secure a complex CPU environment, especially with regards to separating out user space and the system space and privileged information.

02:56.450 --> 03:00.670
Right off the bat, a big one for people that are too difficult here.

03:00.670 --> 03:02.930
I think one is fixed in the same way as some of the other updates.

03:02.930 --> 03:06.690
I don't know if the other ones are patched yet, but at least one is.

03:09.760 --> 03:11.840
Q-Day is coming for you.

03:12.440 --> 03:17.360
Q-Day is the day that quantum computers crack encryption.

03:17.720 --> 03:19.660
The internet will collapse.

03:19.940 --> 03:22.440
Satoshi's sacred bitcoins are stolen.

03:22.980 --> 03:29.660
All of your 1997 PGP emails are free for everyone to read.

03:32.760 --> 03:34.800
But it's coming for me sooner.

03:35.100 --> 03:36.900
And this is the point of this talk.

03:37.340 --> 03:41.580
This will happen, but let's not be hyperbolic about it.

03:41.580 --> 03:43.740
This is a very, very long way off.

03:43.820 --> 03:50.460
And the solutions to solving the problems of encryption are much further advanced than the quantum computing hardware is.

03:50.460 --> 03:55.160
We got some talks from the folks at Sandbox are working on post-quantum cryptography.

03:56.520 --> 03:58.100
Don't go very well.

03:58.100 --> 03:58.540
That's great.

03:58.540 --> 04:00.380
Last space solutions look great.

04:01.380 --> 04:04.440
We're redefining a model of computing.

04:04.660 --> 04:07.480
We're redefining a runtime environment.

04:07.480 --> 04:12.120
We've got many, many more ways to go wrong before we're a risk to anyone.

04:16.300 --> 04:20.020
But before we can go into that, try the wrong quantum computing.

04:22.800 --> 04:24.580
This is a lock gate.

04:24.860 --> 04:28.940
For people familiar with that, 0 goes to 1 and 1 goes to 0.

04:30.440 --> 04:32.240
I'm using this weird notation.

04:32.240 --> 04:33.720
It's called bracket notation.

04:34.320 --> 04:36.600
I'm putting it there so people are comfortable with it.

04:36.600 --> 04:39.380
If you go to the literature, it will be there.

04:39.380 --> 04:40.620
It doesn't really matter what it is.

04:40.620 --> 04:42.680
It's an abstraction to a vector.

04:42.840 --> 04:46.500
I'm just wrapping bits in these things to feel more comfortable with it.

04:46.600 --> 04:48.600
These are bits right now.

04:50.040 --> 04:52.840
There will be some sources with more information on these gates.

04:53.580 --> 04:55.540
But Pauli X.

04:56.080 --> 04:59.920
Everything in physics is named after dead old men, which is very useful.

04:59.920 --> 05:01.180
This is just a lock gate.

05:01.280 --> 05:02.260
Pauli X.

05:05.280 --> 05:06.160
Hadamard.

05:06.320 --> 05:07.680
Another dead old man.

05:09.720 --> 05:11.780
They're all brilliant, to be fair.

05:12.120 --> 05:14.380
This is where we start to get quantum.

05:17.540 --> 05:19.220
Hadamard operation on 0.

05:19.220 --> 05:25.840
So the 0 bit, this is where you go from a mixture , a superposition of 0 or 1.

05:26.900 --> 05:34.660
So this is just saying it's a 50% probability that when you measure your quantum system, you get 0, 50% of the time you get 1.

05:34.800 --> 05:37.680
This is a coin flip, basically.

05:37.680 --> 05:38.340
That's how you think of this.

05:38.340 --> 05:41.420
This is a coin flip generator, this Hadamard gate.

05:41.540 --> 05:43.300
It will go backwards as well.

05:43.860 --> 05:50.460
So if you start with this equal superposition state, it will take you back to just 0.

05:50.820 --> 05:52.420
So this is a bit more quantum.

05:52.420 --> 05:56.800
This is where you have this idea that you can begin 0 and 1 at the same time.

05:57.240 --> 06:01.560
And you can do... this is part of where quantum power comes from.

06:01.880 --> 06:03.600
You could act on both at the same time.

06:03.600 --> 06:06.940
Now if you do this and then a 0, you've done a 0 in both.

06:08.520 --> 06:11.760
But there's two 1-bit operations.

06:12.200 --> 06:14.940
So I'm ignoring jargon qubits.

06:14.940 --> 06:16.840
These are... right now these are bits.

06:17.020 --> 06:20.440
In quantum land they are qubits, a quantum bit.

06:25.100 --> 06:29.060
The next step is 2-bit operations.

06:29.540 --> 06:34.480
This is C0, or an XOR with a carry.

06:34.500 --> 06:40.020
So this is... quantum computation is reversible, so you have to add the X carry.

06:41.660 --> 06:45.900
The XOR is if your first bit is 0, do nothing to the second.

06:46.420 --> 06:51.600
If your first bit is 1, then do an X gate or a NOT gate on the second bit.

06:53.760 --> 06:56.260
This in and of itself is... again, this is classical.

06:56.260 --> 06:57.200
This is an XOR gate.

06:57.200 --> 07:03.720
This is a classical circuit with nothing quantum about this necessarily, as it's relative yet.

07:03.720 --> 07:10.960
We'll see how the combination of this superposition and the C0 become quantum.

07:12.540 --> 07:19.520
But those are some classical operations, a little bit of quantum, to understand how we do some computation.

07:19.520 --> 07:20.780
Bit level we're at.

07:20.820 --> 07:23.380
Let me say we have an 8-qubit machine.

07:23.380 --> 07:26.620
That's not like an 8-bit computer, we have an 8-bit register.

07:26.620 --> 07:28.440
That's like 8 transistors.

07:28.540 --> 07:32.300
We are on the bit level of operation for these devices.

07:37.520 --> 07:43.320
So this is where we start to get into what a thread model might look like.

07:43.480 --> 07:46.120
And it's how is it do we actually do this?

07:47.340 --> 07:49.500
How do we make this operation happen?

07:49.500 --> 07:54.820
When this is a representation of our device Lucy, 8 qubits connected in a ring.

07:56.100 --> 08:03.740
And this is a piece of superconducting material, sits in the bottom of a dilution refrigerator, with some wires next to it.

08:04.100 --> 08:06.700
How do we actually do anything with this?

08:09.480 --> 08:13.360
So one thing to understand, we're going to brush over the physics here.

08:13.360 --> 08:17.800
If anyone wants to talk more about the details, please come talk to me, I'm here all weekend.

08:18.580 --> 08:20.780
I'm always happy to go into more detail on this.

08:20.780 --> 08:24.240
We have a frequency associated with each qubit.

08:24.780 --> 08:29.940
This frequency is... think of it like an energy, a voltage.

08:30.200 --> 08:37.440
If classically, your bits are separated by 5 volts, every bit here is separated by a different voltage.

08:38.280 --> 08:43.160
This might be a 4 volt difference between 0 and 1, this might be a 3 volt, this may be a 5 volt.

08:43.900 --> 08:50.880
That's what we... we add that energy into the system to drive the transition from 0 to 1.

08:51.020 --> 09:01.960
It happens to be microwaved, typically around 5 gigahertz, for devices like myself, OPCs, and IBMs, or Getys, around 5 gigahertz.

09:02.440 --> 09:08.040
So we add enough energy to pump up from 0 to the 1 state.

09:08.040 --> 09:10.520
That's how we do a NOT operation.

09:16.390 --> 09:22.870
Let's say... just to get the sense, it's the same as adding 5 volt, 4 volt into a system to flip a bit.

09:27.000 --> 09:28.700
How do we do the CNOT gate?

09:28.700 --> 09:35.540
Now this is a much more subtle operation, and in some regard you just have to trust me.

09:35.660 --> 09:40.180
Sorry, I didn't want to go to the maths of this, it's a bit gnarly.

09:41.360 --> 09:46.880
Let's take this example where our input is qubit 8 and qubit 1.

09:47.220 --> 09:51.920
So if qubit 8 is in 0, do nothing to qubit 1.

09:52.200 --> 09:54.960
If it's in state 1, flip it.

09:55.580 --> 10:02.260
The way that I do that is I drive qubit 8 with the energy of qubit 1.

10:03.940 --> 10:05.960
And that looks like... that should do nothing, right?

10:05.960 --> 10:08.220
I'm just driving qubit 8.

10:08.220 --> 10:10.660
It's this little arm here, it's this coupling.

10:10.660 --> 10:23.220
We engineer a coupling between the different bits such that when I drive one qubit at the energy of another, it does this operation.

10:23.780 --> 10:29.580
So this is how we do two bits, or two qubit operations in a quantum device.

10:36.020 --> 10:37.920
So, an example.

10:38.600 --> 10:42.660
This is called a Bell test, or GNZ state.

10:42.660 --> 10:44.940
Lots of business names in there.

10:47.440 --> 10:49.260
Start with Hadamard.

10:50.160 --> 10:53.400
For example, this is the first qubit, this rail.

10:53.560 --> 10:57.580
This is the second qubit, that's this rail here.

10:58.580 --> 10:59.920
What does this represent?

11:00.280 --> 11:12.200
This is saying that if I take a measurement of my system, because quantum systems collapse at some classical measurement, when I measure them, on this first qubit, it's a coin flip.

11:12.580 --> 11:16.300
So this is going to be 0 or 1, with equal probability.

11:16.600 --> 11:19.720
This bottom rail is always going to be 0.

11:20.180 --> 11:23.100
So this is a coin flip, and this is stuck on heads.

11:27.270 --> 11:30.710
Another way to represent this is a slightly more compact notation.

11:30.990 --> 11:32.770
First qubit, second qubit.

11:34.490 --> 11:38.190
First time, we can see this first one, 0 or 1.

11:38.870 --> 11:43.970
Regardless of that outcome, the second qubit is in 0.

11:48.140 --> 11:49.900
So this next bit.

11:51.400 --> 11:55.240
So remember this, if we're in 0, do nothing.

11:57.760 --> 12:01.100
So nothing happens to this part of the quantum state.

12:01.100 --> 12:03.380
If the first bit's 0, leave it.

12:03.380 --> 12:04.340
Do nothing.

12:06.400 --> 12:11.560
But the second, the other part of our superposition, the first bit is 1.

12:11.560 --> 12:15.300
So we do a flip on this part of the superposition.

12:16.780 --> 12:18.540
But what does this mean?

12:18.540 --> 12:22.000
Why is this even an important example I'm belabouring so heavily?

12:22.360 --> 12:24.180
We've got two coin flippers.

12:24.300 --> 12:26.500
We are physically distinct from one another.

12:26.780 --> 12:28.500
We both flip a coin and hide it.

12:28.500 --> 12:31.680
You get heads, immediately you have heads as well.

12:32.280 --> 12:33.600
Flip a coin again.

12:33.600 --> 12:36.180
You get tails, immediately you have tails as well.

12:36.460 --> 12:43.180
There is this correlation between physically distinct bodies that is not possible classically.

12:43.900 --> 12:45.700
So they are in lockstep.

12:45.700 --> 12:50.800
They are random until you look at one of them, and the other flipped into place and agrees with the other.

12:51.800 --> 12:55.540
And we take this is not fast and light transmission of data.

12:55.640 --> 12:56.940
It's not possible.

12:57.420 --> 12:58.900
Because this is random.

12:59.080 --> 13:00.900
You're just generating random data.

13:00.900 --> 13:04.920
There's just a connection between people that's distant.

13:06.100 --> 13:12.580
This is how you combine that superposition and these two bit operations to make something that is quantum.

13:12.580 --> 13:19.600
This is not possible classically to have this level of correlation between physically distinct entities.

13:20.460 --> 13:25.440
So this is hello world in quantum.

13:27.000 --> 13:29.420
So this is going to be our test case.

13:33.200 --> 13:35.740
And here's just an example output.

13:37.440 --> 13:44.540
So when you do a quantum computation, you repeat the computation many, many times, and you measure it every time.

13:44.620 --> 13:47.420
And you get a different pass for output.

13:47.620 --> 13:51.480
So this is, you see, when the first one is 0, 0, 0, 0, 1, and 1.

13:51.700 --> 13:52.500
So that's

13:58.380 --> 13:59.780
the quantum bit.

13:59.860 --> 14:03.600
We're going to briefly touch... I'm not a security person.

14:03.600 --> 14:05.460
Let me get that out there now.

14:05.460 --> 14:10.020
So if anything sounds a bit dubious to you here, it's because it is.

14:13.580 --> 14:16.440
But last year at DefCon... so this is one thing I love about Quantum Village.

14:16.440 --> 14:21.620
Last year at DefCon, it wasn't just us saying, hey, this is what quantum is.

14:21.860 --> 14:32.200
We spent a lot of time talking with red teamers and hardware hackers, teaching me, a quantum information theorist, about the world of security and threat modeling and hardware hacking and all this stuff.

14:32.840 --> 14:35.760
And so now we're trying to bring these two worlds together.

14:35.880 --> 14:41.720
So everyone in this room, if you do hardware hacking, this is probably painfully simple and oversimplistic.

14:41.720 --> 14:43.480
Same for the quantum bit.

14:43.480 --> 14:47.920
So quantum Q specialist, what I said was objectively wrong, probably.

14:48.600 --> 14:55.980
But you take simple ideas in two distinct fields and you have federal funding for interdisciplinary study.

14:57.200 --> 14:58.560
So this is what we're doing here.

14:58.560 --> 15:06.160
We're bringing simple ideas from quantum and simple ideas from security and bringing them together to do some really cool things.

15:07.440 --> 15:11.400
So Roham, this is a block of DRAM.

15:11.900 --> 15:14.140
These are cells that contain data.

15:14.980 --> 15:19.140
There is some very, very loose coupling between these cells.

15:19.140 --> 15:22.320
So there are straight electromagnetic fields.

15:22.320 --> 15:24.060
These things are very, very small.

15:24.720 --> 15:34.640
But unlike the coupling that we generate in a quantum computer, which is very distinct, very deliberate, this is an accident.

15:34.640 --> 15:40.000
This is a byproduct of the fact that you can't perfectly contain these straight fields.

15:42.480 --> 15:46.480
So let's say that this is Alice's data in the purple.

15:47.300 --> 16:01.740
If Eve, some malicious actor, comes in and starts flipping bits very, very rapidly on either side of Alice's data, you can induce bit flips through this very, very loose coupling.

16:01.740 --> 16:04.420
So you have to travel very, very hard and very precisely.

16:05.080 --> 16:13.560
But Google's Project Zero, they did find some privilege escalation exploits in doing Roham's style attacks.

16:13.560 --> 16:20.920
So it's a very serious, very real attack that RAM manufacturers, DRM manufacturers have to be aware of.

16:26.070 --> 16:27.690
So I'm going to go back to this slide.

16:27.690 --> 16:37.230
But one final point on what the quantum runtime looks like now, how it's distinct from classical runtime.

16:38.690 --> 16:40.130
We are CPU.

16:40.130 --> 16:41.070
We have our motherboard.

16:41.070 --> 16:42.130
We have our runtime.

16:42.130 --> 16:43.470
We have our access layout.

16:44.530 --> 16:49.450
There is a stack, and that's it.

16:49.450 --> 16:52.570
We pop off the top of the stack, and we run the instructions on the stack.

16:52.570 --> 16:54.670
There is no sys calls.

16:54.670 --> 16:56.710
There is no root user.

16:56.710 --> 16:59.110
There is no user space, really.

16:59.110 --> 17:06.270
You have the entire run of the machine as a user, and we just pop your instructions off the stack and execute them.

17:06.350 --> 17:09.950
Very, very simple runtime right now.

17:09.950 --> 17:19.490
It also lives for 0.2 seconds, and then the entire system shuts down, at least from a data perspective.

17:19.490 --> 17:23.090
This whole thing, we kept our fridge cold for 18 months.

17:23.090 --> 17:31.370
So we had an 18-month continuously running quantum computer at the record time, proving that cryogenics is not problematic.

17:33.350 --> 17:35.830
And so these are the differences.

17:35.830 --> 17:46.010
We don't have any of the subtleties that you have to deal with when separating out root access, system calls, all these passwords, environment variables.

17:46.010 --> 17:47.190
We have none of that.

17:47.630 --> 17:50.330
We have a set of numerical instructions we pop and execute.

17:50.610 --> 17:54.950
But there is still space for things to go wrong in this very simple execution model.

17:58.730 --> 18:03.370
So this is quantum-ish Rowhammer, or quantum-Rowhammer-ish.

18:06.220 --> 18:12.900
So that computation that we were examining earlier is two-bit computation.

18:13.420 --> 18:15.320
Let's say Alice wants to run this.

18:15.320 --> 18:17.940
So we assign Alice qubits one and two.

18:18.400 --> 18:19.460
You can run there.

18:19.460 --> 18:20.520
That's fine.

18:20.800 --> 18:23.920
But we've got six other qubits sat idle.

18:23.920 --> 18:25.800
That's lost revenue.

18:26.120 --> 18:28.420
We could be doing even more throughput.

18:29.240 --> 18:35.900
And so if Eve comes in and says, I've got a two-bit operation as well, let's put Eve in.

18:36.780 --> 18:42.140
Because this maximizes the remaining possible qubits for even more users to get involved.

18:46.820 --> 18:49.380
And this is a piece of chasm.

18:50.220 --> 18:54.820
This is a textual representation of the computation we showed before.

18:54.820 --> 18:57.260
This is the Hadamard, for qubit one.

18:57.780 --> 19:01.100
And this is the CX gate, for qubits one and two.

19:02.060 --> 19:02.980
And this is the output.

19:02.980 --> 19:04.140
There's a little bit of noise, right?

19:04.140 --> 19:05.200
These machines aren't perfect.

19:05.200 --> 19:06.260
It's a little bit noisy.

19:07.160 --> 19:11.300
But 1, 1, 0, 0 being our most probable outcome.

19:13.740 --> 19:20.060
Let's flip back to here, and think about what might Eve do?

19:20.060 --> 19:22.180
This was foreshadowing.

19:22.180 --> 19:28.100
What might Eve's computation look like with those two qubits?

19:29.120 --> 19:44.370
If you think of this as user space, qubits one, two, Eve doesn't need permission from Alice's user space to drive an interaction.

19:45.570 --> 19:51.630
The way that Eve drives an interaction is entirely local to Eve's user space.

19:53.410 --> 19:55.710
And so I can do that.

19:59.280 --> 20:00.720
Ah, it's come out a bit small.

20:02.360 --> 20:05.900
But this is an extension of Chasm, called OpenPulse.

20:06.380 --> 20:15.280
And this is a language that gives access to... gives pulse-level access to users.

20:16.820 --> 20:19.280
So what is the program that Eve is running here?

20:19.280 --> 20:27.880
It's exactly what we looked at previously, which is Eve says, OK, I'm going to drive qubit 8, but not the usual frequency, not the usual energy.

20:27.940 --> 20:31.040
I want to drive it at qubit 1.

20:31.500 --> 20:33.500
And it's destroyed the results.

20:34.840 --> 20:36.500
This is what it should look like.

20:36.500 --> 20:37.960
This is what we get afterwards.

20:38.600 --> 20:39.440
It's a mess.

20:39.440 --> 20:40.360
It's garbage.

20:40.860 --> 20:41.820
It's useless.

20:43.020 --> 20:53.400
But what's hard about this is that the point of OpenPulse is to give researchers access to do things like sweep through frequencies.

20:54.100 --> 20:58.320
So it's a perfectly normal request to make.

20:58.320 --> 21:03.960
It doesn't look malicious, unless Eve is in a particular space.

21:07.700 --> 21:15.220
So that's our little demonstration of a classically-inspired quantum row hammer.

21:16.080 --> 21:24.140
We're able to destroy the results of another user without having to access their user space.

21:28.790 --> 21:30.330
How do we remediate this?

21:30.330 --> 21:31.510
Sorry, question?

21:31.730 --> 21:32.590
Exactly.

21:32.590 --> 21:33.830
That was my question.

21:33.830 --> 21:34.790
How do you remediate this?

21:34.790 --> 21:35.590
Yeah.

21:36.330 --> 21:37.530
Coming up soon.

21:37.530 --> 21:38.390
Yeah.

21:39.290 --> 21:51.910
So, in a lot of superconducting devices, architectures like Regettis, until this week, like ours, like IBM's, these are fixed.

21:51.910 --> 21:53.450
These couplers are there.

21:53.450 --> 21:54.330
They're in place.

21:54.710 --> 21:56.310
You don't get rid of them.

21:57.390 --> 21:58.870
So we just have to move Eve.

21:59.850 --> 22:04.490
There is no way that I'm aware of, if there is, let's think about it.

22:04.490 --> 22:06.490
We want to maximize usage.

22:06.770 --> 22:12.290
You just have to move Eve sufficiently far that she can't drive an interaction through many, many qubits.

22:13.090 --> 22:20.550
So you would just have to say, unless I can situate you sufficiently far, I can't thread this execution.

22:21.810 --> 22:30.330
There are other architectures that come with additional complexity with manufacturing, where you can tune these couplers.

22:30.330 --> 22:33.090
You can turn them on and off, basically.

22:33.150 --> 22:36.350
But it's very much harder to manufacture them and calibrate them.

22:36.350 --> 22:43.110
But that would allow you to start really packing in the possible simultaneous users.

22:46.360 --> 22:46.880
Yeah,

22:50.840 --> 22:55.780
you could.

22:56.040 --> 23:03.760
But if I was to genuinely implement this within our runtime, I would put them as distant as I can.

23:03.920 --> 23:11.940
Because I generally don't know that there isn't a way for Eve to drive a multiple qubit interaction.

23:19.980 --> 23:22.420
Yeah, maybe.

23:33.670 --> 23:34.550
Yeah.

23:49.690 --> 23:50.450
Precisely.

23:50.530 --> 23:52.910
I know that's precisely what I was trying to get forward.

23:52.910 --> 23:54.950
So in fact, the NDEX is probably a bit advanced.

23:55.310 --> 23:59.670
We're barely at ticker tape type machines.

24:00.490 --> 24:03.050
And there is more softness in here as well.

24:03.290 --> 24:05.370
Because I've laid this out in a ring.

24:05.750 --> 24:08.350
Physically, this isn't how it's laid out.

24:08.350 --> 24:11.730
Some of these qubits are pulled in slightly closer to one another.

24:12.150 --> 24:21.370
So there is this parasitic coupling you can get just by proximity.

24:21.370 --> 24:31.910
So things like the NDEX, moving couplers at 90 degrees or whatever you want to do, to try and shoot those any stray fields out into a vehicle.

24:32.830 --> 24:33.750
Absolutely.

24:36.170 --> 24:38.350
Any more questions before we move on?

24:38.350 --> 24:38.790
Yeah.

24:38.790 --> 24:39.610
Maybe.

24:43.410 --> 24:51.450
So, one thing you can do in the middle, with these qubits, you could apply some decoupling regime.

24:52.130 --> 24:56.530
In fact, you can drive the other qubits very, very hard and try to block out other interactions.

24:56.650 --> 25:01.330
Or just keep measuring qubits in the middle to stop interactions happening.

25:01.370 --> 25:04.610
But this is what I'd like to work out precisely.

25:04.990 --> 25:06.470
I'm speculating here.

25:06.470 --> 25:09.730
I don't know the best way to remediate against this problem.

25:10.730 --> 25:11.490
Yeah.

25:20.270 --> 25:21.270
Yeah.

25:21.270 --> 25:23.010
Something like that.

25:23.010 --> 25:25.490
It's very analogous.

25:25.490 --> 25:29.730
You want to remove any direct lines of contact with these things.

25:29.730 --> 25:31.490
That's a very good way to put it.

25:34.480 --> 25:35.920
Oh yeah, go ahead.

25:40.080 --> 25:41.280
Yeah.

25:47.000 --> 25:49.440
Yeah, exactly.

25:50.420 --> 25:57.800
It's hard, because I can cut off frequencies to prevent malicious exploration.

25:57.900 --> 26:03.820
But I have to allow the malicious frequencies, because that's how a regular computation is done as well.

26:03.880 --> 26:10.180
So I can block particular frequencies on qubit 8 while something's running here.

26:10.180 --> 26:13.180
But that would limit...

26:15.960 --> 26:19.160
the open-pulse interface would become limited.

26:19.340 --> 26:19.900
Which is fine.

26:19.900 --> 26:21.620
Open-pulse is very hard to use as well.

26:21.620 --> 26:23.020
Not many people use it.

26:23.520 --> 26:28.560
But yeah, blocking frequencies, hard-blocking frequencies could be a good way to do it.

26:28.560 --> 26:29.180
Absolutely.

26:29.900 --> 26:39.420
In a similar vein, would making it sort of polyphasic, so you have different phases shifting the phase around, or does that not actually have any effect in mitigating it?

26:39.860 --> 26:41.180
I don't think so.

26:41.400 --> 26:42.600
I don't know.

26:42.780 --> 26:43.740
Let's try it.

26:44.240 --> 26:47.360
Basically, the answer to almost every question is, let's try it.

26:48.100 --> 26:50.600
Should you think of phases that sound a bit slow?

26:50.980 --> 26:53.600
No, our phase shifts are instantaneous.

26:53.600 --> 26:54.640
They're done in software.

26:54.640 --> 27:04.420
So, if you have a rotation, like you have your vector here, instead of physically driving a phase change, you change phases.

27:04.540 --> 27:05.520
It's virtual.

27:05.520 --> 27:07.420
The phase shifts are free.

27:09.280 --> 27:10.360
Sorry.

27:10.360 --> 27:10.920
Yes.

27:14.380 --> 27:16.200
Any more questions?

27:16.200 --> 27:17.160
I'm loving this.

27:17.160 --> 27:17.940
Thank you everyone.

27:17.940 --> 27:20.880
What's your stability as far as you're on a microwave?

27:24.320 --> 27:25.600
I don't know.

27:26.320 --> 27:31.480
I'm only asking that because it has influence of things around us.

27:31.480 --> 27:33.140
Solar flares and stuff like that.

27:33.140 --> 27:35.040
It has a big impact.

27:41.630 --> 27:43.990
Yeah, absolutely.

27:43.990 --> 27:55.190
There was a paper from Google where they started doing some error correction experiments that implied that these solar flare, these solar events, were a limiting factor for how good their machine was.

27:55.970 --> 28:02.530
If we get hit by some solar flare here, the whole thing gets excited.

28:02.530 --> 28:06.290
It adds enough energy to drive the whole system into one or higher.

28:06.390 --> 28:08.650
Does it look like these were bits?

28:08.650 --> 28:11.390
Really, these are very high-dimensional systems.

28:15.290 --> 28:19.950
It's a problem for distributed HPC clusters as well.

28:19.950 --> 28:24.070
Bit flips somewhere here, and your MPI whole node goes down.

28:25.190 --> 28:28.270
Stick them in a lead-lined room in Colorado.

28:40.760 --> 28:42.180
Let's say it's analog.

28:42.180 --> 28:44.600
You can stick to the subset.

28:44.600 --> 28:50.260
Classical compute, reversible classical compute, is a subset of these quantum algorithms.

28:50.580 --> 28:57.020
So it's a generalization of classical compute to a probability theory sense of doing it.

28:57.020 --> 29:00.520
So you move away from just 0 and 1, which you can do.

29:00.520 --> 29:06.340
You can just do classical, like the NOT and the conditional NOT, and just do classical compute.

29:06.400 --> 29:08.680
You can build an adder quite easily.

29:09.140 --> 29:14.540
But we also have the possibility of adding these superpositions where you become analog.

29:24.000 --> 29:25.200
Yeah?

29:25.520 --> 29:30.620
Yeah , so currently each one of these has their own microwave control line.

29:30.680 --> 29:32.100
You can multiplex.

29:32.100 --> 29:37.300
You can send multiple tones down one driveline if you wish to.

29:37.580 --> 29:41.640
But most people tend to have one driveline per qubit.

29:45.280 --> 29:46.280
Say again?

29:47.900 --> 29:49.820
Yes, yeah.

29:49.820 --> 29:56.600
So in fact, our qubits are actually tiny, tiny, nanoscale fabrication.

29:56.800 --> 30:08.140
The size of this antenna is basically the size of the coax at the bottom, to pick up and couple towards that microwave driveline.

30:15.380 --> 30:16.780
Sorry, say again?

30:22.300 --> 30:24.680
Yeah, yeah, yeah.

30:24.680 --> 30:29.600
So this is part of the core IP of OQC.

30:29.600 --> 30:31.280
It's called the coaximum.

30:31.280 --> 30:43.160
If you are familiar with the transmon technology that many superconducting devices use, you have your control lines come in in-plane, and you have to solder them in, you have to flip chip to get it over.

30:43.460 --> 30:48.440
Our control lines come in perpendicular to the device and are air-gapped.

30:48.440 --> 30:55.800
So there's a sample pack shoulder, you just screw your control lines into the top, and it's lined up with the qubits underneath.

30:56.500 --> 30:58.340
If it goes wrong, there's air-gap.

30:58.340 --> 31:00.940
You flick out the done one, and you put a new one in.

31:06.660 --> 31:08.080
Sorry, say again?

31:09.620 --> 31:11.200
How many values?

31:11.200 --> 31:13.200
So like...

31:15.980 --> 31:20.420
Yes, so it's a continuous spectrum.

31:20.900 --> 31:25.100
So you have zero... it's a sphere, because you also have a phase.

31:25.200 --> 31:28.980
So you go anywhere between 0 and 1, so 0 plus 1.

31:28.980 --> 31:32.040
And then you can travel across the equator as well.

31:34.400 --> 31:38.780
What's your qubit resolution around that rotation?

31:38.820 --> 31:39.660
Good.

31:41.860 --> 31:42.300
Magnificent.

31:42.300 --> 31:43.360
Yeah, perfect.

31:47.060 --> 31:53.120
I couldn't say off the top of my head what our angle of resolution is, but phase is perfect.

31:53.180 --> 31:54.260
Let's give you a max phase.

31:58.220 --> 31:58.640
Yeah?

31:58.640 --> 32:04.880
So you said you keep the... you just excite the qubit, and then you keep the phase in software, right?

32:04.880 --> 32:05.580
Yes.

32:05.580 --> 32:12.940
And you bring these links into the diode that is controlled by software that allows or doesn't allow current to pass through.

32:14.000 --> 32:19.180
So that's something like the idea of these tunable couplers.

32:19.280 --> 32:25.760
But you can shift them, these couplers, very far out of the coupling space.

32:25.760 --> 32:31.960
So yeah, this is basically what people like Google do, and Regetti as of last week, these tunable couplers.

32:32.620 --> 32:37.700
Typically that's mediated by a magnetic field that kind of switches these things on and off.

32:37.940 --> 32:40.260
Yeah, but that's absolutely what some people do.

32:40.260 --> 32:53.180
So I'm thinking you could improve that and make it by dragging these phases in the next few weeks, and instead of it being, not being in a single phase, it would allow, software phases would allow to enable qubit to excite.

32:53.180 --> 32:53.460
Yeah.

32:53.460 --> 32:59.000
But you need to tie it with a single phase and either allow the second phase.

32:59.000 --> 33:00.600
Yeah, absolutely.

33:00.980 --> 33:06.280
And that's a challenging software and engineering problem to build.

33:06.440 --> 33:08.200
But a very good solution.

33:13.360 --> 33:14.280
Oh, sorry.

33:14.280 --> 33:15.340
Yeah, go ahead.

33:31.360 --> 33:32.840
Yes, absolutely.

33:33.040 --> 33:33.540
Yeah.

33:33.540 --> 33:39.600
So this is one way to drive a two-bit, two-qubit interaction, is the way I've described it.

33:39.600 --> 33:43.640
There are many, many other ways that involve pumping into these higher energy states.

33:43.640 --> 33:46.660
So you could do the same thing, go higher, and then...

33:46.660 --> 33:51.020
I mean, I'm not going to enumerate all the different possible ways to drive a two-bit interaction.

33:51.020 --> 33:52.380
It's basically continuous.

33:52.380 --> 33:54.160
There are no possibilities of that.

33:54.160 --> 33:55.240
Yeah, precisely.

34:00.540 --> 34:02.740
I think I'm going to move on to the next slide.

34:03.960 --> 34:05.840
I was going to say that.

34:06.780 --> 34:08.200
Just slide in.

34:08.640 --> 34:09.420
Yeah.

34:10.640 --> 34:14.820
I just want to throw this slide up to shout out some amazing researchers.

34:15.500 --> 34:18.380
This review of primary security of quantum computing.

34:18.380 --> 34:24.460
This is starting to become, to be seriously considered by many different researchers.

34:24.460 --> 34:30.420
Farooq Sarnash and Abdullah, IBM and Penn State, respectively.

34:30.800 --> 34:34.940
These folks are taking this very, very seriously.

34:34.940 --> 34:42.560
And there's not a huge body of work compared with, like, the body of work in hardware, the body of work in algorithms.

34:42.560 --> 34:45.380
But it's starting to get there and being taken seriously.

34:45.380 --> 34:53.700
As the computers get good enough and sophisticated enough that we can start to think about these sorts of threaded execution models.

34:54.580 --> 34:57.900
But you can see that this isn't just quantum.

34:57.900 --> 35:00.060
There's scheduler attacks.

35:00.060 --> 35:01.920
Everyone has a cloud API.

35:03.080 --> 35:13.010
There's a whole bunch of just classical security engineering that can lead things in unique ways in the quantum space.

35:14.340 --> 35:14.800
Yeah.

35:15.100 --> 35:18.580
We'll make these slides available so people can get these sources.

35:18.580 --> 35:26.900
But I'll say this is probably the best or the only review in the space of quantum security experts.

35:29.600 --> 35:31.020
So, Quickfire.

35:31.020 --> 35:35.480
I've got plenty of time for any more questions.

35:37.160 --> 35:47.300
Quickfire, these are just some ideas to get people thinking about what the different things that might happen, inspired by different classical software inputs.

35:49.200 --> 35:50.640
Overflow inspired.

35:51.280 --> 35:53.520
What happens if I ask for a number of measurements?

35:53.520 --> 35:55.340
What happens if I ask for zero measurements?

35:55.340 --> 35:56.780
Or minus one measurements?

35:56.780 --> 35:59.460
Or two to the n plus one measurements?

35:59.620 --> 36:01.280
This is all custom built.

36:01.280 --> 36:02.640
All this stuff is custom built.

36:02.660 --> 36:06.220
We're going to rediscover a load of overflow attacks.

36:07.440 --> 36:08.440
Woo!

36:09.520 --> 36:12.900
We talked about open pulse very, very loosely.

36:13.180 --> 36:19.660
Open pulse lets users define these microwave envelopes that get sent to the quantum computer.

36:20.060 --> 36:26.560
What happens if I ask for a massive pulse, a massive voltage, and one... you can put arbitrary times.

36:26.640 --> 36:29.480
I want the maximum voltage for three days, please.

36:29.480 --> 36:31.140
Let's heat that fridge up.

36:32.860 --> 36:35.960
And a slightly more subtle one.

36:36.200 --> 36:37.860
Qubit use after three.

36:37.860 --> 36:42.400
This is actually a suggestion from quantum village organizers.

36:43.440 --> 36:50.040
This is a different language spec, QIR, Quantum Intermediate Representation.

36:50.360 --> 37:01.120
For any Clang users, for any LLVM users, this is an extension of LLVM intermediate representation.

37:01.120 --> 37:03.540
That includes quantum elements.

37:04.540 --> 37:07.400
So that we can distribute our compute.

37:07.600 --> 37:10.880
You can power a server with CUDA to do some GPU acceleration.

37:10.880 --> 37:12.820
You can also throw in that quantum element.

37:13.520 --> 37:16.200
And the CUDA quantum project from the video is doing the first thing.

37:17.960 --> 37:19.200
But what have we got here?

37:19.200 --> 37:21.180
We've got an allocation and a release.

37:23.120 --> 37:25.120
Use after three.

37:25.120 --> 37:27.660
This is a problem classically.

37:27.660 --> 37:29.480
And we're rediscovering it.

37:31.900 --> 37:34.960
And just to get to the center, why would you do this?

37:34.960 --> 37:42.720
There's a lot of algorithms that temporarily require entanglement to other qubits to perform a computation.

37:42.720 --> 37:44.040
And then they don't care.

37:44.040 --> 37:47.920
But there's information still in those qubits after they've been released.

37:47.920 --> 37:49.960
So I could jump in and just measure them.

37:50.500 --> 37:52.520
Extract the information out of the system.

37:55.920 --> 37:56.640
What have we got?

37:56.640 --> 37:57.980
Side-channel attacks.

37:58.480 --> 37:59.980
Look at all these lovely labs.

38:00.560 --> 38:04.920
Look at all those lovely wires in free space and the LEDs that are blinking.

38:05.960 --> 38:09.000
That looks like side-channel attack vector space to me.

38:09.400 --> 38:13.160
Maybe you can tell me I'm wrong, but there's lots of resistive heating.

38:13.160 --> 38:13.980
There's LEDs.

38:13.980 --> 38:17.500
There's lots of ways that information would be leaked.

38:17.500 --> 38:20.760
Right now, it's not because of where these machines are situated.

38:20.760 --> 38:22.120
That's not a problem.

38:22.140 --> 38:31.680
When they start going out, when they start being openly sold to anywhere that isn't a very secure environment, this becomes a problem.

38:32.440 --> 38:35.220
So again, you see we take it very seriously.

38:35.260 --> 38:42.080
Our future deployments are taking place in data centers, our very, very secure environments, classically speaking already.

38:42.080 --> 38:43.020
...

38:46.080 --> 38:48.980
Very, very low power variance.

38:49.920 --> 38:50.980
...

39:01.800 --> 39:03.920
Yeah.

39:09.160 --> 39:11.460
Yeah, I agree.

39:11.460 --> 39:15.420
It's something to explore and understand.

39:15.420 --> 39:18.840
How much is that and will that affect us?

39:27.090 --> 39:27.770
Hysteresis.

39:27.770 --> 39:30.490
Sorry, there was a better name I've given about this.

39:30.770 --> 39:32.570
It's proven on security person.

39:32.570 --> 39:36.550
When you delete something on a memory stick and it's not deleted, it's still there.

39:36.550 --> 39:37.510
Whatever that's called.

39:37.510 --> 39:38.930
Whatever that exploit is.

39:38.930 --> 39:40.790
This is the other quantum version.

39:42.730 --> 39:43.670
So what happens?

39:43.670 --> 39:49.270
This is now threaded, not on a QPU, but shot to shot.

39:49.270 --> 39:53.510
So every measurement, I flick between a different user.

39:53.790 --> 39:57.430
Something like a fair scheduler in a cone.

39:57.430 --> 40:00.850
We're flipping between these different bits.

40:01.810 --> 40:05.470
If I'm in state one, we're adding energy into the system.

40:05.470 --> 40:08.110
So this is a higher energy level.

40:08.110 --> 40:12.610
It has to relax back down to zero in order to be safe for reuse.

40:13.690 --> 40:19.390
And it's an exponential decay, which is quick, but that's still not zero.

40:20.290 --> 40:23.770
So this is a setup problem that might go wrong.

40:24.770 --> 40:34.150
If I don't leave enough time between the shots, there's information still lingering in the system about who was previously running on the device.

40:35.210 --> 40:36.230
So Alice is shot.

40:36.230 --> 40:37.270
This might be genuine.

40:37.270 --> 40:40.070
This is trying to do something good for the world.

40:40.730 --> 40:42.950
Eve just comes in and says, I'm just going to measure.

40:42.950 --> 40:44.210
I'm not going to do any computation.

40:44.210 --> 40:45.170
I'm just going to measure.

40:45.730 --> 40:50.850
And if Alice is trying to generate graphic keys, I'm just going to measure those keys.

40:52.010 --> 40:55.090
So this is what our remediation is for.

40:55.090 --> 41:02.130
It's a good active reset, where we pump the entropy out of the system and make sure we're at zero.

41:02.130 --> 41:02.670
Yeah?

41:02.670 --> 41:12.970
The x-axis on your graph, is that 8 times 10 to the negative 5, or is that 8 times 10 to the negative 6, and then the end of the graph is 1e negative 5?

41:13.090 --> 41:16.210
Yeah, the whole thing is multiplied by 1e minus 5.

41:16.210 --> 41:17.170
OK, great.

41:18.790 --> 41:19.970
And this is real.

41:19.970 --> 41:22.890
It's T1, it's called, which is the relaxation energy.

41:22.890 --> 41:26.950
This is genuine data that we collected.

41:27.170 --> 41:31.830
These characteristics are very well understood in the physics space.

41:32.110 --> 41:32.710
Yeah?

41:32.710 --> 41:38.470
This actually means we're at the end of the universe, and we're in the magnetic memory.

41:38.470 --> 41:40.610
It's in the Apollo game.

41:41.430 --> 41:42.390
It is.

41:42.410 --> 41:48.310
It's exactly like that, where you have this dissipation of the energy that happens over some time period.

41:48.870 --> 41:49.290
Yeah?

41:49.290 --> 41:51.990
And it's very well based on Apollo data itself.

41:52.110 --> 41:53.050
Exactly.

41:53.130 --> 41:56.130
Every qubit will have a different, we call it, T1 time.

41:56.130 --> 42:01.290
This one has a T1 time of 22 and a half microseconds.

42:01.290 --> 42:07.290
Every qubit, they'll range, I think, way up to maybe 200 microseconds.

42:07.690 --> 42:11.190
In the industry, that is, 250 microseconds.

42:11.950 --> 42:13.890
Like, Google Gateway was very low.

42:13.890 --> 42:15.630
They were 30 microseconds.

42:15.630 --> 42:20.690
So there's a huge variation on what these relaxation times are.

42:24.180 --> 42:25.940
Timing attacks.

42:26.040 --> 42:29.900
Any crypto engineer here has another timing attack.

42:30.820 --> 42:39.300
These two qubit gates that I mentioned, they're not as simple as just drive it for 100 nanoseconds.

42:39.540 --> 42:41.580
They vary a lot.

42:41.580 --> 42:48.260
The calibration doesn't just check for the frequency, but it also does the amplitude, the length of time it takes.

42:48.480 --> 42:51.720
So here, this is the IBM Auckland device.

42:51.940 --> 42:57.320
And their range is 284 nanoseconds to 746 nanoseconds.

42:58.060 --> 43:04.360
But each two-qubit interaction varies between those two extremes.

43:05.240 --> 43:12.060
What that means is you can get some information about the structure of the circuit just based on how long it took.

43:16.190 --> 43:20.250
A remediation for this is you make all your gates the same length as the longest one, right?

43:20.250 --> 43:21.430
You add a delay in.

43:21.430 --> 43:23.330
Then maybe there's side channels there again.

43:27.330 --> 43:29.810
So now, that was all the bad news.

43:29.810 --> 43:31.870
All the ways it's going to go wrong.

43:31.870 --> 43:35.650
The last two slides I have are about some mitigations.

43:37.190 --> 43:40.290
This first one, blind computation.

43:40.350 --> 43:46.250
This is some work from Ann Broadbent, Jerry Fitzsimmons, and Elham Keshefi.

43:46.250 --> 43:57.130
Three astonishing researchers who were very, very pioneering in understanding the links between quantum computing and cryptography, and how they can really help one another.

43:59.370 --> 44:00.190
I'll brief you.

44:00.190 --> 44:01.670
What is this cluster?

44:01.670 --> 44:06.650
This is a new model, what we call measurement-based quantum computing.

44:06.690 --> 44:08.970
I'm going to brush over exactly the details.

44:09.410 --> 44:11.150
But what we do here...

44:11.150 --> 44:15.250
Previously, when someone asked for a two-bit operation, we did that for them.

44:15.750 --> 44:20.830
In this model, we preload all of the possible two-bit interactions.

44:20.970 --> 44:23.550
So we entangle our entire system.

44:23.550 --> 44:27.510
And then the way we do compute is just by doing measurements.

44:27.870 --> 44:30.270
Sequentially, on individual qubits.

44:30.610 --> 44:35.470
And the angle of those measurements changes the computation.

44:36.970 --> 44:38.750
Why is that important?

44:39.510 --> 44:42.730
This is classical verification-improver stuff.

44:42.730 --> 44:51.270
I have some computation that I want to perform.

44:51.270 --> 44:54.570
Basically, it's a series of angles.

44:55.230 --> 44:59.490
Of very particular angles, not just arbitrary.

45:00.950 --> 45:03.270
What I do, the client...

45:04.070 --> 45:11.110
So if I don't trust some machine, I inject a state into that machine that kicks off the whole thing.

45:11.790 --> 45:14.530
What that does is it gives me a one-time pad.

45:14.750 --> 45:20.510
I've encrypted my entire computation in the combination of angles and this injected state.

45:20.510 --> 45:29.710
So if I interleave my computations with genuine compute and trapped compute, that I know the answer for, by just doing 1 plus 1.

45:29.710 --> 45:31.530
It's probably more interesting than that.

45:31.530 --> 45:33.530
I've encrypted 1 plus 1.

45:34.090 --> 45:39.570
Then I can tell I'm being fooled here, because my trapped computes keep coming back wrong.

45:40.090 --> 45:47.110
But because it's one-time padded, the server has no way of telling the difference between the trapped and the genuine.

45:48.750 --> 45:59.810
So it's impossible to, theoretically, it's impossible for the server to trick you and pass the trapped and fail the genuine ones.

45:59.870 --> 46:01.270
This gives us assurance.

46:01.270 --> 46:05.330
It won't necessarily fix it, but it will tell you if you're being tampered with or not.

46:08.230 --> 46:13.170
In fact, in an incredible, very recent paper, they actually physically implemented this.

46:13.170 --> 46:14.530
Some really astonishing work.

46:14.530 --> 46:18.610
This has been decades of work to get to the point where they've actually done this.

46:19.610 --> 46:24.110
This is something that's very easy or hard, depending on your architecture.

46:24.430 --> 46:27.350
I talked earlier from Xanadu.

46:27.410 --> 46:28.970
For atomic devices, this is easy.

46:28.970 --> 46:35.110
You just stick a fiber optic cable into the front of your device, and you give me the other end, and I inject my states.

46:35.530 --> 46:38.390
Equally, some ion-trapped devices, it's quite easy to do.

46:38.390 --> 46:48.450
It is quite hard to do for superconducting-based devices, but there are proposals if you're working towards something like that.

46:51.290 --> 46:56.810
Just a sidebar, this isn't just for detecting if I'm being messed with.

46:57.330 --> 47:00.530
This also tells me that my device is running correctly.

47:01.070 --> 47:09.710
When I get to the point where I cannot verify the correctness of my answer, it's not MP, I can't check it for the rest of the time.

47:09.710 --> 47:12.790
Then I can use this method and say, yeah, your device is running well.

47:12.930 --> 47:14.990
So you can probably trust your answer.

47:18.680 --> 47:22.100
And the final mitigation is error correction.

47:25.880 --> 47:33.340
And this is RAM manufacturers bake error correction into their devices for very similar purposes.

47:33.340 --> 47:35.700
Well, there's a few reasons we do error correction.

47:37.240 --> 47:40.200
But let's take a classical error correcting code.

47:40.200 --> 47:44.180
We take any time I see a zero, I make that three zeros.

47:44.480 --> 47:47.500
Any time I see a one, I make that three ones.

47:47.720 --> 47:54.420
And then when I take a measurement, I take a majority vote and assume that approximately one error occurs.

47:55.560 --> 48:00.240
That's the simplest possible error correcting classical code.

48:01.160 --> 48:05.400
The difference with quantum compute is that we have two errors to correct for.

48:05.400 --> 48:14.080
We have this 0, 1 error, this bit flip error, where I said we also can traverse the equator between 0 and 1.

48:14.340 --> 48:17.000
So in this instance we have a phase error as well.

48:17.000 --> 48:19.260
I can go from 0 plus 1 to minus 1.

48:19.260 --> 48:22.680
So basically there's two equators I could bounce between.

48:23.760 --> 48:28.160
So we have to bake two errors into our error correction.

48:28.160 --> 48:36.900
This is a recent paper from Google demonstrating the phase flip and the bit flip error, demonstrating that you can correct for these things.

48:37.680 --> 48:41.800
And this is what people talk about when they say fault tolerant for quantum computers.

48:41.940 --> 48:46.260
It means that you are correcting for errors faster than they're occurring.

48:46.640 --> 48:48.920
And this could include malicious errors.

48:50.280 --> 48:52.180
This is a surface code.

48:52.180 --> 48:53.080
This is cool.

48:53.080 --> 48:57.860
They're not very good at highly correlated errors.

48:57.860 --> 48:59.280
So it's still not very good.

48:59.280 --> 49:02.020
If you get hit by a cosmic ray, you still die.

49:02.020 --> 49:04.340
There's not much you can do about that.

49:04.780 --> 49:08.600
But this is somewhat the end goal of quantum computing.

49:08.860 --> 49:15.580
And when we have full error correction, that's when you have to worry about things like Shor's algorithm and your cryptography.

49:17.060 --> 49:19.980
Current estimates may be 20 million cubits to crack.

49:20.060 --> 49:21.860
RSA 2048, I think.

49:22.100 --> 49:23.540
Don't quote me on that.

49:23.640 --> 49:24.960
We can Google it afterwards.

49:27.330 --> 49:33.130
Yeah, so this will really solve most of the problems.

49:33.130 --> 49:34.250
Not the side channels, of course.

49:34.250 --> 49:35.310
Side channels are always there.

49:35.310 --> 49:36.970
Time intact will still be there.

49:36.970 --> 49:39.310
But malicious intent, you can correct for.

49:50.580 --> 49:55.620
So this surface code is based off a torus.

49:55.640 --> 49:58.700
And you have one direction goes one way, and the other goes the other way.

49:58.700 --> 50:02.180
And it adds a lot of redundancy into your system.

50:02.520 --> 50:10.100
But the basic idea of error correction is you add redundancy into your system, such that if a few bits go wrong, you can detect that and correct it.

50:10.520 --> 50:12.940
Same as classical and quantum.

50:16.200 --> 50:18.480
This is my last slide, so any questions?

50:19.500 --> 50:20.540
No.

50:23.480 --> 50:25.180
I put my email down here.

50:25.180 --> 50:28.360
I'd love to hear any of your ideas, any suggestions.

50:28.360 --> 50:34.760
I want to get this conversation going between the quantum and hardware hackers and the regular hackers.

50:34.760 --> 50:38.420
I want to get our devices as secure as possible.

50:38.420 --> 50:45.240
So please give me an email, jfriel, j-f-r-i-e-l, out to quantumcircuit.com.

50:45.240 --> 50:47.320
And let's talk hardware hacking.

50:47.320 --> 50:48.160
Thank you for listening.

