WEBVTT

00:00.000 --> 00:01.400
Okay, welcome everybody.

00:01.400 --> 00:06.340
Thank you for coming on to Quantum Algorithms for Finding Short Vectors.

00:06.340 --> 00:11.780
Glad to see that the title didn't dissuade too many of you.

00:12.300 --> 00:16.860
So, let's see what we have here.

00:17.520 --> 00:20.480
Start off with a quick overview.

00:21.020 --> 00:27.740
So, first of all, Mark took a little bit of content from me earlier.

00:27.740 --> 00:29.720
I'm asking who does what.

00:29.720 --> 00:33.560
So, we'll quickly recycle that.

00:33.560 --> 00:36.680
It's helpful to know exactly who's in the audience.

00:36.680 --> 00:41.380
So, who identifies more as a quantum person?

00:42.460 --> 00:44.200
Quantum backgrounds?

00:44.440 --> 00:45.520
Excellent.

00:45.520 --> 00:48.160
Okay, who's more... we've got somebody over there.

00:48.160 --> 00:50.260
Who's more cyber security?

00:51.160 --> 00:52.780
Okay, cool.

00:52.780 --> 00:56.460
And then we say cryptography in particular.

00:57.400 --> 01:02.820
Okay, so hopefully a lot of this is going to be new and interesting there.

01:09.120 --> 01:12.720
So, the gist of cryptography.

01:13.260 --> 01:19.760
We've got a few cryptographers, but not too many people are native cryptographers.

01:19.940 --> 01:25.000
Generally speaking, we've got symmetric cryptography, which is kind of like the old stuff.

01:25.000 --> 01:30.780
Pretty efficient stuff, AES, hash database on that.

01:31.520 --> 01:34.740
And essentially it's lots of scrambling.

01:34.800 --> 01:42.980
It's kind of interesting, but the really juicy, interesting stuff, as far as I'm concerned, is in this public key cryptography.

01:43.220 --> 01:53.220
So, this is key exchanges, your digital signature algorithms, and this is all the wacky stuff which we wind back 70 or 80 years.

01:53.220 --> 01:58.320
Nobody really had even conceived that public key cryptography could really exist.

01:58.320 --> 02:09.460
How can you share a secret with another individual who you don't even have any kind of exclusive access to?

02:09.460 --> 02:10.920
Super wacky.

02:11.680 --> 02:20.100
Now, the interesting difference about public key crypto is that it's based on some kind of hard mathematical underlying problem.

02:20.100 --> 02:30.080
So there's some kind of juicy structure, and when you get into this, stuff gets all super wacky, and we're going to dive into that a little bit later.

02:31.200 --> 02:37.460
But basically, breaking crypto systems reduces down to just solving mathematical problems.

02:37.460 --> 02:48.100
And that's the really exciting bit, because until this point, mathematicians were really not very useful.

02:50.060 --> 02:56.080
Prime numbers were used for music a little bit, but this really gave us a reason to.

02:59.130 --> 03:00.670
So, what are we going to do?

03:00.670 --> 03:06.730
We're going to try and have a crack at this NP-hard problem, the shortest vector problem.

03:06.730 --> 03:13.510
And this is one of the problems which underlies these next-generation cryptosystems, which is based on lattices.

03:13.510 --> 03:15.430
It's a really cool family of cryptosystems.

03:15.430 --> 03:18.070
We're going to talk a little bit more about how that's taken on.

03:18.990 --> 03:23.950
And it's the hardness of solving the shortest vector problem that makes cryptosystems secure.

03:24.210 --> 03:31.730
And the reason I really like talking about and working on the shortest vector problem is because it's really...

03:31.730 --> 03:40.450
I mean, OK, it's a maths problem, but it's so geometrically beautiful and simple that I can actually say this to my parents.

03:40.570 --> 03:46.830
And whenever people ask my parents what I do, they say, oh, it's something like, find the sort of distance between points.

03:46.830 --> 03:49.350
And it's pretty comprehensible.

03:50.370 --> 03:56.730
And then what we're going to do is we're going to try and design a quantum SQD solver, which is...

03:56.730 --> 04:01.790
I guess that's the thing that got a few of you in here.

04:04.470 --> 04:12.750
So the actual structure, being concrete, is despite my maths background, I do not like equations very much.

04:12.750 --> 04:16.490
I'm up for ideas and pictures and understanding stuff.

04:16.490 --> 04:18.770
I want to understand the ideas and the concepts.

04:18.770 --> 04:22.610
The equations are just a way to get a number or a parameter.

04:22.610 --> 04:25.870
So not too much dry maths equations.

04:25.870 --> 04:31.010
And the ones that are, I try and keep to V equals X dot B.

04:31.230 --> 04:34.630
That's about as advanced as that gets, and a little bit of linear algebra.

04:34.630 --> 04:36.850
I'm going to try and go heavy on nice pictures.

04:36.850 --> 04:39.250
Nice pictures are far better for learning.

04:39.330 --> 04:43.970
And what we're going to do is we're going to use this problem.

04:43.970 --> 04:47.550
We've got a cryptosystem that we want to break.

04:47.550 --> 04:49.730
It's based on a mathematical problem.

04:49.730 --> 04:56.830
And we're going to create a quantum algorithm to try and see if we can have a crack at solving this problem.

04:57.470 --> 05:03.410
And this is a nice framework to basically take us the whole way through a workbook.

05:04.130 --> 05:12.650
So we can start off with a brief and high level intro to quantum computing, because we don't have many quantum native people there.

05:12.650 --> 05:17.970
And that's going to be given by Ryder here, who I will introduce momentarily.

05:18.690 --> 05:22.970
I'm going to take a spoon of continuous time quantum computing.

05:22.970 --> 05:25.270
So this is a really interesting paradigm.

05:27.050 --> 05:35.770
It's super different when we actually get into it and describe how it works to the gate model quantum computing, classical quantum computing.

05:36.470 --> 05:38.810
But actually it reduces to the same stuff.

05:38.810 --> 05:40.070
Super cool.

05:40.550 --> 05:47.390
Then Ryder here is going to give an intro to lattices and lattice problems and how it relates to cryptography.

05:48.790 --> 05:52.110
And then, we're getting to the business end now.

05:52.110 --> 06:01.110
How do we take these lattices and how do we map it to something that we can actually put on a continuous time quantum algorithm to solve?

06:01.830 --> 06:07.870
And at this portion, we are going to move to the interactive part.

06:07.870 --> 06:14.270
So if you've bought your laptops and you want to participate in this part, then we've got a couple of collabs for you to fill in.

06:14.270 --> 06:18.970
We're going to fill in the Hamiltonians.

06:19.190 --> 06:20.950
We'll explain what that is later.

06:22.070 --> 06:30.510
And hopefully, we're going to be able to submit these queries to the D-Wave 5000Q quantum solver.

06:30.610 --> 06:36.430
So if you haven't already got a D-Wave lead account, it takes two minutes to set up and it will give you an API key.

06:36.430 --> 06:37.990
You can just paste that in.

06:38.950 --> 06:43.030
And then, you just run the whole way through the notebook and just check out your results.

06:43.030 --> 06:47.910
And then, you can be reasonably confident that we won't be creating any of these cryptosystems anytime soon.

06:49.410 --> 06:58.250
And then, at the end, for those who don't want to participate in the actual coding part, then we'll do some interactive Q&A.

06:58.330 --> 07:02.690
There's loads of questions, loads of interesting discussion topics.

07:02.690 --> 07:10.750
And if anything, from however long I've been studying this workflow, there are far more questions than answers.

07:12.590 --> 07:16.590
And there's some interesting other content that we can move on to.

07:17.610 --> 07:21.450
So, without further ado, I'm David Joseph.

07:21.450 --> 07:24.990
I'm a senior research scientist at Sandbox AQ.

07:24.990 --> 07:30.250
And my specialities are quantum algorithms, looking at quantum atmospheres.

07:30.250 --> 07:36.210
So , one of the capabilities of quantum atmospheres against various cryptosystems.

07:36.310 --> 07:38.670
And that stuff gets super wacky.

07:38.710 --> 07:40.410
Very, very theoretical.

07:40.690 --> 07:43.370
And I do a bit of theoretical cryptography as well.

07:43.370 --> 07:49.610
So , you know, I think NIST just opened up new communication signatures.

07:49.630 --> 07:53.110
And , you know, a lot of people have been having a bit of fun with that.

07:53.190 --> 07:57.010
So, I'm on one of the consortia there.

07:57.010 --> 08:00.950
That's another topic you can't be outside of NIST talking about.

08:00.950 --> 08:02.310
That gets pretty wacky.

08:02.310 --> 08:09.570
And my glamorous assistant, which was promised to you in the abstract, is Ryder Lu Lin.

08:09.570 --> 08:10.990
So, over to you.

08:11.350 --> 08:12.550
Hello, everybody.

08:12.550 --> 08:13.830
I am Ryder Lu Lin.

08:13.830 --> 08:16.010
I am an intern at Sandbox.

08:16.010 --> 08:19.310
And I've been here for, I think, nine months now.

08:19.490 --> 08:21.170
Really enjoying my time here.

08:21.170 --> 08:22.630
Really interesting work.

08:23.310 --> 08:27.150
And my background is I have a math BA from UC Berkeley.

08:28.250 --> 08:31.110
And there's no real focus when it comes to a BA.

08:31.110 --> 08:34.030
But I did some work in cryptography research.

08:34.690 --> 08:36.950
More so, like, classical cryptography.

08:36.950 --> 08:38.770
So, not any of this quantum stuff.

08:38.770 --> 08:41.610
So, getting to do this was, like, a really fun experience.

08:41.730 --> 08:44.730
And getting to learn about all these quantum conjectures and stuff like that.

08:44.730 --> 08:45.530
So, yeah.

08:46.370 --> 08:47.910
And how old are you, Ryder?

08:48.610 --> 08:49.250
Oh, yes.

08:49.250 --> 08:50.290
I'm 19.

08:55.190 --> 08:56.130
All right.

08:56.130 --> 08:59.230
So, I'm going to give a quick introduction to quantum computing.

08:59.230 --> 09:02.650
So, this stuff sort of crosses into physics as well.

09:02.650 --> 09:04.590
And neither of us are physicists.

09:04.990 --> 09:08.290
So, we'll try our best to sort of give the high-level overview.

09:08.290 --> 09:16.310
But when it comes to specific questions about, like, how does one go about constructing a physical qubit, unfortunately, we're not really the best people to answer those questions.

09:16.310 --> 09:20.610
But if there are, like, any physicists here, then maybe you can ask them.

09:22.630 --> 09:24.430
First of all, what is a qubit?

09:24.690 --> 09:28.290
So, we're going to be approaching this from a sort of mathematical perspective.

