WEBVTT

00:05.100 --> 00:07.320
Yeah, I'm Raf, everyone.

00:08.760 --> 00:12.720
I worked at a quantum computing company for the last five years prior to that.

00:12.860 --> 00:19.080
Academically, I was a physicist, but left that to do machine learning and actually make some real money for a while.

00:19.360 --> 00:22.520
Got tired of that and came back to physics.

00:22.540 --> 00:24.580
I work at a company called Xanadu.

00:24.860 --> 00:32.100
But I feel like, as is tradition at DEF CON, everything I'm going to be talking about are more my personal viewpoints than data.

00:32.100 --> 00:35.960
Anything about what I do, my day-to-day work, with Xanadu.

00:37.700 --> 00:41.160
Also, all the information I'm covering here is publicly available.

00:41.400 --> 00:45.840
So there isn't anything I'm going to be talking about that you probably couldn't find on your own.

00:45.980 --> 00:52.500
But hopefully I'll provide a little bit of a unique perspective on where we're at with quantum computing today.

00:53.480 --> 01:00.140
So, maybe before that I'll realize I should have probably introduced what NIST actually means.

01:00.140 --> 01:04.080
You might have heard this term when applied to quantum technologies.

01:04.680 --> 01:08.240
And it means Noisy Intermediate Scale Quantum Computers.

01:08.680 --> 01:12.440
And really, we're talking about the quantum computers we have today.

01:12.440 --> 01:24.920
And the noisy aspect is just from the fact that if you try to store information on a quantum computer, or you try to operate on that information, you're not going to have a perfect success rate.

01:24.920 --> 01:33.360
By either reading that information back out, or being able to, let's say, entangle two qubits together, or perform some operation on them.

01:33.360 --> 01:37.260
Mark mentioned his favorite machine right now is the IoT machine.

01:37.260 --> 01:45.780
And that's because they have the highest probability of success for these operations of most available machines today.

01:45.860 --> 01:50.280
And it makes work a lot easier when you're trying to do quantum computing.

01:50.280 --> 02:02.300
But noisy really means for that fact that we are maybe at two nines right now in terms of what the success rate is for a given operation.

02:02.300 --> 02:03.940
Different machines will vary.

02:03.940 --> 02:06.620
Really bad ones are really bad.

02:06.740 --> 02:09.740
Great ones don't go much past two nines.

02:10.600 --> 02:28.960
So the real vision of the entire community right now, whether it's for-profit companies, whether it's tech giants, startups, academics, the open source community, is to really build quantum computers that are useful, and more specifically, valuable to people.

02:29.180 --> 02:34.540
And I really don't want to take away from the fact that quantum computers drive a quantum-valuable brain.

02:34.620 --> 02:36.700
But this is not the value I'm talking about.

02:36.780 --> 02:42.020
Quantum computers today have changed how we actually teach quantum mechanics to people around the world.

02:42.020 --> 02:50.720
The fact that there's this number of people sitting in a room right now that want to learn about quantum mechanics would have been unheard of 20 years ago.

02:50.720 --> 02:54.560
And that's really the value that's been generated by quantum computing.

02:55.840 --> 02:59.900
It has also really driven fundamental research forward.

02:59.900 --> 03:07.020
Whether it be on materials, whether it be in quantum information science, whole new avenues of research have been opened up.

03:07.680 --> 03:20.200
Of course, it's also allowed us to come up with future possibilities of what computing will look like after digital computing hits the end of the horse lock, if it ever does.

03:20.600 --> 03:23.400
So it offers that promise moving forward.

03:23.500 --> 03:28.100
And of course, I don't think Black Mirror episodes would be as fun if quantum computers didn't exist.

03:28.240 --> 03:31.960
We wouldn't have the quantumputer or anything like that.

03:31.960 --> 03:34.840
So a lot of value has been generated.

03:34.920 --> 03:37.020
But that's not the value that we're talking about.

03:37.080 --> 03:43.520
The value we're really talking about is stuff you would be willing to pay for, that companies would be willing to pay for.

03:43.520 --> 03:50.520
And today you probably have about three or four publicly listed, pure-play quantum companies.

03:50.680 --> 03:54.100
And they're trying actively to demonstrate that there is value today.

03:54.260 --> 04:01.620
But a core part of this talk will be identifying that there is still a lot of work to do to move forward.

04:01.620 --> 04:04.960
So the real question is, when are we going to hit a corner?

04:04.960 --> 04:06.180
How are we going to hit it?

04:06.180 --> 04:18.400
And I think that the dollars that have been invested in the quantum computer will actually be brought back through some sort of meaningful contribution to society.

04:18.980 --> 04:28.400
I should mention, even though none of the views represented in this talk are from Xanadu, a lot of material is still in Xanadu.

04:28.420 --> 04:35.700
But it's all publicly available on either YouTube as talks, from my colleagues, or directly on our website.

04:38.200 --> 04:48.320
Your immediate kind of point might be, but Raph, we've heard over the last 20 years, starting with D-Wave, that quantum computers have a proven advantage over classical computers.

04:48.420 --> 04:54.040
And I would say we probably see a headline like this now once a month, that a quantum computer has said something.

04:54.040 --> 05:00.460
Most recently there was an exciting announcement of a quantum chemistry problem being solved by an IBM quantum computer.