09:28.290 --> 09:32.170
So, we can think of a qubit as a point on a block sphere.

09:32.330 --> 09:35.110
So, this diagram is a block sphere.

09:35.590 --> 09:40.750
And it's sort of a... you can think of a qubit as a vector, right?

09:40.750 --> 09:45.510
And so, in this case, we have the negative z being, like, a spin 1.

09:45.830 --> 09:47.970
Positive z, 0.

09:48.250 --> 09:50.050
This is sort of an arbitrary choice.

09:50.050 --> 09:51.910
This is just a mathematical representation.

09:51.910 --> 09:54.470
So, again, these are, like, arbitrary choices that we're making.

09:55.750 --> 09:56.890
But, yeah.

09:56.910 --> 09:59.390
So, how do we manipulate a qubit?

10:00.130 --> 10:03.910
So, to manipulate a qubit, we perform a unitary operation on it.

10:03.910 --> 10:07.670
And we'll go more into what a unitary operation is later on.

10:07.670 --> 10:12.550
But, sort of, the important part to keep in mind is that a qubit is sort of a vector.

10:12.550 --> 10:15.410
And it's more continuous than a classical bit is, right?

10:15.410 --> 10:17.510
A classical bit is either 0 or 1.

10:17.510 --> 10:19.630
A qubit, you've probably heard this, right?

10:19.630 --> 10:22.890
Sort of a superposition of multiple states.

10:25.730 --> 10:29.590
So, then, we can also talk about operations on single qubits.

10:29.590 --> 10:32.270
In the same way we can talk about operations on single bits.

10:32.750 --> 10:35.690
So, here we have four different operations.

10:35.690 --> 10:37.690
And these are called the Pauling matrices.

10:38.930 --> 10:40.770
So, we have the identity.

10:41.130 --> 10:43.310
We have that in classical computing as well.

10:43.310 --> 10:44.250
We have the bit flip.

10:44.250 --> 10:46.170
We have that in classical computing as well.

10:46.170 --> 10:49.810
And then we also have the bit phase flip and the phase flip.

10:49.810 --> 10:52.490
These we don't really have in classical computing.

10:54.290 --> 10:55.350
So, yeah.

10:55.350 --> 10:57.090
These are 2 by 2 complex matrices.

10:57.090 --> 10:59.150
That's the mathematical way to think of these.

10:59.810 --> 11:01.270
We have the identity.

11:01.270 --> 11:03.070
We have the X, which is the bit flip.

11:03.070 --> 11:04.190
Y, bit phase.

11:04.190 --> 11:05.670
And then Z, phase flip.

11:06.730 --> 11:07.950
And, yeah.

11:07.950 --> 11:13.470
Combinations of Pauling operators can span every rotation on that sphere that we showed earlier.

11:16.250 --> 11:21.010
So, it's very common to measure these in the Z basis.

11:21.010 --> 11:22.570
So, negative 1 to 1.

11:23.070 --> 11:28.970
And then we can refer to this as a S01 via that simple operator there.

11:30.190 --> 11:33.350
And then the concept of a QDID.

11:33.350 --> 11:34.430
So, very important.

11:34.430 --> 11:35.030
This D here.

11:35.030 --> 11:36.070
QDID.

11:36.070 --> 11:40.830
This is sort of an interesting problem to solve here.

11:41.050 --> 11:47.970
So, to create a QDID, which is a D energy level system, we can combine these operators over a set of K qubits.

11:47.970 --> 11:52.990
So, what we want to do here is essentially combine these qubits into a single QDID.

11:52.990 --> 11:55.850
So, we can sort of think of qubits as just 0, 1.

11:55.850 --> 11:58.550
And then a QDID as 0 to D.

11:58.670 --> 12:00.030
So, it's a digit.

12:00.030 --> 12:01.710
A generalization of a bit.

12:05.310 --> 12:10.210
Another important concept in quantum computing is the idea of entanglement.

12:10.810 --> 12:14.730
So, the idea is that multiple particle states are inseparable.

12:15.110 --> 12:22.970
Mathematically, this is encapsulated by the idea that a system state is a sum that cannot be written as a single product term.

12:23.850 --> 12:28.670
And then entanglement is broken by some sort of measurement or interference.

12:28.770 --> 12:30.570
This is called decoherence.

12:31.150 --> 12:33.370
So, here's a small example.

12:33.470 --> 12:46.530
So, if we have a spin-0 particle that decays into two spin-1-half particles, then we can say maybe we measure one of the spin-1-half particles and it's spin up along some axis.

12:47.310 --> 12:51.170
Keep in mind the conservations of angular momentum and stuff like that.

12:51.170 --> 12:56.370
Can anybody tell me what the other particle's spin has to be along that same axis?

12:56.890 --> 12:58.830
So, yes, I see you pointing down.

12:58.830 --> 12:59.390
You're correct.

12:59.390 --> 13:03.570
So, we have one of the spin-1-half particles pointing up, so the other one must be pointing down.

13:03.590 --> 13:09.830
So, this is an example of the decoherence that's because of the measurement or the interference.

13:13.650 --> 13:18.170
So, this one is a bit of a boring math equation, but it's not super important.

13:18.170 --> 13:21.570
This is just sort of an illustration of a two-qubit state.

13:21.770 --> 13:26.850
So, if you measure one qubit, you can immediately deduce the state of the other one without disturbing it.

13:28.730 --> 13:32.130
Okay, back to unitary operators, as I mentioned earlier.

13:32.610 --> 13:37.550
So, they are angle- and length-preserving operators in a vector space.

13:37.650 --> 13:40.050
And remember, qubits can be interpreted as vectors.

13:40.370 --> 13:46.250
So, in our context, what this means is that because they preserve angle and they preserve length, they're preserving probability.

13:46.570 --> 13:51.510
So, when we're measuring qubits, there's always this question of probability, right?

13:51.510 --> 13:57.530
Like, what's the probability that when measured, it's one, or when measured, it's zero, stuff like that.

13:57.530 --> 14:02.290
So, we always need this probability to sum to one, obviously, over all the different cases.

14:02.290 --> 14:06.270
So, that's why we need to have this preserving probability property.

14:08.170 --> 14:11.250
Another bit of a boring math equation, this one is Schrodinger's equation.

14:11.250 --> 14:12.370
It's actually quite cool.

14:12.510 --> 14:17.370
It's a differential equation, but it basically governs the time evolution of the system.

14:17.370 --> 14:26.790
And if you hold the h constant, which is the Hamiltonian, which we'll talk about later, if you hold that constant, then the differential equation has the solution at the bottom.

14:27.070 --> 14:31.010
And so, this is psi of t equals u of t times psi of zero.

14:31.030 --> 14:33.910
So, u of t, that's the unitary operator.

14:34.050 --> 14:38.070
So, that is the thing that is telling us the state at the given time.

14:38.070 --> 14:40.070
It's telling us psi of t, right?

14:42.690 --> 14:45.950
Okay, so now, on to qubit construction.

14:45.950 --> 14:49.470
So, I'm going to talk about two different methods of constructing qubits.

14:49.470 --> 14:54.470
We're only going to be using one of them in the example, because it is, frankly, much simpler to understand.

14:54.470 --> 14:58.850
And there are also some physical considerations that come into why we choose it.

14:59.110 --> 15:03.090
So, this one is the binary encoded method.

15:03.450 --> 15:10.890
And this is maximally space efficient, because we are combining qubits into a binary number.

15:11.130 --> 15:15.290
So, every value has a unique representation.

15:15.290 --> 15:19.070
It matters what place value each qubit is in.

15:19.850 --> 15:25.250
And so, this obviously needs high-quality qubits, but it's maximally space efficient.

15:25.250 --> 15:30.210
We need high-quality qubits, because if a single bit is flipped, it completely changes the number, right?

15:31.710 --> 15:36.330
And yeah, so here we can map the phase-flip operators onto these qubits.

15:36.330 --> 15:39.990
And then we get integers from negative 2k to 2k minus 1.

15:39.990 --> 15:46.270
That's not super important, but again, this is sort of just in words explaining what's going on in this big equation here.

15:48.570 --> 15:49.830
The Hamming weight method.

15:49.830 --> 15:52.790
This is the method that we are going to be using in the example.

15:53.390 --> 15:55.470
So this one, maybe pay a bit more attention to.

15:55.470 --> 15:57.510
It's also much simpler, which is nice.

15:57.650 --> 16:04.310
So, a qubit operator, or a qubit operator, sorry, here is just a simple sum of the qubits.

16:04.370 --> 16:08.650
Basically, we are counting the number of qubits in the plus 1 state.

16:08.650 --> 16:11.490
And that's giving us our qubit.

16:11.850 --> 16:16.150
So obviously here there are redundant representations, right?

16:16.270 --> 16:21.090
So 1, 0, or 1, negative 1, 1 is the same as 1, 1, negative 1.

16:21.090 --> 16:23.250
They both represent the same thing.

16:23.910 --> 16:25.770
But it's more robust.

16:26.970 --> 16:31.830
So, in this case, in our case, in the real world case, we have poor-quality qubits.

16:31.830 --> 16:36.170
And we have enough space to justify using the Hamming weight method.

16:36.170 --> 16:41.470
And so, because of this poor-quality, we can't really get away with using the binary encoding method.

16:41.750 --> 16:47.750
Because there's just too much risk of stuff going wrong, going very wrong.

16:49.530 --> 16:54.750
Okay, so now I'll pass it back to Joseph, or David Joseph, for taking your time to participate.

16:55.590 --> 16:57.150
Thank you very much, Ryland.

16:57.150 --> 17:07.730
Yeah, so in the gate model of quantum computing, in fact, I think actually QuantumVillage released an image generator for quantum circuits, right?

17:07.810 --> 17:08.810
A font.

17:08.890 --> 17:09.430
Sorry?

17:09.430 --> 17:10.030
A font.

17:10.030 --> 17:10.910
A font for quantum circuits, right?

17:10.910 --> 17:12.010
Q-type font.

17:12.050 --> 17:13.190
Absolutely magical.

17:13.190 --> 17:19.870
So, basically, you kind of start off somewhere with a state, and then you run through and you apply a series of gates.

17:21.170 --> 17:26.010
And there is some analogous mapping back to classical computing.

17:26.990 --> 17:28.650
It's all very dull.

17:28.690 --> 17:32.630
But continuous time in quantum computing is super weird, right?

17:32.630 --> 17:39.710
Because you take these physical systems, and then you just kind of, you know, jimmy a problem into there.

17:41.310 --> 17:44.750
And we'll talk about it a bit more with the pictures.

17:44.750 --> 17:47.010
So I get quite excited about this stuff.

17:47.330 --> 17:54.650
So it starts off with what we call AQC, or Adiabatic Quantum Computing.

17:54.650 --> 18:03.830
And the crux of it is this one theorem, which is that when you have a physical system, it remains in its instantaneous eigenstate.

18:03.830 --> 18:09.570
And that basically means that whatever its energy level, whether it's an electron, it's going to jump, or excite, or de-excite.

18:10.070 --> 18:18.310
If it is evolved under some Hamiltonian, according to Schrodinger's equation, super, super slowly, right?

18:18.310 --> 18:30.130
So it's like, as soon as you try to move something along too much, it's basically going to put too much energy into the system, and you're going to get some quantum dynamics.

18:30.250 --> 18:40.230
But if we move it really, I mean, it's actually been moved almost infinitely slowly, we can guarantee that that energy state is not going to change.

18:41.170 --> 19:02.010
So the corollary of that is that if we initialize this system in the ground state in some kind of easy thing to set up, and then we kind of slowly, I don't know, kind of sort of gaslight the system into some different Hamiltonian.

19:02.010 --> 19:05.430
But we do it so slowly, the system almost doesn't notice it.

19:05.430 --> 19:17.050
And the thing is, the one that we start off with is a really simple system, that's not so bad to initialize in, for example, the equal superposition of states.

19:17.290 --> 19:24.410
But the one that we finish off in basically represents a solution to some hard problem.

19:25.390 --> 19:34.650
And if we take this problem and we map it such that the solution we're looking for is the ground energy state, then voila!

19:34.650 --> 19:36.350
We've solved our problem.

19:36.350 --> 19:50.630
And all we need to do is have quantum systems that can remain coherent for going to the limit of infinity amounts of time.

19:51.050 --> 19:53.350
So therein lies the problem.

19:53.610 --> 19:59.250
Adiabatic quantum computation is, you know, great, fancy mathematically.

19:59.250 --> 20:02.830
But in the real world, it doesn't quite work so well.

20:04.090 --> 20:14.790
However, if we evolve the system much faster than the adiabatic limit, it turns out that we can still get relatively low energy states.

20:14.790 --> 20:19.910
So you might be excited, but you're still probably talking about pretty low energy eigenstates.

20:19.950 --> 20:27.370
And if you're looking for an exact solution, then maybe it means that one of your samples probabilistically will be in that ground state.

20:27.370 --> 20:29.110
You might not be excited.

20:29.110 --> 20:32.890
But it's also really good for approximate problems, right?

20:32.890 --> 20:39.130
So if you're, you know, you don't need an exact solution sample, but you need an approximately low energy state.

20:39.130 --> 20:43.550
And this is, you know, annealing maybe the quantum algorithm for you.

20:46.780 --> 20:55.860
So what I just said, this here would be your initial Hamiltonian, which H0 might be equal superposition of all states.

20:57.160 --> 21:03.180
Hp is this Hamiltonian, which is a system that represents your hard problem.

21:03.340 --> 21:07.100
And essentially that, the way I think about it, I mean, OK, we want a definition of it.

21:07.100 --> 21:13.100
It's a function slash matrix from one space of physical states to another, and it corresponds to the total energy of the system.

21:13.320 --> 21:15.880
And to me, that doesn't mean too much.

21:15.880 --> 21:23.940
The way I think about it is we have eigenstates, and eigenstates basically correspond to the configuration of bits, right?

21:23.940 --> 21:29.660
I'm going to diagram later, but it's just like, read off some bits, and that would be your eigenstate.

21:29.960 --> 21:32.000
And each state has an eigenenergy.

21:32.080 --> 21:43.520
And that eigenenergy, the lower energy states are going to be, the configurations of the low energies correspond to the solutions that are really good, right?

21:44.160 --> 22:00.980
And, you know, to be honest, the schedules that we use to move gradually from the initial Hamiltonian to the final one, you can take a linear Hamiltonian, sort of a linear schedule where we basically say, OK, let's just move the same distance at each time.

22:02.780 --> 22:05.440
Then you can kind of muck around with that.

22:05.440 --> 22:13.780
And it actually turns out the most efficient one is an S shape because of various quantum dynamics that I can talk about later.

22:13.780 --> 22:32.460
And I did see a paper recently where somebody had slapped on some deep neural nets to load these to optimize the exact shape of the S curve that you need to optimize your adiabatic quantum algorithm.

22:32.460 --> 22:42.820
So this is a prime example of a Lennon squeezer, or a physical system that is still absolutely inconceivable from an engineering standpoint.

22:42.820 --> 22:47.560
But somebody's already slapped a neural net on it to squeeze out a few extra marginal gains.

22:47.600 --> 22:49.340
I quite enjoyed that one.

22:51.660 --> 22:54.160
So the pictures I promised you.

22:55.280 --> 23:02.080
This here represents the probability and the energies of the equal superposition.

23:02.080 --> 23:04.880
So this is basically the system described by your H norm.

23:04.880 --> 23:11.200
If you take the state that you've initialized it in, and you sample from it, basically it's a uniform random sample.

23:12.260 --> 23:13.140
Useless.

23:14.280 --> 23:19.640
And eventually what we're going to get to is this probability distribution over all of the states.

23:19.640 --> 23:24.540
So basically this might be like 0, 0, 0, 0, 1, 1, 1, 1, 1.

23:24.540 --> 23:28.000
And every state in the Hilbert space that goes along.

23:29.320 --> 23:36.740
And essentially what this corresponds to is when you get to this final Hamiltonian, you've got this super localized wave function.

23:36.980 --> 23:45.420
And that means when you measure it, there's going to be a super high probability of measuring it in this one, in this state, which is great because it's the lowest energy.

23:45.420 --> 23:48.600
This is the solution you're looking to get.

23:48.920 --> 23:52.340
And what happens is this is done over time.

23:52.340 --> 23:53.780
So this is some intermediate time.

23:53.780 --> 23:57.160
And it kind of gradually molds like that.

23:57.160 --> 23:59.920
If you think about having...

23:59.920 --> 24:03.560
OK, so classically you might have a marble here and you want to get it there.

24:03.580 --> 24:07.480
Well, you know, that's not going to happen, is it?

24:08.940 --> 24:15.080
We talk about quantum tunneling, you know, because you go, OK, probabilistically you need to tunnel through this energy gap.

24:15.140 --> 24:27.500
The way I like to think about it in AQC is that you start with the marble here, and then as you slightly perturb it, the marble is always, every time, going to remain at the lowest energy point.

24:29.000 --> 24:41.680
And then as you gradually perturb it, that lowest energy point in the overall space is basically going to continuously evolve until it's down here.

24:42.500 --> 24:44.980
That's the way I like to think about it.

24:51.500 --> 24:52.780
So here we go.

24:52.780 --> 24:54.060
More diagrams.

24:54.060 --> 24:59.680
What happens here is this over here is our initial superposition.

24:59.680 --> 25:01.860
So, you know, equal superposition.

25:03.020 --> 25:06.380
And so the lowest energy state is going to be equal superposition.

25:06.480 --> 25:09.080
And these are different energy states here.

25:09.520 --> 25:10.800
And you see this ground state.

25:10.800 --> 25:19.240
As we evolve over time, the eigenenergies of these intermediate Hamiltonians, they all kind of like squeeze together.

25:19.240 --> 25:25.020
And then they open out again for the final problem Hamiltonian, which is where you measure it.

25:26.060 --> 25:28.420
What's the time complexity of this algorithm?

25:28.640 --> 25:35.620
The time complexity depends solely on how small this energy gap is, right?

25:35.620 --> 25:50.320
So if this energy gap gets super, super small, well, basically how slowly you have to evolve the system for it to be adiabatic and to avoid you basically making this jump depends on the square of this energy gap, right?

25:50.320 --> 25:51.940
So you see that's pretty horrible, right?

25:54.560 --> 25:58.680
And then, yeah, over here, again, we have our nice marble draw, right?

25:58.680 --> 26:05.780
So here, you know, quantum mechanical tunneling.

26:05.880 --> 26:10.200
You start up and you move it adiabatically and you find, you know, like the marble on the sheet.

26:11.100 --> 26:13.740
But yeah, so think about this.

26:13.740 --> 26:16.220
This time complexity is really not very nice.

26:16.220 --> 26:21.680
And the reason that we don't have good results for this class of quantum computing, right?

26:21.680 --> 26:25.700
So Shor's algorithm, Grove's algorithm, they're all in the gate model.

26:26.020 --> 26:42.340
In the continuous time model with adiabatic quantum computing, all we have is this bound based on the intermediate Hamiltonian's eigenspectrum, take a slice, what does this look like?

26:42.420 --> 26:49.600
And the problem is, it's not at all easy to understand what this intermediate eigenspectrum looks like.

26:49.640 --> 26:56.780
We can maybe understand what this eigenspectrum looks like, but this is probably a hard problem just to understand classically.

26:57.260 --> 26:59.520
We definitely know what this one is.

26:59.560 --> 27:02.520
But the intermediate problems, very, very difficult.

27:05.570 --> 27:12.390
So the implications are, one, we've got this time complexity gap given by the minimum energy difference, right?

27:12.390 --> 27:13.610
So that's a problem.

27:14.210 --> 27:19.810
We begin in the ground state and evolve it slowly enough, no jumping.

27:19.910 --> 27:26.330
If we evolve it a little bit slowly, but not adiabatic, then we get a little bit of energy jumping.

27:26.530 --> 27:30.670
And essentially that means that at the end, we'll get a bit of a Gibbs distribution.

27:30.810 --> 27:43.990
You'll notice that if you look at the energy of the things that you've sampled from, you'll have basically energy solutions that will kind of be sampled from some kind of Gibbs heat distribution.

27:44.990 --> 27:51.930
This model is, even though it looks completely like it's from another world, it is equivalent to the circuit model.

27:51.930 --> 27:55.990
And it is universal, the adiabatic version, right?

27:55.990 --> 28:01.630
It is polynomial equivalent, which is, I guess, a word mathematicians used to say.

28:01.630 --> 28:10.410
I mean, polynomials can be pretty big, but if you're a mathematician, you just kind of have to say it.

28:10.650 --> 28:17.450
So basically, you can solve one problem, then you can solve another problem in a few hours more, basically.

28:17.670 --> 28:20.110
But for cryptographers, it's good enough.

28:21.710 --> 28:25.270
And in practice, it requires very long coherence times, right?

28:25.270 --> 28:31.370
So yeah, don't worry about long coherence times with the D-Wave.

28:35.450 --> 28:38.090
So we're going to try it out on the D-Wave from Manila.

28:38.090 --> 28:42.550
If you've got your laptop and your D-Wave account, feel free to set up that account.

28:42.550 --> 28:43.890
We're going to try this out later.

28:44.810 --> 28:47.970
It has 5,000 qubits with an asterisk.