05:01.500 --> 05:09.880
Usually what happens to my inbox is everybody that I've always talked to and had a negative view on the state of the quantum today, emails me to say, I told you so.

05:09.880 --> 05:20.100
And I usually wait about 48 hours to respond, because in 48 hours, usually there's a paper or an archive that says, but actually, you didn't consider the latest technique.

05:20.360 --> 05:23.740
You didn't try this with a tensor network simulator.

05:23.740 --> 05:32.720
This problem is completely, you know, complete or completely not meaningful for the industry that describes it.

05:32.860 --> 05:43.700
So all of that actually ends up being a good point, and I'm often very satisfied in just sending back simply an archive link as a response to those emails.

05:44.320 --> 05:56.240
There is one exception to this, and that has been the series of what I would call quantum supremacy or quantum computational advantage announcements that have happened over the last three or four years.

05:56.800 --> 06:02.020
So I'm just going to briefly talk about what quantum supremacy is versus advantage.

06:02.020 --> 06:10.280
So usually when people talk about quantum advantage, they talk about advantage on a meaningful problem that you would actually care about.

06:10.280 --> 06:20.520
This is breaking codes, simulating molecules, being able to optimize subsystems, and being able to do it better and faster than in a classical computer.

06:20.520 --> 06:36.920
When people talk about quantum supremacy, or more recently we coined quantum computational advantage, this is any task, any computational task, that you can certify to be able to perform faster in a quantum computer than a classical one.

06:36.940 --> 06:44.520
And this was first done by Google, I believe in 2019, with sampling from random circuits.

06:44.520 --> 06:53.940
So essentially picking some probability distribution that is incredibly hard for a classical computer to simulate, and pulling out random samples from that distribution.

06:54.240 --> 06:58.320
This is a really specific but esoteric mathematical problem.

06:58.320 --> 07:05.340
And even there, they originally claimed millions of years of, you know, simulation time required in order to be able to run it.

07:05.340 --> 07:11.420
IBM came back and said, hey, if we had all our computational resources, we can do it in two days.

07:11.420 --> 07:24.680
And then several years later, he from Google AI actually was able to demonstrate that they could scoop the whole experiment using AI methods and bypass kind of the whole thing altogether.

07:24.820 --> 07:26.820
And since then, there's been a couple more announcements.

07:26.820 --> 07:32.360
There's been two from Chinese groups from USTC, and there's been one from Xanadu as well.

07:32.360 --> 07:36.900
So I'll just use that one to highlight how ridiculous the advantage is.

07:36.900 --> 07:43.620
So we performed that same, slightly different experiment, but sampling from a random probability distribution.

07:44.780 --> 08:02.800
And a task that took us about two minutes to run on our photonic quantum computer with 216 squeeze states, would take about 7.6 million years to execute on at the time, which was the largest supercomputer.

08:02.800 --> 08:05.680
Sorry, 7 million years, 7.6 million years.

08:05.680 --> 08:09.180
But the thing to highlight is, this is not a useful problem.

08:09.420 --> 08:13.100
So with 260 qubits, we can do something that is really cool.

08:13.280 --> 08:16.960
You know, yes, it's a nature publication, all the scientists are thrilled.

08:17.120 --> 08:22.040
But it's still a really long way to now go to do that for a real world problem.

08:24.100 --> 08:26.260
There are algorithms that we have.

08:26.600 --> 08:30.760
VQE is one of these that we can use on today's quantum computers.

08:30.760 --> 08:36.820
VQE allows you to measure the ground state energy of a certain electronic structure, so a molecule.

08:36.920 --> 08:43.320
Essentially, if you're a quantum chemist trying to design new things, this is what you're really concerned about.

08:43.320 --> 08:48.180
You want to be able to do this, we have methods classically that do this, but they're very computationally expensive.

08:48.480 --> 09:00.480
Any paper that you pretty much read that says, you know, your favorite automobile company and your favorite quantum company have simulated batteries on a quantum computer, they run VQE.

09:00.480 --> 09:03.720
The thing is, we can basically simulate hydrogen.

09:04.000 --> 09:13.940
Anything bigger than that, we just don't have enough qubits in a quantum computer, or the quantum computer is not performant enough in order to be able to go deep enough to actually be able to simulate.

09:13.980 --> 09:19.820
So these are things that you can actually effectively simulate using classical methods on your laptop today.

09:20.640 --> 09:32.280
The other issue is an algorithm like VQE, or other ones you might have heard of, like QAOA, which is a algorithm for optimizing systems, need to be trained.

09:32.560 --> 09:41.880
And the training is so long and prohibitive that most of these papers actually train on simulators, and then just do the prediction part on a quantum computer.

09:41.880 --> 09:51.000
Because otherwise you could literally spend months waiting for an IBM device or an IRQ device to be available to go through enough iterations to actually do this.

09:51.000 --> 09:56.840
Not all papers, but I would say the majority of papers you see out there do that.

09:57.500 --> 10:03.940
And the real problem is that these NIST devices really have too much noise in them.

10:03.940 --> 10:05.360
It's just way too loud.

10:05.360 --> 10:12.820
And then the other issue is that fundamentally, classical algorithms are phenomenally good at solving many of these real-world problems.

10:13.080 --> 10:24.160
So the other thing that we see a lot in industry is when we hear that a quantum computer has outperformed a classical computer, they cherry-pick the worst classical method that you can think of.

10:24.160 --> 10:27.620
And this is realistically throughout optimization methods.

10:27.620 --> 10:29.420
What happens the most often?

10:29.600 --> 10:34.600
You know, a company has been stuck with an optimization approach from the 1970s.

10:34.600 --> 10:43.260
A quantum company does something potentially quantum-inspired or quantum-adjacent, and they prove that, hey, there's this two-fold improvement on the solution.

10:43.260 --> 10:51.740
But realistically, if they took the latest and greatest optimization solvers, they would get a much better answer.

10:53.860 --> 10:55.940
So, it's not all bad news.

10:56.140 --> 11:01.980
There is a way we can get around the noise in quantum computers, and that's using error correction and fault tolerance.

11:02.180 --> 11:05.400
And the basic idea is the same as in communication channels.

11:05.640 --> 11:19.600
If you know that you're only going to have some probability of transmitting your information through communication channels, you put in some additional tries in order to do that, and then you have some check at the end that uses all the information together,

11:19.600 --> 11:26.760
whether it's a parity check, whether it's a vote, to find out what the actual ground truth is.

11:26.900 --> 11:30.720
And we're lucky enough that we can actually do this in a quantum computer.

11:30.760 --> 11:32.320
There's one downside.

11:32.500 --> 11:42.900
It's that meme that we saw earlier, that the moment that you measure a quantum system, you kind of collapse it, so you can't have these measurements in the middle of your calculations.

11:42.900 --> 11:52.260
Meaning that the overhead, the way that you actually check whether computation has been successful or not, requires many, many qubits.

11:52.260 --> 12:03.520
To give you an idea of the best estimates right now, we'll need somewhere between 1,000 to 100,000 physical qubits in order to get one good qubit that we call a logical qubit.

12:03.800 --> 12:12.840
So now when we're talking about an algorithm that needs 50 qubits, we're really talking about one that requires half a million qubits in order to work.

12:12.860 --> 12:17.180
So today's quantum computers are sitting around a couple hundred qubit mark.

12:17.180 --> 12:30.440
We need to get to millions of qubits, plus all the other development that has to happen around error correction in order to unlock that beautiful space of all these applications.

12:31.580 --> 12:33.240
I've also been disappointed.

12:33.240 --> 12:36.440
I have like two cliche slides that I use in most talks.

12:36.440 --> 12:45.760
One of them shows like quantum computing can cure cancer, you know, solve climate change, build long-lasting batteries, and the other one is that Moore's Law is anything.

12:45.760 --> 12:52.180
But all those things are, again, predicated on the fact that we actually build volatile quantum computers.

12:53.200 --> 12:55.140
But then there's another question.

12:55.560 --> 13:02.480
If we do build a volatile quantum computer, and let's be generous, let's say it's one with a thousand logical qubits.

13:02.480 --> 13:10.560
So you should be thinking now, you know, this is a data center the size of Las Vegas, consuming huge amounts of power.

13:10.620 --> 13:14.780
What can you actually do with these thousand logical qubits?

13:14.780 --> 13:18.780
And I'm going to make the statement that today we know three things to do.

13:19.360 --> 13:22.180
We know essentially the code breaking.

13:22.340 --> 13:26.640
We know a search algorithm that potentially will never work in reality.

13:26.640 --> 13:30.960
And we know some things that are related to quantum chemistry.

13:30.960 --> 13:35.740
And everything else is a big question mark of whether or not the latch is going to work.

13:36.700 --> 13:41.880
And then the bigger question becomes, even if we do figure these things out, would you pay for it?

13:42.160 --> 13:47.660
Code breaking, we probably have maybe some folks here from three-letter agencies that would be willing to pay for it.

13:47.660 --> 13:51.220
More likely they would kidnap some of us in order to make sure that it happened.

13:52.480 --> 14:00.840
But, you know, the market isn't actually that huge outside of a few state actors for being able to break RSA.

14:00.840 --> 14:06.940
And in fact, once you do, everybody shifts over that value and that drops by quite a bit.

14:08.620 --> 14:13.160
The real problem is, of course, that fault-tolerant quantum computers don't exist.

14:13.160 --> 14:16.780
And the other issue is that classical algorithms are still too good.

14:16.780 --> 14:28.800
For the majority of problems, we actually know really phenomenal solutions for classical devices that make it really hard to come up with real quantum devices.

14:29.380 --> 14:34.040
So this is a very difficult question of, what would we actually do for quantum computing?

14:34.140 --> 14:44.160
And the real, now, issue comes down to, we need to work in a very collaborative, multidisciplinary way in order to develop what these algorithms are.

14:45.440 --> 14:49.240
And I was not a believer in this statement for a very long time.

14:49.260 --> 15:00.820
For a very long time, I believed, like, you know, as long as quantum information people do what they do, eventually we'll get to a good enough space that people will just use this technology like they did in digital computing.

15:01.140 --> 15:06.160
The difference is that we do have a very good computing framework right now.

15:06.160 --> 15:13.620
And it is really hard to identify, in the near term, where quantum computing's passion is.

15:14.820 --> 15:18.400
So, you know, we work a lot in the quantum chemistry space.

15:18.780 --> 15:23.540
This means we're working incredibly close with quantum chemists with decades of experience.

15:23.880 --> 15:32.420
That, you know, when we point out, hey, we can accelerate this part of your workload, they tell us, listen, we don't care, that represents less than a fraction of a percent of the time you spend.