28:47.970 --> 28:54.290
So you're not comparing these qubits to the, I don't know, what is it?

28:54.290 --> 28:57.310
The Osprey chip, I reckon it has 400 or something?

28:57.310 --> 28:59.390
Yes, Osprey 427.

28:59.510 --> 29:01.190
427, right.

29:03.610 --> 29:10.470
D-Wave and IBM use the same word, the same five or six letters.

29:11.030 --> 29:14.970
There is really very little equivalence between the two.

29:14.970 --> 29:23.750
In fact, almost the notion of a qubit in that physical sense with so many dozens of technologies, that is pretty crazy.

29:23.750 --> 29:25.470
So that's a whole different debate.

29:26.350 --> 29:29.130
There are lots of couplers, probably 25,000 of them.

29:29.130 --> 29:33.290
And each qubit is connected to 15 other qubits, right?

29:33.290 --> 29:52.090
So you can entangle a qubit directly with 15 other ones, but you're not going to entangle every one of those 5,000 qubits with every other one of those 5,000 qubits, which is ideally what we'd like to be able to do, because the secret, the magic source of quantum algorithms is entanglement,

29:52.090 --> 29:52.750
right?

29:52.750 --> 29:56.010
If there's no entanglement, you're running a classical algorithm.

29:56.010 --> 30:01.770
So the more connectivity you can get, the more quantum advantage, you're going to see.

30:05.150 --> 30:07.490
And what does this look like?

30:07.910 --> 30:13.370
So this might actually be a diagram of the Hameric topology, which is from the 2000Q.

30:13.370 --> 30:15.530
And this is a diagram of that qubit.

30:15.530 --> 30:20.290
So you see each qubit is connected to a cluster of other qubits.

30:20.630 --> 30:25.010
And then each cluster is connected to a cluster of other qubits.

30:25.770 --> 30:37.610
So you may be wondering, well, I've turned up here with my NP-hard, or whatever hard, fully connected problem.

30:37.850 --> 30:41.030
I want everything to be entangled with everything else.

30:41.290 --> 30:42.770
What am I going to do with that?

30:42.770 --> 30:51.670
Well, fortunately, there are mappings, which takes these 5,000 alleged qubits, and it reduces them to a much smaller set.

30:51.670 --> 31:02.170
But what happens is, you set these qubits to be basically very strongly interacting with other qubits, and you create a qubit chain, right?

31:02.170 --> 31:04.150
And by using these chains of qubits...

31:04.150 --> 31:06.870
So this is what Hewitt called a logical qubit.

31:06.870 --> 31:12.050
Other people call them logical qubits, like an error-corrected qubit.

31:12.050 --> 31:15.350
But these are not what I would call error-corrected.

31:15.350 --> 31:24.370
So I think the quantum computing community needs to have a sit down and discuss pedagogy and naming.

31:24.710 --> 31:30.890
But these qubit chains, essentially, can be all-to-all connected.

31:30.890 --> 31:38.030
So here you can see that qubit 4 and qubit 5 aren't connected, but we can create that in an all-to-all connected way.

31:38.170 --> 31:41.330
And the cost of that mapping is roughly quadratic, right?

31:41.330 --> 31:51.450
So if you've got 10 actual qubits in the problem that you want to solve, then when you map it into this thing, maybe you'll have 100 on that, right?

31:51.450 --> 31:52.670
Something like that.

31:52.930 --> 31:55.850
So there's a cost to it, but it's doable.

31:56.150 --> 32:03.370
And the actual D-Wave SDK has a mapping so that you don't need to worry about that.

32:06.020 --> 32:11.520
And so Ryder is going to send us through Lattices, which is really exciting.

32:11.520 --> 32:14.240
Ryder, you're slightly behind time.

32:14.540 --> 32:17.240
So, enthusiasm.

32:18.340 --> 32:20.100
Not too much work.

32:23.240 --> 32:28.100
Okay, so just quickly, why are we bothering with any of this in the first place?

32:28.100 --> 32:36.100
Classical cryptography mainly relies on integer factorization, or something like it, which is broken by Shor's algorithm.

32:36.100 --> 32:38.500
You've probably heard of Shor's algorithm before.

32:38.500 --> 32:44.560
It basically uses quantum Fourier transforms to do some crazy stuff.

32:44.920 --> 32:50.100
And it basically reduces most integer factorization, etc.

32:50.100 --> 32:57.540
problems from super polynomials to faster than polynomials, down a lot.

32:58.580 --> 33:05.040
It's not super important to what we're doing, but I'll just mention this is why we want to bother with any of this in the first place.

33:05.040 --> 33:14.540
So instead, Lattices, they offer new hard problems, like the closest to Shor's vector problems, which we'll talk about later on, to base cryptosystems on.

33:15.520 --> 33:17.020
And then what is a Lattice?

33:17.020 --> 33:24.440
A Lattice is just a repeating pattern of points in n-dimensional space defined by n linearly independent basis vectors.

33:25.320 --> 33:28.780
So this is an example of a Lattice, this picture right here.

33:29.500 --> 33:35.380
So we have a basis, like a regular vector space.

33:35.420 --> 33:47.720
So we can call these b1's at the end, and then instead of the vector space being any linear combination of those basis vectors, we instead just take the integer linear combinations of those basis vectors.

33:47.720 --> 33:50.320
And that's how we get this repeating pattern right here.

33:50.540 --> 33:55.740
And so we can define a Lattice vector as v equals x times v.

33:56.460 --> 34:00.200
And all Lattices, just like other vector spaces, have many bases.

34:00.500 --> 34:02.000
And so this is the key right here.

34:02.000 --> 34:03.580
These many different bases.

34:04.220 --> 34:07.800
We want short bases, we do not want long bases.

34:07.800 --> 34:09.640
And we'll talk about why later on.

34:11.400 --> 34:13.640
So, shortest vector problem.

34:14.360 --> 34:15.640
Shortest vector problem.

34:15.960 --> 34:18.180
Find the shortest vector in a Lattice.

34:18.180 --> 34:23.000
If we're given a basis that is the shortest vector, then that's very easy, it's right there.

34:23.000 --> 34:31.720
But if we're given a basis that is made up of multiple very long vectors, then the shortest vector might be some linear combination of those two very long vectors.

34:32.580 --> 34:37.100
And the closest vector problem is sort of the same as the shortest vector problem.

34:37.100 --> 34:48.580
The closest vector problem is just given some point in Rn, so not on the Lattice, but just somewhere in the real vector space, find the closest Lattice point to it.

34:48.580 --> 34:59.460
So we can see right here that blue star right there might be that point that we're given, and then the green circle is maybe the error that we're willing to accept.

34:59.680 --> 35:03.640
So the red dot in the second photo is the closest vector.

35:03.640 --> 35:06.220
That's the ideal, that's the best solution.

35:06.300 --> 35:11.580
But the green points inside that circle are vectors that are maybe close enough.

35:11.720 --> 35:13.520
Yeah, polynomially close enough.

35:13.520 --> 35:22.100
So as David was saying about how adiabatic quantum computing is good for getting maybe very close to the right solution, this is the same thing.

35:22.100 --> 35:23.540
We're getting close to the right solution.

35:23.540 --> 35:26.940
Maybe we're not actually getting the right solution, but it's good enough.

35:29.000 --> 35:32.080
So learning with errors, this is what LWB stands for.

35:32.080 --> 35:41.740
Learning with errors is the next step up from the shortest vector, closest vector problem, to building a full cryptosystem based on Lattices.

35:41.740 --> 35:47.260
So the idea is that we are hiding a secret with some noise, some error, E.

35:47.380 --> 35:52.740
The equation for that would just be like A times the secret plus the error is some B.

35:52.740 --> 35:57.780
And then we can use A and B as public keys, and then S as the secret key.

35:58.980 --> 36:02.600
And so there's two different versions of the learning with errors problem.

36:02.600 --> 36:10.080
There's the search version, which is we want to actually find S given A and B.

36:10.080 --> 36:15.020
There's the decision problem, which is distinguishing from the output.

36:15.460 --> 36:21.100
Distinguishing from A and then distinguishing just from some random something.

36:22.760 --> 36:27.540
And solving learning with errors is a special case of the closest vector problem.

36:27.540 --> 36:34.780
And the reason for that is we can see in this diagram right here, this sort of looks like a two-dimensional normal distribution.

36:35.840 --> 36:54.900
The idea is that if we take some distribution on the error, and we apply that to the A S plus E equation, then we'll end up like if the closest vector is that thing in the middle at the peak of the distribution, then we'll get a bunch of vectors around that when we sample the error.

36:55.860 --> 37:02.140
And so that's the sort of green circle on the previous slide.

37:02.140 --> 37:13.060
So that blue would be like near the middle of that distribution, and then that green circle is that sort of circle in this gaussian line here.

37:15.460 --> 37:16.840
And then here...

37:18.100 --> 37:28.000
Yeah, and so learning with errors is the basis of two of the post-quantum cryptosystems that NIST and NASA are standardizing.

37:28.000 --> 37:29.760
There are four that they're standardizing.

37:29.760 --> 37:32.660
One is Sphinx, it's on my T-shirt.

37:32.820 --> 37:35.640
Somebody designed a lovely T-shirt after last year's talk.

37:37.040 --> 37:39.940
And then there are two based on learning with errors.

37:39.940 --> 37:53.680
But basically, many, many of the latter schemes are based on this learning with errors problem, which is essentially, if we could include a slide where we show you how you encrypt a bit using this learning with errors thing, we don't have time for that.

37:54.060 --> 37:58.800
But essentially, as Ryder just explained, it is the closest vector problem.

37:58.800 --> 38:12.880
So if you can find close vectors, then please write a letter to NIST and explain all of your workings, and they'll remove these post-quantum systems from the running.

38:14.200 --> 38:17.520
There's not much danger of that, unless you've already written to someone.

38:21.180 --> 38:23.840
So annealing and encoding in the Ising model.

38:23.840 --> 38:25.840
Right, so we've done lattices, right?

38:25.840 --> 38:26.720
It's super simple.

38:26.720 --> 38:34.440
And if anybody was looking at those diagrams thinking, dude, come on, that looked like super easy to find those short vectors.

38:34.440 --> 38:37.000
That's because that was in two dimensions, right?

38:37.280 --> 38:42.340
That is not a cryptographic level of hardness.

38:43.040 --> 38:47.640
Usually these are done in sort of high hundreds or low thousands of dimensions.

38:47.780 --> 38:51.000
If you haven't structured it, it's a little bit different again.

38:51.000 --> 38:53.740
But in two dimensions, you can visualize what the problem is.

38:53.740 --> 38:54.940
It's very geometric.

38:54.940 --> 38:56.080
It's very simple.