15:32.540 --> 15:34.820
How about you fix this massive problem?

15:34.820 --> 15:39.400
Of course, we don't know how off the bat, but that feedback is incredible.

15:41.360 --> 15:52.880
So, the issues with building new applications of quantum computing are underestimating what classical solutions are out there.

15:53.140 --> 16:05.240
And really, if one thing you take away, anytime you read a press release on any quantum computing related thing, just know that there's definitely a better classical solution.

16:05.480 --> 16:14.240
Until somebody's really just exploding and becoming a huge company based on your quantum devices, realistically, you know that there is no inherent value to this.

16:14.260 --> 16:20.600
The other one is, of course, overestimating the quantum technology and capacity of computing that exists today.

16:21.260 --> 16:23.320
And on the algorithmic side as well.

16:23.320 --> 16:25.800
This is not easy, it's incredibly difficult.

16:25.800 --> 16:33.900
And then the biggest one is a misunderstanding of where we actually need to push computational technology forward.

16:33.920 --> 16:38.420
You know, it's easy to say large language models need tons of computational power.

16:38.420 --> 16:42.660
That is so far for quantum computing right now to be able to make an impact there.

16:42.660 --> 16:48.200
But there's definitely going to be smaller wins that we'll be able to get to within this decade.

16:48.260 --> 16:52.380
That will actually have a major impact, as long as we can find where those corners are.

16:53.900 --> 17:02.340
So, most people, what they end up doing is actually still running the same variational algorithms on this hardware.

17:02.340 --> 17:05.720
Because, unfortunately, this is what executives love to see.

17:05.840 --> 17:13.880
Executives love to have that press release saying, you know, a major corporation is working with somebody doing quantum tech.

17:13.880 --> 17:15.660
They've run on a quantum computer.

17:15.720 --> 17:21.180
My argument is we should be focused on algorithms that will have proven exponential speedups.

17:21.180 --> 17:25.120
These really forward-looking projects.

17:25.920 --> 17:29.240
And that's an incredibly difficult thing to do.

17:32.080 --> 17:41.640
Many of those publications and press releases that you would have seen probably would have covered so many different topics for quantum computing.

17:41.640 --> 17:45.480
You'd hear of pipelines in automobile factories being optimized.

17:45.480 --> 17:47.160
Air traffic routes.

17:47.360 --> 17:50.900
You'd hear people talking about building new batteries, photovoltaics.

17:50.900 --> 17:53.340
You'd talk about people trying to predict weather.

17:53.600 --> 17:56.380
I'm not going to name the company, but you can look it up.

17:56.380 --> 18:02.220
There is even one talking about simulating human consciousness on a quantum computer.

18:03.200 --> 18:08.320
These are all, again, I would say, potential future applications.

18:08.440 --> 18:10.900
But none of this is reality today.

18:10.900 --> 18:20.120
And if anything, these are incredibly small, tall models that you can do on your laptop, even on a quantum simulator, much more efficiently than on a quantum computer.

18:21.040 --> 18:25.500
Out of all of these, realistically, there is a few that we would focus on.

18:26.540 --> 18:29.380
One would be, of course, breaking public encryption.

18:29.900 --> 18:32.160
Mainly, this is the one that we know incredibly well.

18:32.160 --> 18:33.720
It's been very well studied.

18:33.720 --> 18:36.720
We know how many qubits we need, of what quality.

18:36.760 --> 18:42.540
And in fact, a lot of work has been done to push that algorithm closer and closer to reality.

18:42.540 --> 18:46.880
When it was first released, it would have never actually run on a real quantum computer.

18:47.100 --> 18:55.020
And over the last two decades, it's actually three decades now, people have really focused in on, how do you make this run on real hardware?

18:55.040 --> 18:58.600
Not of today, but real hardware that we might have in a decade, let's say.

18:59.140 --> 19:06.180
The other ones are, and it's kind of listed in three points, it's really one, but batteries, catalysts, photovoltaics.

19:06.440 --> 19:17.100
But really, hard quantum chemistry problems that require you to have an understanding of the quantum nature of the actual molecules that you're dealing with.

19:17.120 --> 19:34.900
So, some people include drug discovery, but drug discovery is still a very, I would say, physical macroscopic event, like how drugs bind to proteins, for example, don't really require you to understand on a quantum mechanical level, it's much more on a physical structural level.

19:34.980 --> 19:49.560
But in batteries, when you're talking about small molecules, like electrolytes, cathodes, atoms, and catalysts, these are small transition metal catalysts, or photovoltaics, that quantum nature is very difficult for us to simulate.

19:49.700 --> 20:01.980
But, if you break those problems down using the best approaches in quantum today, using quantum algorithms, you can actually start seeing, maybe we can run these with a thousand or two thousand logical units.

20:03.460 --> 20:18.420
So, you can kind of plot this on potential for industrial impact, things that will actually have a huge, you know, impact on society, versus what is actually amenable to a quantum computer today.

20:18.520 --> 20:25.160
But, I will say, this, of course, can change at any point in time with new innovation.

20:25.160 --> 20:27.480
This is given where we're at today.

20:27.520 --> 20:36.800
And that simulation of quantum systems using a quantum computer is probably going to be the first killer application, but we still don't have all the details working.

20:39.000 --> 20:54.380
So, at Xanadu, the team that works on this, they are specifically focused on batteries, and it's because it's a nice position between everyone cares about batteries right now, it has a great societal impact, there's a lot of work to be done there, and,

20:54.380 --> 20:58.860
of course, it's something that we can actually see running on a quantum computer in the next decade.

21:00.080 --> 21:07.080
But, there really is, I would say, an important thing to note, and it's that the devil is in the details.

21:07.080 --> 21:15.520
A lot of papers that you see, even in this space, in quantum chemistry, are solving problems that nobody actually has to solve.

21:15.880 --> 21:36.140
So, this is from a great paper that actually identifies, it's clearly saying, although quantum chemistry is a strong candidate for a killer application of quantum computing, the lack of details in how quantum computers can be used for specific applications makes it difficult to assess whether they will be able to deliver on their promises.

21:36.140 --> 21:51.060
And I'd say 95% of the papers out there, definitely 100% of the press releases, definitely fall into the category of, they did it because they could do it on quantum computers, but it actually had no impact on the underlying problem.

21:52.560 --> 21:57.140
The other thing I really want to identify is, quantum computers are not fast.

21:57.320 --> 21:58.980
They are incredibly slow.

22:00.080 --> 22:07.160
Mark's favorite quantum computer can probably do about a couple thousand operations per second.

22:07.300 --> 22:12.960
And I really just want to highlight this plot, which gives you kind of the gate count that you need right here.

22:12.960 --> 22:20.000
The Pauli gates, these are specifically some of the difficult gates, but I really want you to take a look at the number of gates that you need here.

22:20.180 --> 22:28.120
If you're implementing a thousand per second, it's going to take you an awful long time in order to get through an algorithm today.

22:28.120 --> 22:34.860
So not only do we need to make quantum computers a reality, we also need to make quantum computers fast as well.

22:34.900 --> 22:39.040
And this actually becomes a really big issue for some core technologies.

22:39.040 --> 22:57.620
You might know the superconducting approach to quantum computing, but there's also trapped ion, there's photonics, neutral atom, there's people looking at silicon spin qubits, and people often focus on how good is their qubit, and how can it scale to building out a million qubit or greater device,

22:57.620 --> 23:00.400
but I'll add one other thing people should be focused on.

23:00.480 --> 23:04.380
Is there a fundamental limit to how fast your quantum computer can go?

23:04.600 --> 23:16.840
Because if there is, you might be dead in the water anyways, while we talk about generating real value, because you do need these quantum computers to be operating at, let's say eventually megahertz, in order to do the type of things that we want to do,

23:16.840 --> 23:19.620
code breaking and simulation of quantum systems.

23:20.820 --> 23:23.460
And then on the other side, of course, is the qubit count.

23:23.540 --> 23:25.180
So how many qubits do you need?

23:25.180 --> 23:29.260
And I really want to identify that this plot shows you logical things.

23:29.300 --> 23:36.080
So you can multiply this by 10,000 to understand where we need for those qubit numbers that are actually out there.

23:36.280 --> 23:50.340
And you know, you have your favorite RSA algorithms right here, but you're taking a look that you need, you know, huge numbers of qubits in order to do that, and also huge numbers of gates.

23:50.340 --> 24:02.840
So for example, just to break a 4k key, we need about, in this case, would be 10,000 qubits, and we need what would be 10 to the 11 gates.

24:03.360 --> 24:16.220
Today, when Mark jumps up to his IoT device, he can maybe run 16, maybe 30 gates, before everything kind of turns to mush, and the noise breaks into the system.

24:16.220 --> 24:28.240
So that error correction fault-tolerant algorithm is really required, but more importantly, it needs to be performant enough to actually get you to algorithms that can run for that amount of time.

24:29.500 --> 24:33.780
So there's one exception, maybe, and that's quantum machine learning.

24:34.020 --> 24:52.240
So quantum machine learning is a pretty weird thing that actually was a side note in a paper from a Japanese group that identified that when you look at a quantum circuit, that we normally kind of represent like this, with each little horizontal line being a qubit,

24:52.240 --> 25:05.360
and those boxes being gates that either operate on a qubit or allow you to operate on multiple qubits, you can actually forget all that, and you can treat it as a black box that can have some trainable parameters.

25:05.680 --> 25:15.200
And the really, really cool thing, that even on hardware, you can calculate the gradient of a given circuit analytically.

25:15.200 --> 25:23.280
Again, not through some sort of difference approach, but actually an analytical approach to getting that gradient.

25:23.280 --> 25:30.800
And this means that your favorite gradient descent methods that you've learned from your work in ML will actually work on a quantum computer as well.

25:30.820 --> 25:42.600
The basic idea is that you can actually train a quantum computer knowing absolutely nothing even about the circuiting side, the same way you would a neural network for any other ML, or differential, specifically.

25:43.920 --> 25:47.960
And it doesn't work just for one circuit with one free parameter.

25:47.960 --> 25:53.520
You can actually build incredibly complex circuits with many free parameters, and you will see.

25:53.640 --> 26:07.600
If you're interested, this will be my only pitch for anything, Xanadu, and it's an open source project called Penny Lane that was built out on taking advantage of this idea, and how it has become a general purpose software development kit for quantum.

26:08.440 --> 26:10.520
It allows you to do this very easily.

26:10.520 --> 26:21.460
If you can use TensorFlow, you can use Penny Lane or many other quantum computing or quantum machine learning languages in order to start playing on real hardware today.