38:56.080 --> 39:14.520
And now we need to work out how we take that, and we put it into this diagram of, you know, it starts with a marble, we move it to a rock, and we end up in some kind of no-energy state, which corresponds to a vector, which is in that little circle that Ryder just explained.

39:14.520 --> 39:16.220
So , okay.

39:17.540 --> 39:19.780
We're still rattling through.

39:20.200 --> 39:24.380
Okay, so quickly talking about what the Ising model is.

39:25.140 --> 39:29.820
Originally, it was for modeling aero-magnetism in materials.

39:30.920 --> 39:33.680
That's not at all what we're using it for here.

39:34.280 --> 39:47.600
So, in this case, in this equation here, sorry, another boring equation, but in this equation here, the J's are the interaction terms between qubits, which is the part that's introducing the entanglement.

39:48.020 --> 39:49.580
The S's are the spins.

39:49.580 --> 39:54.360
And then the H is just the on-site energy term for that particular move.

39:54.360 --> 39:55.580
That particular qubit.

39:56.200 --> 39:59.460
And we are encoding the shortest-vector problem.

39:59.460 --> 40:05.040
So in our example, we're going to be encoding the shortest-vector problem into the Ising model as Qubo.

40:05.040 --> 40:09.980
Again, it's not super important what Qubo means, it's just a type of optimization problem or expectation.

40:13.680 --> 40:18.420
And so when we talk about encoding, we need to talk about the Hamiltonians, right?

40:18.420 --> 40:20.560
What are our choices of Hamiltonian going to be?

40:20.560 --> 40:28.340
So the initial Hamiltonian is just going to be induced by Pauli-X operators, which are the bit-flip operators, if you remember.

40:28.340 --> 40:30.600
So those are just denoted by the sigmas here.

40:31.120 --> 40:36.560
And this relaxes the system to begin with, and is responsible for the exploration part.

40:37.140 --> 40:40.440
And this acts perpendicular to the Z-basis problem Hamiltonian.

40:40.440 --> 40:43.800
Not super important what that means, but yeah.

40:50.160 --> 40:56.640
So what you see here is a representation of a vector's length.

40:56.860 --> 41:09.040
Because when we have a basis, and we're told, find a combination of these basis vectors, that will give you a series of long chopsticks in n-dimensional space.

41:09.040 --> 41:12.000
We need to combine the chopsticks to find a short vector.

41:12.420 --> 41:15.880
And how long is the vector that we're going to end up with?

41:16.400 --> 41:21.660
So these xi's are the combinations, right?

41:21.660 --> 41:30.300
So we'll have five of that first basis vector, please, and minus three of the second one, and you pick your combination.

41:30.540 --> 41:36.240
And at the end, we end up with a vector length, which is the length of V.

41:36.700 --> 41:42.380
Now we can actually write the square of that vector length like this, right?

41:42.380 --> 41:47.520
This is basically just saying V equals X dot V, right?

41:47.820 --> 41:51.380
You take the two norm of that and square it, right?

41:51.380 --> 41:54.840
So this is just Pythagoras.

41:55.320 --> 41:57.880
It's really nothing more than Pythagoras.

41:58.280 --> 42:04.600
And if you write that out, and you expand all the terms, it's just this.

42:05.160 --> 42:10.840
Now, what does this look like when we turn this into our Ising model?

42:10.840 --> 42:12.620
This is key.

42:18.380 --> 42:25.740
So essentially, we can think of this as this X as being the output of our qunit, right?

42:25.740 --> 42:29.420
So we're going to put in the basis, that's the input, right?

42:29.420 --> 42:31.020
That describes our lattice.

42:31.020 --> 42:38.620
And what we want to read off of the quantum algorithm, we want to read off, like, okay, what is the combination of the basis vectors?

42:38.620 --> 42:41.260
So what is this vector X?

42:41.260 --> 42:47.720
So we get given V, we want to work out what X gives us short V, right?

42:47.720 --> 42:50.120
And so these X are what we want to output.

42:52.100 --> 42:56.240
And what that looks like is, okay, let's say that we've got a grid of qunits.

42:57.880 --> 43:04.920
This grid over here, as I was saying, you can construct your qunits any way that you want.

43:05.640 --> 43:11.000
If we do the Hamming version, where we just sum them up, then maybe this would be like 3, right?

43:11.040 --> 43:15.320
If we do the binary version, then 1101 is 13, right?

43:15.320 --> 43:20.960
So it's up to you how you construct your qunits, and there are reasons why you might think one way.

43:20.960 --> 43:24.500
But essentially, this is your X, right?

43:24.500 --> 43:27.160
So X1 times P1, right?

43:27.180 --> 43:34.620
So we'll have 13 of basis vectors 1, we'll have 5 of basis vectors 2, and so on and so forth.

43:34.620 --> 43:38.340
And so this is what this looks like classically.

43:39.960 --> 43:48.980
Now, we just need to take these Xi's and turn them into qunit operators.

43:48.980 --> 43:49.820
That's all you do.

43:49.820 --> 43:50.760
Super simple.

43:52.200 --> 43:53.240
Voila.

43:53.640 --> 43:56.920
And also, the Bi dot Bj, right?

43:56.920 --> 44:01.700
Again, this is just like, take a basis vector, dot product it with the other basis vector.

44:01.700 --> 44:06.040
And what this is, is basically, you take the whole basis as a matrix.

44:06.120 --> 44:09.380
You line up the basis vectors in its matrix.

44:10.000 --> 44:15.880
You multiply it with its transpose, and it gives you another matrix called the Gram matrix, right?

44:15.920 --> 44:20.660
It's basically like a matrix of overlaps, right?

44:20.660 --> 44:26.420
It's super simple, it's just you take the basis, matrix multiply it with its transpose, and you get this.

44:26.420 --> 44:33.780
So basically, you've got a qubit operator times another qubit operator with this Gram coefficient.

44:33.920 --> 44:37.740
And that is our problem Hamiltonian, right?

44:38.480 --> 44:47.240
So, as Ryder just explained, the initial Hamiltonian we might use is Pauli X operators on everything, right?

44:47.240 --> 44:49.880
We call this a relaxing Hamiltonian.

44:49.880 --> 44:51.640
I quite like that term.

44:51.640 --> 44:56.740
Because basically, it relaxes the system and explores the space.

44:56.980 --> 45:00.500
This Hamiltonian localizes the wave function.

45:01.900 --> 45:09.960
So, if you go on to fit things like the QAOA algorithm, which is where you apply them one, then the other, then one, then the other.

45:09.960 --> 45:12.900
It's kind of like, you relax the system a bit, you localize it a bit.

45:12.900 --> 45:15.980
You relax the system a bit, you localize it a bit.

45:18.160 --> 45:20.480
And again, we can talk about that later.

45:20.520 --> 45:24.280
QAOA is another thing where we don't know whether it's going to be fantastic or not.

45:24.280 --> 45:27.020
But there's some great ways to have that too.

45:28.740 --> 45:35.160
So, what we're going to do now is build the DIY quantum matrix.

45:35.160 --> 45:41.780
So, if you're interested in this part, we have some notebooks.

45:41.780 --> 45:43.260
I've shortened the URLs.

45:43.260 --> 45:48.280
If people would feel more comfortable to see me open these short URLs, I will do it.

45:48.780 --> 45:50.880
But I promise you they're the same.

45:52.980 --> 45:54.640
And let me know if they don't work.

45:54.640 --> 46:03.100
So, you need a D-Wave count, which will give you basically an API key, which will be useful if you want to actually see what you're getting back from D-Wave.

46:04.020 --> 46:06.520
This is the fill-in-the-blanks polar.

46:06.800 --> 46:10.460
And this is going to be the answers, right?

46:10.460 --> 46:14.940
So, we're basically going to build this Hamiltonian that we just described.

46:15.380 --> 46:17.100
Then we're going to go through.

46:17.100 --> 46:24.440
We're going to see what the bit strings we get back from D-Wave are.

46:24.520 --> 46:26.380
And then we're going to post-process it.

46:26.380 --> 46:30.260
And then we're going to understand exactly what these bit strings actually mean, right?

46:30.300 --> 46:32.200
So, we get a bit string.

46:32.700 --> 46:36.820
Okay, first of all, we're going to turn that into the QDIS, right?

46:37.500 --> 46:41.920
Which, remember, the Hamming version, we basically just sum them up and divide by two.

46:41.920 --> 46:44.540
So, that's what the X vector is.

46:44.980 --> 46:55.980
And then we're going to check that the eigenenergies that D-Wave gave us correspond to taking that vector, the X vector, and multiplying it with the basis.

46:56.280 --> 47:00.760
And then we can basically see what kind of eigenenergies we get.

47:00.760 --> 47:04.380
And then you can play around with the parameters in D-Wave and basically figure out.

47:06.040 --> 47:11.780
Yeah, I mean, you know, try putting in a really long coherence time.

47:11.780 --> 47:14.060
See if it makes your algorithm work much better.

47:16.160 --> 47:18.660
In pink, it doesn't.

47:18.680 --> 47:23.660
Because there's a lot more engineering to be done on that side of things.

47:23.660 --> 47:26.760
But the 5000Q is much better than the 2000Q in my experience.

47:28.060 --> 47:38.240
And if you have not bought your laptop, or you don't want to do that, then I'd like to invite people to ask some questions or try a bit of interactive discussion.

47:39.500 --> 47:47.900
And then people who do want to try this, just kind of crack on with it and put your hands up and we'll come over and explain.

47:50.720 --> 47:56.660
Just keep in mind, when you have your D-Wave leap account, you have a limited amount of time on the processor.

47:56.660 --> 48:00.540
So don't try a crazy coherence time or something like that.

48:00.540 --> 48:02.020
Just be mindful of that.

48:02.020 --> 48:05.960
And you can check the amount of time you have left on the website.

48:06.300 --> 48:14.780
But just running through the notebook once with all the right answers, I think usually only uses about 0.15% of the computing time.

48:15.060 --> 48:17.160
So you don't have to worry about it too much.

48:17.160 --> 48:18.160
Just keep it in mind.

48:18.900 --> 48:28.880
And also, because we've got the answers here, if you are lazy and not good at maths, then you can also just run through it and just play around with the D-Wave stuff anyway.

48:28.880 --> 48:34.740
And don't bother with the Pythagoras stuff and the linear algebra.

48:34.740 --> 48:49.520
And then what I'm going to do is, in sort of about half an hour, if people are interested, we can talk about other approaches, some adjacent topics, which kind of you can take different directions in.

48:49.520 --> 48:55.560
So we'll revisit the slides, but yeah, let's go with that.

48:55.560 --> 48:59.700
Put your hands up, ask questions, get stuck in.

49:04.420 --> 49:07.640
What exactly is D-Energy?