26:22.780 --> 26:29.540
I'll just highlight one thing you could do, and it's completely pointless, but I encourage you to do it because it's super fun.

26:29.700 --> 26:34.640
You can actually do quantum transfer learning, and you can do this in about 20 lines of code.

26:34.640 --> 26:42.280
What you would do is you take your favorite neural network, this is ImageNet, which is an image classifier.

26:42.560 --> 26:45.660
You feed it your favorite image, and it comes out with tags of what's in there.

26:45.660 --> 26:47.860
It was originally built out by Google.

26:47.920 --> 26:52.060
You can actually blob off the last few layers of it.

26:52.180 --> 26:59.540
What you put in there instead is a combination of a classical embedding network along with a quantum circuit.

26:59.540 --> 27:07.120
In this case, we put in a 4-qubit quantum circuit that runs an IADF machine.

27:07.760 --> 27:15.160
Then you can retrain this entire thing, training the embedding, the output embedding, which will give you two categories.

27:15.160 --> 27:17.260
In this case, we trained on bees and ants.

27:17.420 --> 27:23.020
You can get performance that is equal to that if you didn't include this at all.

27:23.160 --> 27:25.800
At least the quantum part is not making it any worse.

27:25.840 --> 27:28.860
It's not going to make it better, but it's not making it worse.

27:28.860 --> 27:35.320
There's in fact no reason why you would believe that in this specific case, including the quantum piece, would make it better.

27:35.320 --> 27:43.200
But there is research now suggesting two directions where quantum machine learning can provide some advantage.

27:43.200 --> 27:48.700
It won't be computational advantage in terms of schema, but it might do one of two things.

27:48.700 --> 27:53.640
One, if you're dealing with quantum data, quantum machine learning might actually have a big impact.

27:53.900 --> 28:07.120
I think over the course of the two days, you might be exposed to some quantum sensors and the idea there is if you're actually getting quantum information from a quantum sensor, maybe you could use some QML methods in order to improve how you process that data.

28:07.160 --> 28:25.140
The other one is there's been some recent research from Lawrence Berkeley National Lab and Los Alamos National Lab that suggests that potentially the amount of data you need in order to train quantum machine learning models is lower than what you need for classical models.

28:25.140 --> 28:29.080
The amount of pain you have to suffer to get that advantage is huge.

28:29.160 --> 28:34.000
Again, you're not going to train on real hardware, it's going to take way too long, so you're going to train on simulators.

28:34.140 --> 28:49.540
Right now, the barren plateau issue, which the machine learning world faced several decades ago is a real big issue right now in quantum machine learning where you find yourself in areas where there is just no brain in where you can sit there.

28:49.880 --> 28:52.820
And many other issues that people are facing and working towards.

28:52.820 --> 28:59.360
It's a really exciting field and the best part about it is it's super straightforward to get into there.

29:01.360 --> 29:08.660
The other thing I'll just mention about TinyLane is that you can embed this with broader machine learning frameworks.

29:08.800 --> 29:14.860
So in fact, you can work with TensorFlow and treat the quantum part just as a node in the broader graph.

29:15.280 --> 29:23.920
So, like I said, if you're used to working with Jax or TensorFlow, PyTorch, whatever your favorite way of doing gradient descent is, you can do it right now.

29:24.680 --> 29:29.320
So, overall, the point of the story is we need better quantum algorithms.

29:29.800 --> 29:31.440
But it's not all bad.

29:31.440 --> 29:34.160
There's a lot of fantastic people working on this.

29:34.160 --> 29:36.960
But the thing that they're actually lacking is tooling.

29:37.500 --> 29:41.720
So, the pitch I will make to everybody here is get involved.

29:41.780 --> 29:52.400
The expertise that you have in everything, whether it be from networking, whether it be cyber security, compilation, classical programming, it's desperately needed in this field.

29:52.620 --> 29:58.700
You'll hear some horror stories about what quantum hardware looks like from a cyber security perspective.

29:59.100 --> 30:00.940
That's online today.

30:01.200 --> 30:02.740
Tons of room for improvement.

30:02.780 --> 30:07.740
But I would also encourage you to get involved in that software development pit in the compilation stack.

30:07.740 --> 30:12.960
This is something that's really limiting researchers being able to develop better algorithms.

30:13.360 --> 30:22.520
With that, I'll leave it there, but happy to stick around for the next little bit and answer any questions you may have about anything quantum or quantum machine related.

30:48.560 --> 30:52.980
Yeah, so, I mean, Mark will answer this from his perspective.

30:52.980 --> 30:54.280
It's what he does for a living.

30:55.380 --> 31:06.620
But maybe what I'll say is, a lot of this is focused around the fact that quantum is believed to be good for a number of optimization problems.

31:06.640 --> 31:10.240
And whether that's true or not is a point of debate between many people.

31:11.080 --> 31:14.840
But that's when things like portfolio optimization come into mind.

31:15.360 --> 31:23.960
Arbitrage opportunities, so you can imagine having a big network and depending on how you traverse that network, one path might be shorter than the other.

31:24.020 --> 31:34.000
And this can be important for if you're looking at an equity market and you realize there are interest rate markets or exchange markets, you could potentially get some arbitrage opportunities.

31:34.960 --> 31:39.840
I would say, a lot of people are in finance because finance pays well.

31:39.940 --> 31:43.440
And they're trying to find out anywhere where it might apply.

31:43.440 --> 31:48.320
But my general position is it's not been a fruitful experience.

31:48.860 --> 31:51.380
There's one maybe exception.

31:52.500 --> 31:54.560
Quantum Monte Carlo is a thing .

31:54.560 --> 32:03.540
And Monte Carlo is used pretty heavily as a method to look at evaluating risk and pricing in a lot of financial products.

32:04.820 --> 32:09.400
Probably Monte Carlo underpins far too much of the financial system.

32:10.280 --> 32:14.160
And Quantum has the potential to provide a quadratic scheme.

32:14.480 --> 32:21.740
But you pay in a lot of ways, and probably the worst way is that you can't peek inside the underlying paths.

32:21.740 --> 32:23.540
You just get the answer out in the end.

32:23.540 --> 32:28.320
And it's really hard to actually take a look at all the underlying information.

32:28.340 --> 32:34.000
Which today, people really leverage in order to understand the models, in order to evaluate risk.

32:34.040 --> 32:35.980
So, a lot of effort is happening.

32:36.040 --> 32:46.240
I would say, we're like a decade probably out before we see quantum finance really making an impact.

32:46.440 --> 33:00.940
I'm leaving out Quantum Inspired, which is a whole thing, where there have been a lot of cool optimization methods that are applicable to finance, that have come out from how we solve quantum physics problems, or how we simulate quantum mechanics.

33:01.080 --> 33:04.940
But writing on an actual quantum computer, again, is going to do well.

33:05.380 --> 33:10.300
I mean, I just say, actually, that's a really good response, which I'm not going to add anything to.

33:10.300 --> 33:18.760
Only because there's actually some of the largest amounts of bullshit I've seen in quantum, that have been from claims made around finance.

33:18.760 --> 33:24.620
Forgetting that, when you analyze financial data retrospectively, it always looks great.

33:24.740 --> 33:26.240
You know where the fit is.

33:26.240 --> 33:28.760
But does that fit working for the future, is the real question.

33:28.760 --> 33:32.100
And that's where there's, I think, a lot of effort in looking into it.

33:32.760 --> 33:34.840
Quantum finance is a thing.

33:34.860 --> 33:36.920
Google it, that's the phrase, quantum finance.

33:36.920 --> 33:38.440
You will find all sorts of...

33:38.440 --> 33:41.840
about how money markets move, and how quantum physics work with it.

33:41.840 --> 33:43.620
There's really interesting ideas.

33:44.280 --> 33:53.760
Applying different algorithms to different areas, like graph-frenshing, like graph-absorption, or max-learning-cut, problems are really applicable.

33:53.820 --> 33:58.780
But the big one that we're looking at more and more is quantum-inspired intermediate.

33:58.780 --> 34:02.000
And there's a talk at 3pm today on quantum.

34:02.400 --> 34:05.260
So, any other questions for Matt?

34:05.320 --> 34:06.280
Yes?

34:06.280 --> 34:11.620
You mentioned that you need a point, you said for one qubit per day, it's going to be like 100,000?

34:11.620 --> 34:13.540
More like 1,000 to 10,000.

34:13.540 --> 34:17.540
Is that because, like, the operation going through a gate collapses the wave function?

34:17.540 --> 34:18.480
Is that a problem?

34:18.960 --> 34:25.820
So, I would say, the exact underlying physical mechanism depends on how you build your quantum computer.

34:26.240 --> 34:31.180
So, in a photonics approach, the number one source of noise is loss.

34:31.400 --> 34:40.840
So, your qubits are photons, or a-photons, depending on the method you take, that are traveling through a fiber-optic cable, or a chip, or a waveguide.

34:40.960 --> 34:44.560
And every so often, they have the potential to scatter away or be absorbed.

34:45.220 --> 34:50.600
And if they don't all make it to the end, that introduces some sort of noise into your system.

34:50.760 --> 34:58.780
And superconducting qubits, it's coupling to the environment, they're coupling to other qubits that they shouldn't be coupling to.

34:58.780 --> 35:00.920
So, think of it as thermal noise.

35:00.920 --> 35:05.080
It's why they're sitting in supercooled environments.

35:05.080 --> 35:11.320
And there's many different sources of noise for each modality, but usually one dominates the other ones.

35:11.380 --> 35:22.700
But what it fundamentally means is that, unlike digital computers, which are pretty much perfect, you know, you do have a huge source of air.

35:22.820 --> 35:29.900
There's work being done on what I would call intrinsically air-corrected qubits.

35:30.060 --> 35:38.260
So, we can imagine ways of building qubits physically that already have some air correction or fog tolerance built into it.

35:38.260 --> 35:40.100
It's a very hard thing to do.

35:40.100 --> 35:45.280
There's been several paperwork tractions from early scientists' qubits that have already happened.

35:45.400 --> 36:05.880
There's an in-between that we leverage at Xanadu, which is you can use kind of, instead of encoding your qubit on a two -level, a 0 and a 1 type of quantum system , you can use a quantum system that has many levels, but you need to do a much fancier encoding in order to get it in there,

36:05.880 --> 36:08.480
but then it gives you some air resistance.

36:08.480 --> 36:13.320
It's still not air correction, it's not fog tolerance, but at least it gives you a little bit more resistance.

36:13.920 --> 36:17.020
And then the last thing is air-correcting codes.