49:08.940 --> 49:10.660
Let's go back.

49:17.960 --> 49:22.880
So a Q-Dit would look like...

49:24.120 --> 49:30.440
Picture a Q-Dit which has values between 0 and 15.

49:30.440 --> 49:35.480
So this would be 4 qubits, which are constructed.

49:35.520 --> 49:40.360
And let's say that their eigenenergies are the extra value, right?

49:40.360 --> 49:44.800
So 0 has eigenenergy 0, 1 has eigenenergy 1, etc.

49:46.380 --> 50:04.100
Basically, that would be a problem Hamiltonian on a 4-qubit system, which would basically say 0, 0, 0, 0 gives this energy level, and 0, 1, 0, 0, 0, 1 gives this energy level, and so on and so forth.

50:04.100 --> 50:10.060
So basically, it's just an ordering of energies based on the readout.

50:10.620 --> 50:19.220
And there are physical systems which can be natively D-Energy level, right?

50:19.260 --> 50:20.940
That's pretty interesting.

50:20.940 --> 50:28.980
But for most of the quantum computing systems that we look at today, we construct them out of two-level systems.

50:28.980 --> 50:38.800
So if you want to make your own Q-Dits, you've got to basically define some math in yourself.

50:41.120 --> 50:43.340
I'll go to the gentleman at the back first.

50:43.340 --> 50:53.680
Now that you're in that slide, you're talking about complexities, depends on the weight, the size of the weight that you have right there.

50:53.920 --> 50:58.200
When you mentioned in the next slide, you said polynomial lower bound?

50:58.720 --> 51:00.480
Or does that mean the next one?

51:00.480 --> 51:03.500
Yeah, you said there's polynomials that you could have solved.

51:03.500 --> 51:04.880
That's a complexity, right?

51:04.880 --> 51:05.860
Lower bound.

51:05.860 --> 51:07.800
What would be the upper bound of that?

51:07.800 --> 51:09.040
Depends on the weight.

51:09.260 --> 51:10.480
Okay, interesting.

51:10.480 --> 51:17.280
So first of all, people doing the collabs.

51:17.720 --> 51:19.920
Sorry, does that change the slides?

51:19.920 --> 51:23.660
Does everybody who wants to take a look at the collabs have the links?

51:24.760 --> 51:26.360
Okay, good stuff.

51:39.280 --> 51:39.800
So...

51:41.440 --> 51:43.880
Thank you for mentioning that.

51:43.880 --> 51:45.740
Did everybody hear that?

51:46.000 --> 51:47.160
Say it again.

51:47.300 --> 51:49.580
I pointed out on the slide.

51:49.580 --> 51:50.280
Yeah.

51:50.360 --> 51:58.820
Lowercase L at the beginning and capital I at the end.

51:58.820 --> 52:00.600
How did you not see that?

52:01.120 --> 52:03.760
It's clearly obvious to everyone.

52:03.760 --> 52:05.580
To everyone with computer vision.

52:05.740 --> 52:07.380
The AI is way ahead.

52:07.380 --> 52:10.880
Sorry, I was gatekeeping the collabs there.

52:10.880 --> 52:15.040
For anyone with initiative to take part in this exercise.

52:18.660 --> 52:20.980
Thank you for that.

52:21.100 --> 52:21.740
So...

52:23.740 --> 52:26.980
What I mean here is...

52:26.980 --> 52:36.880
When I say polynomial equivalent, I mean you could take Shor's algorithm and you could map it into an adiabatic quantum computer.

52:37.180 --> 52:39.840
I don't know why you would, but you could.

52:40.420 --> 52:49.600
And what it means is that however long it's going to take you to factor that integer, it's only going to take you polynomially longer or shorter.

52:49.860 --> 52:53.060
But basically roughly the same time to a mathematician.

52:53.280 --> 52:58.020
Not to you or I, but to a mathematician, it's going to take roughly the same time.

52:58.240 --> 53:02.840
And the reason it's going to take roughly the same time is because...

53:02.840 --> 53:11.640
This gap is going to be roughly the same as whatever that would be in the game model.

53:12.820 --> 53:17.000
It's polynomially longer or polynomially shorter.

53:17.560 --> 53:23.180
But we only really care when stuff gets exponentially longer or shorter.

53:25.000 --> 53:26.000
Yeah, you in the back.

53:26.000 --> 53:32.700
Could you describe again the connection between the tunneling and the continuous time annealing?

53:32.700 --> 53:43.300
Is the idea that with the annealing and continuous time, the bulb stays at that focus point and it evolves like that?

53:43.560 --> 53:44.200
Yeah.

53:44.200 --> 53:52.240
It stays lowest and then if you just look at it from the tunneling perspective, it's like it moves from one to the other through the higher energy state.

53:53.040 --> 53:59.780
That's a very good question because now that I think about it, it's a little while ago that I did this work.

53:59.780 --> 54:01.440
It's actually slightly fuzzy to me.

54:01.440 --> 54:06.020
If anybody feels authoritatively that they have a better answer, then step in.

54:06.020 --> 54:12.860
But the way that I would think about it is that in the AQC version, you start off with the marble on the flat table top.

54:12.860 --> 54:24.380
And you don't really need to tunnel through anything because it always remains at the instantaneous lowest level.

54:25.140 --> 54:29.500
That may be incorrect, but that's what I think the answer is.

54:29.500 --> 54:45.940
However, for example, if you do the quantum approximate optimization algorithm where you localize the Hamiltonian a bit and then you relax it a bit and then you localize it a bit and then you relax it a bit, every time you apply the relaxation operator,

54:45.940 --> 54:50.920
you're inducing some level of quantum tunneling between the states.

54:50.920 --> 54:58.500
And every time you apply the localization operator, you're basically making the wave function go a little bit more smoothly.

54:58.500 --> 55:03.800
And those are two different ways of viewing that transformation of that Hamiltonian.

55:05.300 --> 55:07.140
I hope so.

55:07.260 --> 55:15.260
This is something where somebody who is much better at the quantum mechanics side of things would come in very handy.

55:15.800 --> 55:17.960
I do not claim to be that person.

55:17.960 --> 55:19.360
Maybe I'm not as well.

55:20.800 --> 55:22.920
We'll go to that gentleman at the back.

55:24.700 --> 55:25.680
Sorry?

55:27.580 --> 55:30.580
Oh, yes, we have an answer.

55:54.870 --> 56:01.110
There is a low probability of being very poorly defined based on the Hamiltonian.

56:01.110 --> 56:01.750
Why that would

56:06.480 --> 56:06.920
be ?

56:06.940 --> 56:11.580
You'll say, it would be that there would be a factor in the Hamiltonian.

56:12.700 --> 56:17.970
So if we had given it a 20 factor, it would be like a 5.

56:17.970 --> 56:21.050
It would be very easy to say, just look at the table first.

56:21.690 --> 56:28.510
And then when you close the plane of the Hamiltonian by the way that that occurs, it's going to stay at that lowest point.

56:29.250 --> 56:36.470
And then so then, once you move on from there, if you go too quickly, then it's like the ball doesn't stay at that lowest point.

56:36.470 --> 56:38.850
It's like it might move off a little bit somewhere else.

56:38.930 --> 56:43.710
And then when it evolves, when the Hamiltonian evolves, maybe it's not still at those points.

56:43.710 --> 56:45.530
It's somewhere down there.

56:58.310 --> 57:04.970
So, for the recording, the gentleman who claimed to be an expert in quantum mechanics said that I was close enough to write.

57:07.290 --> 57:12.990
And then there was a small amount of discussion beyond that.

57:15.470 --> 57:17.290
Any other questions?

57:20.590 --> 57:22.630
How do you do the relaxation?

57:22.630 --> 57:24.530
Oh, good question.

57:25.010 --> 57:28.950
So, let's go back to these Charlie operations.

57:33.950 --> 57:39.890
So, basically, if you go to Qubit and you apply...

57:39.890 --> 57:43.370
So, what we do is...

57:43.370 --> 57:56.550
The problem Hamiltonian, we generally, in the transverse Ising network, the transverse is what we mean by like we have a transverse field, is the problem Hamiltonian is induced by basically a load of Zs.

57:56.550 --> 57:59.870
And anybody who's going through the Colabs right now will notice that.

57:59.870 --> 58:03.990
The Hamiltonian is all implemented in terms of Zs.

58:04.930 --> 58:09.950
When Ryder showed us how we constructed the Qubits, we constructed them out of Z-gates.

58:10.650 --> 58:14.890
And that basically gives us a nice one minus one reading off.

58:15.910 --> 58:20.010
This BitLip operator is basically like saying...

58:20.530 --> 58:23.330
I guess one way to think of it is, yeah, it's BitLip.

58:23.330 --> 58:27.390
It's kind of saying like, OK, wherever you think you are, we're just going to mix things up.

58:27.390 --> 58:29.010
We'll explore a little bit more.

58:29.030 --> 58:30.590
We'll relax.

58:30.590 --> 58:32.510
We might not have the right answer yet.

58:33.410 --> 58:37.170
And the way you can think of this is, you've got your...

58:37.170 --> 58:41.550
Well, the way I think of it is that you've got your problem Hamiltonian do its thing.

58:41.550 --> 58:46.690
And then you have this relaxing field, which kind of comes perpendicular.

58:49.010 --> 58:51.470
And I don't know why that wouldn't make sense.

58:51.470 --> 58:53.090
I always found that helped me.

58:54.190 --> 59:01.470
Something's happening in this plane, and then you just kind of have some relaxing field coming from up above.

59:01.470 --> 59:06.330
It kind of smooths everything else a little bit, and then it carries on like that.

59:08.810 --> 59:18.350
You look perplexed, but I mean, we all find coping strategies for getting through long periods of work in problem-solving or coping mechanics.

59:18.350 --> 59:22.450
And yeah, it's a notoriously counterintuitive subject.

59:22.450 --> 59:24.530
Don't worry too much about that.

59:24.530 --> 59:29.530
Just follow the collab, and yeah, I promise it.

59:29.670 --> 59:30.750
It works.

59:32.690 --> 59:43.250
Did you, in the slide that you had that was describing the mapping onto the...

59:43.250 --> 59:45.310
The binary one?

59:45.310 --> 59:48.530
Yeah, when you showed the matrix of the Bs.

59:48.530 --> 59:50.430
The matrix of the Bs.

59:50.430 --> 59:52.090
And you said that...

59:52.090 --> 59:52.990
Same way.

59:52.990 --> 59:56.990
I'm going the wrong way.

59:56.990 --> 59:57.910
I think you're right.

01:00:02.310 --> 01:00:03.550
Oh, no, sorry.

01:00:03.550 --> 01:00:05.630
Are you talking about the one with the diagram of qubits?