36:17.020 --> 36:25.180
So the codes that check when an operation has gone bad and then correct it require way more research.

36:25.180 --> 36:34.320
So there's a really big opportunity that there'll be some transformative impact coming out of that academic community that would reduce that number down much lower.

36:34.320 --> 36:46.240
But with today's codes, the way we understand how to use today, realistically we're talking about 1,000 to 10,000 depending on how good your qubit is and what codes you're using.

36:58.120 --> 37:05.900
So quantum communication is a different thing, but yeah, I mean, I'm sure it'll be discussed on the fact that...

37:06.860 --> 37:08.080
The next talk, in fact.

37:08.080 --> 37:08.900
In fact, yeah.

37:08.960 --> 37:12.320
The answer is yes.

37:12.840 --> 37:15.800
I'll give my negative pitch for QKD.

37:15.800 --> 37:18.360
We've had it for 20 years?

37:18.420 --> 37:20.720
39 years since BB84.

37:20.720 --> 37:21.560
39?

37:21.560 --> 37:22.160
Yeah.

37:22.160 --> 37:22.780
Okay.

37:22.780 --> 37:24.240
It's 2023.

37:25.280 --> 37:36.300
It has not gotten mass adoption, and also if you ever want to see terrifying side-channel attacks, look at existing QKD hardware.

37:36.500 --> 37:46.620
Because it is just like obviously getting a bunch of businesses to build a cyber security device, and then being like, oh wait, we have to protect this from a classical side?

37:47.760 --> 37:49.180
Oh no, so...

37:49.180 --> 38:04.500
On the side, the original side-channel attack on the original paper for BB84 if you can find it, the original side-channel attack was they used motors to pull the polarisers in and out, and when they landed, they made different noises.

38:06.240 --> 38:10.220
So, QKD's had a plethora of problems.

38:11.160 --> 38:12.120
There's also...

38:12.120 --> 38:18.580
There's one that they did in Bristol where they had four separate lasers to do the four separate states that we've been doing before.

38:18.780 --> 38:23.760
And the four separate lasers had different powers, so you could...

38:23.760 --> 38:26.020
switch lasers on and off.

38:26.020 --> 38:27.140
Just by looking at electricity.

38:29.440 --> 38:33.860
So yeah, so we've already had the whole power analysis for fun.

38:33.920 --> 38:35.860
And now we can probably also look at...

38:35.860 --> 38:44.140
By the way, on this topic, if anyone finds a vulnerability in a QKD system, do get a CVE for it.

38:44.140 --> 38:49.000
Because there are at least a dozen papers on archive that tell you how to hack QKD.

38:49.040 --> 38:51.220
None of them are documented in Cybersecurity.

38:51.740 --> 38:52.900
None of them.

38:53.920 --> 38:57.580
And we use these things, you might have heard of the CVEs, but you know the CVEs.

38:57.580 --> 38:59.900
There's no CVEs for quantum computation tables.

38:59.900 --> 39:07.440
Even the stuff that crazy Russian hackers have been doing, or teens from universities and all that, there's no CVEs.

39:07.520 --> 39:13.980
So if you're CSO looking at QKD, there's literally no way of telling that it's absolutely screwed.

39:14.600 --> 39:18.760
I will add, if you're CSO is looking at QKD, it's time to find a new job.

39:18.760 --> 39:19.920
That's it.

39:20.920 --> 39:22.400
I'm going to put that out there.

39:22.400 --> 39:23.300
Any other questions?

39:25.360 --> 39:37.820
So mine kind of actually leads into what you were just saying, which is, kind of in this call to action or escape, we need to even better talk about genvolves and what channel force it is.

39:38.240 --> 39:39.640
Yeah, that's great.

39:39.640 --> 39:43.260
So there is actually pretty fantastic resource communities right now.

39:43.520 --> 39:57.620
Again, the one I know the best, because the project was started with Xanadu's paneling, that there's active discord, Slack, user conference, developer conferences that happens.

39:57.620 --> 39:59.660
Qiskit has a really active community.

39:59.860 --> 40:12.080
Potentially, based on some signs we see maybe that's slowing down a little bit, but there is a number of very open conferences right now on the quantum software side.

40:13.220 --> 40:18.280
I don't have my QHack shirt, but QHack would be one of them that I would suggest getting involved in.

40:20.140 --> 40:23.700
I would say, just trying to think of where other places would be good.

40:23.700 --> 40:30.480
The National Labs, also specifically Oak Ridge National Lab, is a leadership coaching facility.

40:30.560 --> 40:37.160
They put on an annual conference as well that would be quite good to get involved with.

40:37.200 --> 40:50.040
But I would also say feel free to reach out to myself, anyone here with kind of in the quantum industry, we can definitely point you in the right direction, depending on what your interest is.

40:50.620 --> 41:03.720
And I would say, probably, I don't want to knock on wood, but it's also an industry that is very short on talent and growing at a scary scale right now.

41:03.720 --> 41:13.520
Don't know whether that's the same or not, but your favourite large multinational now has a few hundred people focus on quantum software and quantum networking.

41:13.840 --> 41:19.440
So it's also a pretty solid career to get involved in this space right now.

41:20.360 --> 41:21.920
Any other questions?

41:23.700 --> 41:24.680
Then let us thank Raf.

41:24.680 --> 41:25.520
Thank you!