01:00:06.230 --> 01:00:08.090
Oh, the diagram of qubits, okay.

01:00:08.090 --> 01:00:09.170
Yeah, qubits, yeah.

01:00:09.170 --> 01:00:14.670
When you said the right form for the Xs is...

01:00:16.050 --> 01:00:16.530
Yes.

01:00:16.530 --> 01:00:19.890
The output of the qubit function over the Bs.

01:00:19.890 --> 01:00:21.910
Got it.

01:00:21.970 --> 01:00:23.610
Or the next slide.

01:00:28.750 --> 01:00:31.510
Why is that the right form for the Xs?

01:00:32.470 --> 01:00:35.150
Why is this the right form for the Xs?

01:00:35.270 --> 01:00:40.010
Yeah, you mentioned it's either one of two different encodings.

01:00:40.110 --> 01:00:45.770
Right, okay, so why would you choose the Hamming version or the binary version?

01:00:45.770 --> 01:00:48.910
Yeah, why is either one the right form for the Xs?

01:00:48.910 --> 01:00:52.910
Okay, so you can basically...

01:00:52.910 --> 01:00:57.650
This is like a bring-your-own-qubit-mapping kind of thing.

01:01:00.290 --> 01:01:05.130
There's the one-hot encoding, which is super inefficient.

01:01:05.750 --> 01:01:12.590
There is this binary thing, which is where each individual configuration corresponds to a different energy level.

01:01:12.590 --> 01:01:15.150
So it corresponds to a different eigenstate.

01:01:15.750 --> 01:01:22.210
And the reason that you might like this is because people talk about us not having very many qubits.

01:01:22.210 --> 01:01:25.870
So maybe you think, oh, well, we want to be super efficient with the qubits that we've got.

01:01:25.870 --> 01:01:35.910
We want one configuration to correspond to one eigenstate.

01:01:36.930 --> 01:01:49.170
The reason that when I initially did this work, I submitted this to the 2000 queue, which was much worse than the 5000 queue, and what I got back was essentially garbage.

01:01:49.330 --> 01:01:52.910
And I was on the verge of giving up on this work.

01:01:53.150 --> 01:02:01.830
And then my collaborator says, hey, man, why don't we just try adding them all up?

01:02:01.830 --> 01:02:10.030
Or just do this really dumb thing where we just add up all the qubits and we pull out a qubit.

01:02:10.030 --> 01:02:14.230
And I did that, and all of a sudden, the result was much better.

01:02:14.530 --> 01:02:17.290
Now, this is why.

01:02:17.290 --> 01:02:21.490
So it requires many more qubits, but it's more robust.

01:02:21.490 --> 01:02:26.150
And the reason why is because when you have this...

01:02:34.980 --> 01:02:46.920
So when you've got this 2 to the plus 1 term, basically you're saying that the most significant qubit in your qubit is going to have a much stronger interaction with every other qubit, right?

01:02:47.420 --> 01:02:53.560
And the least significant qubit, when we tackle it, is going to have a much lower interaction.

01:02:54.640 --> 01:03:00.560
Now, the way the D-Wave Complementator works is that you have to squeeze all of your...

01:03:01.120 --> 01:03:04.940
you give a certain energy budget for how strongly everything can interact.

01:03:04.940 --> 01:03:08.700
So basically they say, scale everything down to between 0 and 1, right?

01:03:08.700 --> 01:03:16.020
So you can have your qubit 1 interact with qubit 2 with strings, qubit 1 with 5, whatever.

01:03:16.560 --> 01:03:28.840
But if you've got a D-level energy system, then basically you've got to scale down from 0 to 15, down to between 0 and 1, so you've got 16 things.

01:03:29.380 --> 01:03:32.740
But at the bottom, everything is like...

01:03:32.740 --> 01:03:40.200
the bottom half of that spectrum is occupied by putting up stuff like all but the top row of qubits.

01:03:42.620 --> 01:03:46.500
So any 0 just massively screws everything up.

01:03:46.500 --> 01:03:51.200
Whereas with the Hamming encoded ones, everything has the same strength.

01:03:51.200 --> 01:03:52.340
It's very egalitarian.

01:03:52.340 --> 01:03:56.000
Every qubit interacts with every other qubit with the same strength.

01:03:56.000 --> 01:04:01.680
And then it's kind of moderated by the gram coefficients.

01:04:02.640 --> 01:04:13.280
But basically what it means is that the lowest energy qubits, the least significant qubits, get subsumed by noise.

01:04:13.280 --> 01:04:24.320
And the reason this is a big problem with SDP is because when I showed you that equation, which is like b squared equals x of b, it's super unstable.

01:04:24.320 --> 01:04:39.840
And what that means is that if x changes by a single bit, so a single one of those coefficients changes, then basically you're adding on another really long basis vector onto your combination, which will sort.

01:04:39.840 --> 01:04:54.540
So any perturbation to the solution that gives you the correct, you know, the lowest energy vector, the shortest vector, any perturbational bit there is going to give you a really long vector.

01:04:54.540 --> 01:04:57.140
So it's super sensitive to noise.

01:04:57.760 --> 01:05:01.580
And it's probably easier to see this.

01:05:02.580 --> 01:05:08.040
But basically this is a lot less efficient because it uses more qubits.

01:05:08.040 --> 01:05:11.240
And at least in V-Wave, you kind of have loads of qubits.

01:05:11.240 --> 01:05:15.000
Not very good, but, you know, it's a form of error correction, I guess.

01:05:15.120 --> 01:05:21.620
So nothing makes it the right qubit, qubit mapping to try.

01:05:21.620 --> 01:05:23.960
But basically, yeah, try it yourself.

01:05:23.960 --> 01:05:28.840
And then obviously with the gate model, you have, you know, error correcting codes.

01:05:28.840 --> 01:05:45.840
I think Google recently demonstrated, if I'm not wrong, recently demonstrated that an error-corrected qubit did better in practice than the qubits that weren't error-corrected.

01:05:48.290 --> 01:06:01.150
Going back to your question, if you go back to the encoding part, what you depict with that matrix, in that matrix, there were just states of energy that you just captured at one point.

01:06:03.050 --> 01:06:11.550
If you go back to the encoding part, because the order in which you need to represent the state, that vector, can be huge if it's a series of ones.

01:06:11.550 --> 01:06:11.890
Yeah.

01:06:11.890 --> 01:06:16.410
But all you depict is that particular capture that you captured, right?

01:06:16.410 --> 01:06:17.250
Yeah.

01:06:17.250 --> 01:06:20.550
Once you've read off what the...

01:06:20.550 --> 01:06:25.210
So once you've measured the states at the end, the wave function has collapsed.

01:06:25.290 --> 01:06:27.070
You just get a configuration.

01:06:27.330 --> 01:06:30.850
And that configuration just corresponds to a single vector.

01:06:30.850 --> 01:06:35.850
Once you have extracted, like, OK, you take all zeros and ones, you turn that into points.

01:06:35.850 --> 01:06:40.690
X is the matrix multiplied to get the vector.

01:06:40.830 --> 01:06:44.310
And then you take the Euclidean length squared.

01:06:44.310 --> 01:06:48.590
That just corresponds, after you've read it off, to a single vector.

01:06:48.750 --> 01:06:55.250
But up until that point, it's a superposition over a couple of different ones, and it's up with different probabilities.

01:07:00.220 --> 01:07:01.700
OK, I will go to this gentleman.

01:07:01.700 --> 01:07:06.760
But first, I want to ask, is anybody going through, with the CoLab, having any major issues?

01:07:06.760 --> 01:07:08.300
Or is anybody finding it OK?

01:07:12.720 --> 01:07:14.960
Yep, you can get the link to the answers one again.

01:07:22.670 --> 01:07:23.470
DDox5.

01:07:24.890 --> 01:07:27.090
And that's less ambiguous, isn't it?

01:07:28.210 --> 01:07:32.630
The initial Hamiltonian construction is slightly more difficult.

01:07:32.630 --> 01:07:35.610
The post-processing, so feel free to just copy that across.

01:07:35.670 --> 01:07:39.610
The post-processing bit is a little bit more broken down and a little bit more intuitive.

01:07:42.890 --> 01:07:43.610
Thank you, Brian.

01:07:43.610 --> 01:07:50.270
If you want to go around and tell me what you're finding, like, on the CoLab, just give me a hint.

01:07:51.110 --> 01:07:51.890
Oh, great.

01:07:54.190 --> 01:07:57.450
Sorry, I was going to this gentleman first, and then I'll come across to you.

01:07:57.530 --> 01:07:58.950
I have a question.

01:08:07.510 --> 01:08:08.110
Right.

01:08:18.110 --> 01:08:19.590
Sorry, I'm not catching your question.

01:08:19.590 --> 01:08:21.610
There appears to be a bit of commotion over here.

01:08:27.010 --> 01:08:29.110
OK, the yelling has died down.

01:08:29.110 --> 01:08:30.350
Can you also speak up a little bit?

01:09:04.700 --> 01:09:04.800
Yeah, sorry.

01:09:04.800 --> 01:09:05.880
I'm still not...

01:09:20.660 --> 01:09:35.920
OK, so in general, so if you take Shor's algorithm, that breaks, creates electric curve stuff, RSA, you can do that.

01:09:35.920 --> 01:09:37.280
Let's take RSA.

01:09:37.280 --> 01:09:43.840
So if you're asking about man-in-the-middle attacks, you would do key exchange with RSA, right?

01:09:43.880 --> 01:09:48.260
But how do you know that you've exchanged your keys with the right person?

01:09:48.440 --> 01:09:49.560
Right.

01:09:49.740 --> 01:09:58.680
So then, in public key cryptography, you'd always pair that with authentication, so a digital signature.

01:09:58.680 --> 01:10:05.760
So, for example, every time you log on to... every time you use the Internet, you'll do a TLS handshake.

01:10:05.760 --> 01:10:13.240
And during that handshake, you will, one, exchange your session keys, and you will, two, authenticate the server.

01:10:13.600 --> 01:10:17.300
And you can also do that via RSA signatures, right?

01:10:17.300 --> 01:10:19.400
So it's the same mechanism.

01:10:21.400 --> 01:10:34.140
And some families in cryptography have good signatures, but not key exchange, you should always do both to make sure that you're exchanging with who somebody says they are.

01:10:34.140 --> 01:10:35.720
I'm getting man-in-the-middle attacks.

01:10:38.140 --> 01:10:45.600
At the moment, we rely on RSA-like algorithms for signatures and key exchanges.

01:10:45.600 --> 01:10:46.700
So both will eventually...

01:10:46.700 --> 01:10:54.220
However, the interesting thing is, it's interesting if you can break the key exchange in the future, because you can read.

01:10:55.200 --> 01:11:04.460
But to forge somebody's personality, to forge somebody's identity, you need to have your quantum computer forging signatures in real time.

01:11:04.500 --> 01:11:06.540
So that's another really interesting direction.

01:11:06.540 --> 01:11:08.800
Correct, yeah, my question was...

01:11:08.800 --> 01:11:16.600
I believe, unless you're...

01:11:16.600 --> 01:11:22.560
I think 2048, you basically break it in 8 hours, something like that.

01:11:22.560 --> 01:11:31.760
So what do you know from the experiments that have been tried with non-RSA-ing to...

01:11:34.840 --> 01:11:44.340
Yeah, so generally, anything based on period-finding will just be vulnerable.

01:11:44.780 --> 01:11:47.840
And anything not based on period-finding...

01:11:47.840 --> 01:11:49.860
No, I'm not going to say that.

01:11:49.860 --> 01:11:52.100
Anything not based on period-finding.

01:11:52.100 --> 01:12:05.500
Anything based on, for example, these type of problems, for example, we don't yet have any decomputing quantum attacks, and we don't think we will.

01:12:06.120 --> 01:12:06.680
Right .

01:12:07.400 --> 01:12:09.960
So that's about the size of it.

01:12:09.960 --> 01:12:17.340
We don't know for sure that computers won't be able to break this stuff, but we think they might.

01:12:17.940 --> 01:12:19.700
Question.

01:12:20.280 --> 01:12:21.800
Oh, yes.

01:12:21.800 --> 01:12:22.920
I have a question.

01:12:22.920 --> 01:12:25.760
I have a question.

01:12:38.780 --> 01:12:40.980
How do you go away from...

01:12:40.980 --> 01:12:42.280
Now, it might be that the...

01:12:43.440 --> 01:12:46.340
Still, it's zero.

01:12:46.820 --> 01:12:51.680
So what the data director has said is that it's used

01:13:02.070 --> 01:13:03.350
for...

01:13:03.350 --> 01:13:06.770
that it's lower than the transition time to find 5.

01:13:06.770 --> 01:13:10.650
And basically, you'll end up with...

01:13:11.410 --> 01:13:17.130
you'll end up with almost completely the same results from the state that you started from.

01:13:17.130 --> 01:13:20.730
You can define that state and apply it to the energy state.

01:13:22.270 --> 01:13:33.530
What happens is you apply your compute to it, and that means that both energy states that you started with will start mutating into another energy state.

01:13:33.530 --> 01:13:37.650
So you're going to end up needing a more complex provision to make that work.

01:13:37.650 --> 01:13:40.430
Now, if I can have a person...

01:13:48.110 --> 01:13:50.890
And the actual...

01:13:50.890 --> 01:13:53.550
that we talked about...

01:13:53.550 --> 01:13:55.570
has to go into...

01:13:55.570 --> 01:14:04.470
So when you have a large, finite amount of time, we're just quite very confident that they wind up being the correct...

01:14:04.470 --> 01:14:07.310
And we're confident that...

01:14:07.950 --> 01:14:10.470
So when we run it in time...

01:14:11.570 --> 01:14:13.490
So the underlying quantum sort of time...

01:14:13.990 --> 01:14:16.050
and what we see is like mediated...

01:14:16.890 --> 01:14:19.390
you're in the right state in the right time.

01:14:19.830 --> 01:14:23.170
And as your time builds towards the order of more and more...

01:14:23.170 --> 01:14:25.830
you're going to disrupt the alternative computation...

01:14:25.830 --> 01:14:27.510
and it will be more perfect.

01:14:28.970 --> 01:14:31.370
So that's why you have the...

01:14:32.630 --> 01:14:34.770
And we're going to pause now.

01:14:38.450 --> 01:14:39.490
Because otherwise...

01:14:39.490 --> 01:14:42.890
There's only going to be the question of how much...

01:14:43.530 --> 01:14:44.790
We're recording.

01:14:44.790 --> 01:14:47.110
More subject matter experts contribution.

01:14:47.470 --> 01:14:50.230
And Mark Carney, sign this gentleman up for next year.

01:14:53.010 --> 01:14:53.530
And...

01:14:53.530 --> 01:15:00.010
What I will do now, unless there are any more super impressive questions, is I've got just a couple more slides on...

01:15:00.010 --> 01:15:02.110
directions that you can take.

01:15:02.610 --> 01:15:06.190
And then, you know, after that...

01:15:06.190 --> 01:15:08.390
I'll put the mic down and then just come around and...

01:15:10.450 --> 01:15:12.530
chat about how that's going.

01:15:12.530 --> 01:15:15.010
Has anybody had any success in running the...

01:15:15.790 --> 01:15:18.590
answers one full time through or got to results?

01:15:19.710 --> 01:15:20.510
No?

01:15:20.510 --> 01:15:20.950
OK.

01:15:20.950 --> 01:15:22.430
We'll talk about that.

01:15:24.130 --> 01:15:27.010
So, alternative approaches...

01:15:27.010 --> 01:15:28.770
You have this...

01:15:28.770 --> 01:15:33.010
If this is the adiabatic pathway, then you have this quantum approximate...

01:15:34.570 --> 01:15:36.070
optimization algorithm.

01:15:36.070 --> 01:15:40.330
Which is actually a way of implementing the adiabatic...

01:15:40.330 --> 01:15:41.590
quantum algorithm.

01:15:41.810 --> 01:15:45.010
But we can actually run this...

01:15:46.090 --> 01:15:48.990
in the game model, which is really interesting.

01:15:49.030 --> 01:15:51.010
Because basically, it discretizes...

01:15:52.010 --> 01:15:53.710
the continuous pathway.

01:15:53.710 --> 01:15:56.910
So if the adiabatic step is smooth, then the QAOA...

01:15:57.910 --> 01:16:01.050
is done in, you know, leaps and bounds.

01:16:02.350 --> 01:16:02.870
And...

01:16:02.870 --> 01:16:06.570
there's an interesting theory which says, basically, if you do this...

01:16:06.570 --> 01:16:09.110
in infinite number of steps...

01:16:09.110 --> 01:16:13.410
and an infinite number of approximations, it will exactly be the adiabatic algorithm.

01:16:15.130 --> 01:16:16.350
QAOA is of interest...

01:16:16.350 --> 01:16:19.150
because we can actually run it at super low depth.

01:16:19.470 --> 01:16:22.730
And some people, like Enify, have showed that for some problems...

01:16:22.730 --> 01:16:26.330
there can actually be some really interesting, you know, some potential quantum advantage.

01:16:26.470 --> 01:16:28.510
A super low depth QAOA, right?

01:16:28.510 --> 01:16:31.830
So literally just doing one problem Hamiltonian...

01:16:31.830 --> 01:16:35.430
one relaxation Hamiltonian, and then measure it.

01:16:35.430 --> 01:16:38.510
And that would be really interesting, because that's pretty low depth.

01:16:39.370 --> 01:16:41.150
So this is quite promising.

01:16:43.670 --> 01:16:45.610
So yeah, that's QAOA.

01:16:46.490 --> 01:16:48.530
And then another thing is that you can...

01:16:48.530 --> 01:16:50.750
if you know what your search space is...

01:16:50.750 --> 01:16:55.490
so for example, previously I showed you a grid of, you know, like 4 by 3 cubits, for example.

01:16:55.690 --> 01:16:59.210
If you know that your solution is somewhere in that...

01:16:59.210 --> 01:17:02.070
2 to the 12 space...

01:17:02.070 --> 01:17:04.230
then you can just quickly search over that space.

01:17:04.230 --> 01:17:06.110
And we do have time bounds for that.

01:17:06.230 --> 01:17:10.950
It's essentially more drastically faster than...

01:17:10.950 --> 01:17:13.750
groupable searching over the 2 to the 12...

01:17:14.330 --> 01:17:15.690
search space.

01:17:16.110 --> 01:17:18.850
And so what you can do is...

01:17:18.850 --> 01:17:21.850
in that work, where we were looking for the shortest vectors...

01:17:23.070 --> 01:17:30.470
what we did is we wanted to know, well, how many cubits do we need to ensure that at least the shortest vector couldn't be the exact shortest vector?

01:17:30.730 --> 01:17:37.830
How many cubits do we need to ensure that at least the shortest vector is in the search space somewhere?

01:17:38.450 --> 01:17:46.690
Now we managed to prove that and find a bound based on Minkowski's theorem, which again is like some super cool geometrical stuff.

01:17:48.570 --> 01:17:56.850
And based on that bound, which tells us how many cubits we need to implement the algorithm I've just described, you could just Grover's search over it, right?

01:17:57.010 --> 01:18:00.770
And then you get a quadratic speedup on the search space.

01:18:00.770 --> 01:18:07.330
So again, that's just kind of slap-on Grover's to the search space, but easily some kind of time complexity.

01:18:08.090 --> 01:18:22.550
What you'll find is that implementing the Hamiltonian that I described as a Grover algorithm, we've been trying this, and we end up with a lot of gates, so it's not the most practical algorithm.

01:18:22.550 --> 01:18:56.410
And it actually leads me to believe that maybe these annealers, the way that you can implement the algorithm and don't have to construct enormous circuits full of adders and multipliers to basically do all of these operations, you might actually get a little bit of quantum advantage for certain types of problems on annealers or continuous subversions faster than the gate models just because of the amount of actual engineering and gates that you need to reach the results that you want to.

01:18:58.490 --> 01:19:01.710
And so yeah, I just mentioned the proof technique.

01:19:02.610 --> 01:19:06.090
You can lower bound, you can upper bound how many qubits you want.

01:19:06.170 --> 01:19:07.350
But this is the thing, right?

01:19:07.350 --> 01:19:17.950
With continuous time problem computing, you can bound the search space, but unless you know that minimum energy gap, you're not going to know exactly how long it's going to take.

01:19:17.950 --> 01:19:22.970
The best thing you can do is bound the size of the search space and then roverize it.

01:19:23.290 --> 01:19:30.210
So the time complexity is really a real sticking point for this class of algorithms.

01:19:30.570 --> 01:19:56.530
If anybody can solve it and find a generalized way to take an initial Hamiltonian, the distance between the lowest energy eigenstate and the upper, and the first eigenstate at any point, please come and tell me before you publish it yourself.

01:19:56.530 --> 01:20:02.170
And we'll go forward with that together.

01:20:06.110 --> 01:20:08.750
Yeah, that's it.

01:20:09.030 --> 01:20:11.290
I'll be around, Brian will be around.

01:20:12.170 --> 01:20:14.630
So yeah, come up and ask us questions.

01:20:14.990 --> 01:20:19.630
But I think we're now at content time, so we're all released.

01:20:19.630 --> 01:20:23.650
Thank you.

