start	end	text
0	4600	This talk is already going viral on Wired, if you've seen it.
4600	7940	About 30 minutes ago, I think, it just got posted.
8220	10500	Does anybody know the reference here?
11380	12180	Anybody?
12180	12920	Anybody?
14560	15680	James Bond.
15680	16340	There you go.
16340	17580	Las Vegas.
18100	22240	So, without further ado, diamonds are for hackers.
24160	26660	The Prime Minister of Canada.
29020	31160	And Miss Victoria.
31300	32760	Thank you.
38750	39950	Hello.
44130	45090	Welcome.
45870	49790	I'll start off with giving a bit of a context of why we're here.
50430	53570	If anyone wants a little preview, get a bit ahead.
53570	55090	Here's a QR code for you.
55090	57250	We'll share the information later.
57250	58030	So, don't fret.
58030	60770	Or just Google Quantum Village Uncut Gem.
60770	62150	Something should come up.
62550	65350	A little bit of context from where we're coming from.
65350	68970	We are both the co-founders and co-organizers of Quantum Village.
68970	70470	And Quantum Village at DEF CON.
70470	72790	So, we're a 501c3 as well.
72790	76870	We are very fortunate to have lots of people come from all over the planet.
77310	81510	To join us and look at the wonderful worlds of quantum technologies.
81630	84350	Alongside cybersecurity and creativity.
87250	89530	So, a little bit about ourselves.
89530	90610	I'll hand it over to Mark.
91670	94550	So, I'm not actually the Prime Minister of Canada.
94550	96430	I'm really sorry if you're expecting that.
97450	99030	My name is Mark.
99970	103270	When I was 15, I was told that how I use computers is called hacking.
103270	104710	And I should be really careful.
105630	109810	And ever since then, there's been an up and down twist between being a violinist.
110290	111930	Which I was for a good few years.
111930	114630	And then actually breaking things and doing tech things.
114630	116710	And ultimately also doing a lot of mathematics.
116710	119990	I ended up getting a PhD in math, which is really quite fun.
119990	121250	I thought it was, anyway.
121370	125170	And now, I'm working with Victoria and lots of other cool folks.
125170	127830	To really bring quantum tech to the fore.
127830	128830	So, over to you.
129710	132530	So, on the other side, I went to art school.
132530	138810	So, for anyone out there who doesn't come from a classical engineering or science-y background.
138810	142090	I hope to be a representation of some hope.
142090	144450	That you can partake in this field.
144570	146530	I've worked in things like finance.
146530	148270	Everyone's got to pay their dues.
148350	150650	And as well as other companies.
150650	154930	And basically worked on commercializing machine learning models for cybersecurity.
154930	156450	Which kind of got me here.
157030	157730	Yeah.
158810	161090	A little bit, again, about Quantum Village.
161090	165150	Just to give you an idea of the visual beautifulness of it all.
165150	166810	That we're expanding.
166810	168850	We do lots of open source projects.
168850	170050	And we've also got a zine.
170050	172270	So, if you're inspired, please submit something.
172270	175470	Because we want to show how awesome this community is.
176090	178690	The real big thing and the mission of Quantum Village.
178690	181690	Is really showing how we can harness that creative misuse.
181690	183150	For better quantum tech.
183150	185990	We really believe that everyone in this room is part of that.
185990	190570	In terms of the skill sets that obviously get asked.
190570	193010	After technologies develop.
193010	194110	Not before.
195050	197150	So, why a quantum sensor?
197150	198650	Why uncut gem?
198650	203150	Well, a lot of it actually stems from not being able to get our hands on quantum hardware.
203730	208810	So, you know, a bit of constraint usually breeds a lot of good creativity.
208950	211930	And if people were giving us lots of quantum sensors.
211930	214350	We'd probably just be demoing those.
215050	217390	A little bit of background again.
217390	218970	Why quantum technologies?
218970	221790	It would be remiss not to mention quantum computing.
221790	224270	Because I think that's always on the tip of everyone's tongue.
224690	225650	Why?
226070	227950	And literally here's just a bit of a slide.
227950	230950	That's showing all the big names and the reasons why.
230950	234150	That computing in a way on this kind of subatomic level.
234150	237170	Might be the future in terms of understanding nature.
237170	240430	Using nature to kind of compute nature.
240770	243550	So, a little bit of overview again.
243550	246550	On the hardware architecture that's evolving around us.
246550	248790	Here we've got a picture of a transistor.
248950	254950	All these game changing epochs that are sort of coming along.
254950	256710	And we've stuck the chandelier here.
256710	258850	Arguably that's not really the key for you.
258850	260010	It's usually tiny.
260010	263070	But these are the things that I think we're on this journey.
263070	266710	And we really see the hacker community as being part of it.
266770	270230	And again, we're moving into this new evolved data center.
270230	272710	Where we're moving away from a parallel way of computing.
272990	275490	Into this more probabilistic way.
277170	279910	Okay, so in terms of like quantum tech.
279910	282710	One thing we always say is we're entering quantum 2.0.
282710	286810	We actually had a kind of like quantum 1.0 in the mid 50s.
286810	288270	Right, in the last century.
288450	291790	Probably the best example is looking at the MRI machine.
291810	294510	You know, that's a diagnostic tool that a lot of us have probably used.
294510	296350	Or we've got family members who've used.
296350	299050	And actually now with the next advance of quantum 2.0.
299050	301790	We're getting devices, these higher precision devices.
302090	305230	That mean that you don't necessarily need like a shielded room.
305230	308690	And that's like the kind of game changing thing that we're trying to showcase.
308690	312150	And bring more people into using as well in their everyday work.
313290	315650	And again, this is just to show you like the seesaw.
315650	319730	And the tension between moving science out of the lab into tech.
319730	323070	You know, and we really think we're on this journey right now.
324390	327810	And this slide is basically explaining that.
327810	331910	You know, when you look at a quantum computing stat for anyone who's curious about it.
331910	334490	It's actually deceptively classical.
334490	338950	Like from the outside you might think that perhaps it's, you know, Ph.D.
338950	340390	in physics requirements.
340390	343630	But, you know, even with a lot of the talks that we've had at Quantum Village.
343630	347090	And like people we've interacted with who are building these computers.
347090	349110	A lot of them are RF engineers.
349170	350450	They're software devs.
350450	356730	They're not necessarily the sort of archetypes that we might associate when we think of figures in quantum computing.
357530	359590	In terms of like where we're at.
359590	361610	This is a very crude overview.
361610	367290	In terms of like looking at that classical open source stack that tends to be dominated by a lot of big tech.
367290	371010	But also you've got like RISC-V architecture, like open source architectures.
371010	377070	And now we're starting to get kind of like this open source architectures in the quantum tech stack.
377070	379390	And we're trying to push that forward even more.
379590	383610	Here are two people who've actually presented at Quantum Village.
383610	385090	And we're very proud to say that.
385090	387450	And that's Max Alto and Yann Alain.
387450	391650	And they're two people who are building these sort of open source hardware devices.
391850	394950	With Max it's a magneto-optical trap.
394950	400270	A mod that reduces the cost significantly for labs to be able to perform lots of experiments.
400270	405010	And Yann's demonstrating how you can do like an education platform around quantum networking.
405210	406750	And these are live projects.
406750	409870	I encourage you to get involved if they're piquing your interest.
410410	411990	In terms of what else is out there.
411990	414450	There's Open Quantum Design which comes out of Canada.
414450	415530	Maybe Mark's got a link.
415530	415950	I don't know.
417250	422870	And they're starting to do like an eye-on-trap OpenStack offering.
422870	424710	I encourage you to get involved.
425050	426230	So when we've been...
426230	431490	Again, the premise of this project was very much like we can't get access to hardware.
431550	434870	And for anyone in this room, you probably love hardware too.
434870	436710	So we started looking.
436710	442770	And you can see there are sort of very significant established projects coming out of national labs and so on.
442770	447350	But when we kind of like dive deeper, they still have this like 10K requirement.
447730	452430	And that's quite a lot when you're dabbling around and you might not be government funded or whatever.
452430	454630	Or I don't know, be an heir to something.
455950	462770	And so like even looking at say Fermilab, they've got a really nice sort of like open source quantum control system.
463410	465230	And you can buy this as well.
465230	466650	But again, it's in thousands.
466650	467890	Did you leave the password?
468350	469290	Someone did.
469290	472070	But I think we've been on it to remove that.
472070	477150	And then so like, let's move forward now into like the more like quantum sensing.
477150	479670	A lot of it is thinking about lasers and cool optics.
479790	485850	And actually, when you think about quantum sensing, usually you'll see a kind of like an optics table.
485850	490770	And here is a sort of demonstration by Patrick from the University of Nottingham.
490770	498750	And I just want to like do a big shout out because there are people in academia that will come to a B-sized London, pitch up for three days and show people.
498750	500430	And it was one of the most encouraging experiments.
500430	504590	And it's really demonstrating that you could do these science experiments with Lego.
504590	506470	And I believe a lot of people like Lego.
506470	514290	So actually having that shows you how you can open up these texts in a way that you don't necessarily need that fancy optics table.
514370	520830	For most people from the physics community, they, you know, working with these like high precision lasers, there is a reason why you have them.
520830	526170	But if you're not doing these like high powered lasers, actually, for us, it's not necessary.
526730	532610	In terms of quantum sensing itself, there are lots of benefits versus classical sensing.
532610	534970	And I think that's the one thing to kind of say as well.
534970	537990	It's like, it's not just like hype for the sake of hype.
537990	543730	There are like advantages and the high precision and thinking about a lot of them are very, very sensitive.
543870	545790	Some other kinds are quite durable as well.
545790	548550	And that's the diamond stuff that we're here to talk about.
549090	552390	In terms of where we're at, we're looking at these solid state defects.
552390	557730	There are other versions that can be used for different kind of modalities and use cases.
557730	564890	And here, this kind of chart basically demonstrates that we're going up to that sort of NV center diamond sensor where you can actually detect the heart.
565010	565250	Right.
565250	568990	And then there are other ones where you can do like sort of brain scanning and so on.
570250	574790	This is an example of like some very cool companies that are really commercializing.
574790	577330	And this is really to show you the potential of the use cases.
577330	581130	Like if you're building your own sensor, or you're thinking about like, what is the use?
581130	582910	Like, why should I waste my time?
582930	589130	And that's really like, you know, robotics, you know, brain computer interfaces and medical diagnostics being a big one as well.
589130	590910	There are probably some other use cases as well.
590910	592010	You can look it up if you're curious.
592010	595010	But these are the ones that I think I'm like, wow, these are cool.
595430	602570	And then, you know, here's an example of a company called Q-control that's doing very cool things with an NV center diamond, I think.
602950	607870	Basically to show like a way of kind of getting around GPS jamming, which is a current issue in the world.
607870	609610	So that's something that's really happening.
609610	617630	And, you know, it's really about saying there are quantum technologies that are out of the lab now, and are scaling and are viable and probably worth checking out.
617770	623250	I didn't get the time to put a cute photo of someone wearing this like 3D printed helmet.
623250	628810	But basically this MEG sensor, it's not using diamond, it's a different kind, but they're 3D printing it.
628810	634330	And it's also from the University of Nottingham where the MRI machine technology was actually born.
634330	640410	So it's showing you that even, you know, the genesis of these devices and how people in industry are evolving.
640670	642770	So who else is into diamonds?
642830	644870	Because it's not just all sensing.
644870	649410	And I think this is the fun bit when you're thinking about this quantum enabled like tech future.
649410	652790	And that's to say that there are people actually using diamonds to compute.
652790	657290	So if you get your hands on some, like maybe you can actually go create your own computer.
657290	659850	Maybe not a very good one, but you can get started.
659850	665530	And actually, you know, thinking about devices on the edge, actually the interconnects and the networking.
665530	672070	And because we can do diamond technology, like NV center diamond technology without cooling, that's the really big thing.
672070	677850	You know, you don't need these like chandeliers that you sort of associate with a lot of quantum computing and quantum technologies.
677850	681610	That's the real, you know, gift that NV center diamonds do.
682330	687410	In terms of open source and like why we felt this project was important and why to open source.
687410	693350	I think the really key thing to say is that the idea of collaboration, it's incredibly important.
693350	696790	It's incredibly important with different skill sets as well.
696830	709890	And, you know, I think one thing when I was just researching around Vint Cerf, he probably doesn't need much introduction to people here, is actually that, you know, I think once upon a time and maybe Wikipedia is wrong, but he was trying to actually lobby to privatize the Internet.
709890	716290	So it shows you how people are also thinking differently or changing their perspectives on what should be closed, what should be open.
717090	718050	Right.
718290	721230	So we're here to present Uncut Gem.
721650	736750	You know, just now we've done with a little bit of the context and the real key things here for us with the design philosophy, as I said before, like kind of this design engineering perspective is really where we're like harnessing and where I think the hacker community has a lot to contribute.
736970	741790	The aim for this device is really like for education, for exploration.
742070	744690	There's a lot of demand, I think, for that.
744690	748910	The idea of also using off the shelf components was very important.
748910	753950	As anyone knows, who's trying to like reproduce things like it can be like really cumbersome.
753950	757070	Like when you're trying to reproduce something, you're like, oh, this is not working.
757370	760070	But, you know, especially that for us.
760070	767150	And then creating a hardware stack, obviously, that allows you to, I guess, you know, with a lot of hardware, you can actually make it a software problem.
767150	772670	And actually, that's where skill sets, if you're like a machine learning person, an AI person, you can do that post-processing.
772670	778530	So it's really to show that like if you're in a different field, like in a JSON field, there's actually something for you.
778570	782570	And then we've really simplified it like this is not supposed to be the best answer.
782570	788310	It's supposed to be like as cheap as possible and kind of making it as simple and easy for people to get started.
789070	789650	All right.
789650	791110	I'm going to hand it over to Mark.
791970	792810	Thank you.
792810	800150	OK, so let me give you an overview of kind of how we constructed this device and also what's going on.
800150	805290	What is NVC, so Nitrogen Vacancy Center Diamond Magnetometry?
805430	809950	So who here has like seen a Hall Effect sensor that's like 50 cents, about this big?
809950	810870	Yeah, loads of people.
810870	812370	We use them all the time, right?
812370	813550	And this is how they work.
813550	819090	So we put a charge across a doped bit of silicon, just as we do with pretty much every other semiconductor.
819350	832870	And then if a magnetic field crosses it, the Hall Effect means that if we take an orthogonal measurement, we can get an estimation of how strong the magnetic flux or the Tesla's of that particular magnetic field is.
832870	842130	OK, now this is basically how we do magnetometry in the quantum sense, but we do it in a very, very different way and with much, much higher sensitivity.
842330	846230	So this is an artist's interpretation of what's going on.
846230	846650	All right.
846650	852850	So we take a diamond lattice, OK, a big carbon lattice and something happens to energize it.
852850	856590	You can irradiate it, you can put it in a cathode ray tube and hit it with electrons.
856890	861190	They form naturally, only very small amounts.
861190	867370	They form under the elastic deformation of diamond, which gives you an idea about how much energy is required.
867370	870790	OK, so what happens is that the carbon gets knocked out.
870790	874290	Now, a carbon, if you remember from chemistry class, has four legs.
874290	877770	And for nitrogen, nitrogen is diffused into the lattice.
877770	883550	And so when the nitrogen takes the place, then the nitrogen having only three legs leaves a gap.
883550	886890	Now, nature abhors a vacuum, is a phrase you'll hear a lot.
886890	891350	And so actually that gap is a quantum mechanical thing.
891350	894010	OK, and so it has an energy.
894010	895690	OK, it has what's called a Hamiltonian.
895690	901190	In fact, one way of looking at it is what's called an isopropabilistic spin density, a.k.a.
901190	906930	the pretty picture of the probabilities of measurements in the structure.
906930	912910	And the fact that this is actually really quite tight and quite sort of well-formed is why you don't need to cool it.
912910	915750	There's a lot of quantum systems you need to supercool, right?
915750	916810	With these, you don't.
916810	920570	And the reason is that, I mean, they have a very low efficiency, it's about 3%.
920570	925630	Other defects have like 60%, but they do require cooling, like tin vacancies.
925630	930510	But nitrogen vacancies have a low efficiency, but also they form what's called a virtual atom.
930510	940950	And it's a virtual atom, for the technical folk, without a Doppler shift relative to a photon, which basically means they're not vibrating, because it's a gap, so it can't vibrate, right?
940950	954250	So the idea there is that actually, you know, we can actually have a very stable platform for doing something quantum embedded inside a very, very robust lattice, like diamonds are really hard, like they are the hardest thing we have.
954250	958030	So actually, it's a very robust material with interesting quantum properties.
958070	964370	Now I mentioned it has an energy, and we may as well just rip the band-aid off and show you what that looks like, okay?
964370	968490	When someone says, here's the Hamiltonian, this is what they mean, alright?
968790	972850	And so, let me just break this down, I'm a mathematician, I'm qualified.
973010	976070	So we have the energy of the system, alright?
976210	978590	And we describe this in a few terms.
978590	982910	So these two terms describe the energy from light and microwaves.
983150	987310	And then we've got this term at the end, and there's two capital letters, B and S.
987310	995290	This term is a magnetic field tensor, which means that it responds, the energy in the system reacts to magnetism.
995290	997530	And then the other side is a stress tensor.
997530	1004810	So technically, and we haven't done this, but technically, you can measure the stress in the lattice using light, okay?
1004810	1011310	So this is basically a crash ten-second course in NV centers.
1011390	1015690	There are YouTube lectures, you can go and find MOOCs about this kind of thing.
1015730	1019270	But for what we need to understand for this build, that's all we need.
1019270	1027350	So we can represent this in much prettier pictures, and so I'm going to give you a walking tour of basically how these centers are interacted with, okay?
1027350	1029750	So this is the stage, okay?
1029750	1037230	We start with the lower energy levels, so lowercase ABC, and then we have the upper energy levels, capitals ABC.
1037230	1043770	And we can go up, and when we have a little shelf level, and all of these will come to play in the story.
1043770	1049690	So what we do first is we put green laser light in, about 520, 525 nanometers, okay?
1049690	1059730	That puts it into a very high energy state, and it will relax down to the least greatest energy state here, which is the capitals ABC, okay?
1059730	1066650	So when it relaxes there, it can then wait a while, and then it will want to go into its lowest energy state.
1066650	1069270	So it wants to go back from high to low.
1069370	1073070	Now if it goes straight down, it will release red light.
1073430	1081890	If it goes down via a shelf level, it will release infrared light, a longer wavelength, because it's kind of expended some of the energy on the way down.
1081890	1084750	It took a little rest, had a little hiatus, a little siesta.
1085990	1088670	So ABC, those are three letters, right?
1088670	1090090	What are they doing there?
1090090	1091830	Well, there's a thing called a hyperfine structure.
1091830	1099030	So if we apply microwaves, then we can go from A to guarantee being in B or C.
1099250	1105150	And if we apply microwaves and a magnetic field, we can get all the way up to C.
1105790	1114030	And what that means is we're more likely to have things collapse straight the way down and increase the output of red light.
1114190	1116410	So that's the kind of system we're dealing with.
1116410	1118330	If you want to read more, there's a paper here.
1118450	1122450	You can also look at things like Zeeman splitting to sort of refine your understanding.
1122470	1126590	I won't go into that now, but basically the physics is really quite straightforward.
1126590	1128050	And I say that as a mathematician.
1128050	1131610	I have more interesting times than the electronics, which we'll cover in a moment.
1132010	1134230	But this is the structure of the output.
1134230	1136330	So you see the sweep in microwave energy.
1136330	1136950	What does that mean?
1137850	1140770	Increasing microwave energy is increasing frequency.
1140770	1146730	So we sweep a load of frequencies of microwave energy, and if we choose the right center, we'll see a little dip.
1146730	1150070	That dip is, for reference, 2.87 gigahertz.
1150550	1154910	When we have microwaves with a magnetic field, we will see splitting.
1154910	1162430	And so that one dip will become two dips, and then become more dips, and they'll get further apart as the magnetic field increases.
1162430	1172030	So if we can find a way of measuring this, and we can find a diamond that has these properties, then we should be able to do some sensing.
1172030	1173610	At least, that's what we thought.
1173610	1175490	Turns out, I think we might have been right.
1175490	1177250	But there's four things we need.
1177250	1182950	We need light, we need microwaves, we need to detect red light, and we need a magnetic field.
1183430	1186690	Now the magnetic field we get for free from the use case.
1186690	1187850	We're not going to provide it.
1187850	1188790	We don't want to provide it.
1188790	1192790	We want the other thing to provide it, so that we can then set up the system and then measure it.
1193050	1195170	So we're not going to generate a magnetic field.
1195170	1195690	Great.
1196050	1197610	Then the other thing we need is a light source.
1197610	1200470	Now physicists love their lasers.
1200830	1202030	They love a laser.
1202070	1203670	Physicists will go ape for a laser.
1203670	1204610	They really will.
1204730	1211630	However, lasers have somewhat of a health and safety OSHA nightmare attached to them, which is that you can look at them and then you're blind.
1211630	1214070	So we don't want to blind people.
1214070	1216690	We want people to be without being blinded.
1216690	1221170	So we actually sort of looked around and Victoria was like, can we just use an LED?
1221870	1223550	Turns out you can.
1224150	1228310	Because actually, if you remember that Hamiltonian, there's no phase term.
1228310	1233230	So actually, because there's no phase term, you can just use the energy from the correct frequency.
1234610	1238670	So we're going to use some super bright LEDs, and that's the light part sorted.
1238670	1243690	So we need to provide power, a little resistor so they don't blow up, and that's the LED done.
1243690	1244270	All right, great.
1244270	1246390	So far, it's a really simple build.
1246390	1247290	Anyone can do that.
1247290	1248630	They've probably already done it.
1248810	1250150	We mentioned microwaves.
1250150	1252750	Now, microwaves we have a lot of experience with.
1253230	1256630	Most of telecoms is built out of microwaves.
1256790	1260310	Wi-Fi and all these other communication infrastructures, they're all microwaves.
1260310	1262870	So we're really, really good at handling microwaves.
1262870	1269090	Quadrature, phase shift, coding, they are really complicated ways of messing around with microwaves.
1269090	1274810	So we have chips like the ADF4351, which is just a microwave generator.
1274810	1283570	You send it six packets of data over SPI, and you get the ability to generate a specific microwave frequency.
1283570	1284850	And the range of these things is impressive.
1284850	1290030	It goes from 35 megahertz all the way up to over 4 gigahertz.
1290030	1291690	Really huge range.
1291690	1295610	Because they're designed to just be used in general telecoms use cases.
1295630	1297110	And also the amplifiers.
1297110	1301310	So the amplifiers here are kind of like GALI84, to those who know what that is.
1301310	1303450	They're just monolithic microwave amplifiers.
1303450	1308750	There's a band of frequencies that they work in, usually in a similar range to the chip that's generating them.
1308810	1310130	And they will just amplify.
1310130	1314450	And so we put two in a row, and we get, I think it's like sort of minus 16 dB or something.
1314510	1317470	Which is quite a good amount of amplification.
1317910	1320630	So, okay, this is what we're going to use for this side.
1320630	1322290	Then we need to detect the light.
1322290	1325970	And so you'll hear a lot about photo detectors and photon detectors.
1326150	1329670	And they have an interesting way to be built, okay?
1329670	1331670	You have to make lots of very smart choices.
1331670	1335390	So the first choice we made was the BPW34 photodiode.
1335390	1336610	This is the response curve.
1336610	1339910	Now, remember, the light going in is 525 nanometers.
1339910	1345910	If you draw your finger on the graph, then you'll see that's about .2 on the sensitivity scale here.
1345910	1352570	Whereas the red light, which is, by the way, 620 nanometers, is about .5 on the sensitivity.
1352570	1354030	So it's much more sensitive.
1354070	1358410	So if we take that higher sensitivity and add some filtering, we should have a really good result.
1358410	1359730	But how do you filter things?
1359730	1363810	Now, a physicist will tell you you have to use a thing called a dichroic mirror.
1363810	1366130	They're amazing, okay?
1366210	1372510	They are basically optically highly polished surfaces sputtered to a very, very particular level.
1372510	1378310	And what that allows you to do is have a very narrow gate on what frequencies of light you let through.
1378390	1382090	They also cost about 50 quid each, at least.
1382090	1383870	They are not particularly cheap.
1383870	1385490	So, okay, what's the alternative?
1385490	1395910	Last year, I found a paper from the previous year that showed you can just use red filter gel from Amazon that's used in lighting, and it works.
1395910	1398770	80% as well as dichroic mirror.
1398890	1401790	And we tested that, and it's true, okay?
1401790	1405210	So we have made a great saving right there, okay?
1405210	1405950	All right.
1406710	1410010	And we have at least one roll left of this at The Village.
1410370	1411850	But that's not enough, okay?
1411850	1416650	You need to be able to take the signal from a photodiode, which is really weak, and then amplify it.
1416650	1418670	Now, for that, you use a transimpedance amplifier.
1418670	1423830	And there are quite a few papers in the literature that have transimpedance amplifier designs.
1423830	1428590	Some of them are dreams from I don't know whom.
1428770	1430170	There's no way they would work.
1430170	1433210	I don't quite know how no one spotted it, but hey, whatever.
1433490	1436210	And others are actually really useful and informative.
1436270	1440110	And we were able to set up this little amplification network with a dual op amp.
1440390	1441930	And we chose the values.
1441930	1443790	You can change them and tweak them.
1443790	1445870	But ultimately, this kind of works.
1445870	1446850	Mostly works.
1447010	1453990	We also, instead of using a, like, minus 5 volt generator, we also use, like, a voltage divider to get, like, a fake ground.
1454010	1455310	So it's a total hack.
1455310	1456370	It's a total cheat.
1456370	1459270	But it saves, like, $10 on the bomb, okay?
1459270	1462630	Because you're just using two resistors as opposed to a very expensive component.
1462910	1469850	But if you want to use the proper components and use an INER 217 or some sort of nicer instrumentation amplifier, you can do that, too.
1469850	1471190	And you will get better results.
1471190	1473030	We just wanted, like, a baseline.
1473090	1474090	This works.
1474370	1476250	So how do we do the input output?
1476250	1479830	We chose the ESP32 because they're basically everywhere.
1480130	1485290	So even if you can't buy one, you can just find a device and desolder it and just take it out, okay?
1485390	1488070	They cost about $4 new.
1488070	1492230	I don't think there's a used market for them because why would you, right?
1492270	1495750	So we use this to control it.
1495850	1496690	And this is really nice.
1496690	1503890	It has a really nice 3-volt ADC, which is actually quite high for a microcontroller, maximum threshold for ADC conversion.
1504030	1505470	We also have lots of it.
1505470	1507870	It also has onboard Wi-Fi and Bluetooth, okay?
1507870	1512730	So it is a connected sensor in all but software, all right?
1512770	1514590	That is actually quite nice, okay?
1514590	1516770	But when I say software, I mean firmware here.
1516770	1519130	And when I say firmware, we wrote it in Arduino.
1519630	1522250	And the reason for that is not because I'm a huge fan of Arduino.
1522250	1524030	I mean, I am, right?
1524370	1527590	Personally, I would write things in different ways because I'm that way wired.
1527590	1531710	But unfortunately, you know, the way I do things is not necessarily portable.
1531930	1533870	So what we did is we chose Arduino.
1534110	1537750	Arduino allows us to have a really wide range of alternatives.
1537750	1546190	If someone says, I don't want to use ESP32, I want to use, or I can only get a hold of this chip, or it's 5 to 10 years down the line, you know, someone wants to just try the code out.
1546190	1554290	Well, what we did is we've exposed all the SPI pins and all the control pins, and we're releasing all the firmware in Arduino.
1554710	1561070	So that way, actually, more people should be able to, A, understand the code, and B, be able to actually sort of utilize the code.
1561070	1562690	And we also made lots of decisions along the way.
1562690	1572130	So the default library for the microwave generator chip, basically, you tell it what frequency you want, and it generates all of the arrays.
1572950	1577830	That is really noisy when you've got an op-amp right next to it.
1577830	1582930	So you end up not detecting the diamond, you're just doing a side-channel attack on your own microcontroller.
1583110	1584330	That's not ideal.
1584330	1592710	So instead, what we did is we pre-computed lots of arrays, and we've got a script we'll release, which actually shows how to generate these arrays of values.
1592710	1604010	And that script then allows us to just pre-compute the sweeps of microwaves, and then we're just fetching from memory, and then just throwing it at the microwave generator.
1604010	1606910	So we're not actually sort of computing it every time.
1606910	1610530	That's one kind of design decision that was really important.
1610530	1611850	And so we made a PCB.
1611850	1613810	This is the very first design.
1613810	1615130	And it was great.
1615130	1616070	It looked wonderful.
1616070	1619730	It was just missing one part.
1620530	1621750	The diamond.
1621750	1629650	So as you do, we managed to get in touch with De Beers, because that's a sentence I have in my life now.
1629830	1636090	Actually, it's Element 6, so they're a company who actually do manufactured and composite diamond material.
1636850	1638970	We also spoke to Adamus Nano as well.
1638970	1648850	And we sort of worked with various companies to try and get some samples of diamonds so that we could actually access and test our design of this thing.
1648850	1652950	So this is where... I'm just going to change to Finder.
1652990	1655810	So here we have... whoops, wrong demo.
1657250	1658150	This one.
1658150	1661530	So this is a chunk of diamond dust.
1661610	1667990	I bought like four or five carats worth of diamond dust, which is intended for industrial applications.
1667990	1669370	You can do this on eBay.
1669370	1671690	I don't know if it puts you on any lists, but hey.
1672090	1677090	So I bought a load of diamond dust, and I was told about the elastic deformation underground.
1677090	1681330	I was like, hey, diamond dust, some of them might have had enough energy to get some NV centers.
1681430	1682190	And this is what happens.
1682190	1686930	This is a red filter with a speck of diamond dust, and it's lighting up.
1686930	1688490	Not all of them do this, by the way.
1688490	1690550	If you try it, not all of them will do this.
1690550	1693190	But as the green laser... so the yellow dot is actually green.
1693750	1696190	And then it hits the diamond, and it converts it.
1696190	1698850	And it looks kind of underwhelming, if I'm honest with you.
1699670	1706950	When you compare it to a proper actual manufactured diamond, this is what it looks like.
1706950	1711850	So here you see the laser come in, and then there's the conversion.
1711850	1712570	There you are.
1712570	1714390	That's lots of red light being converted.
1714390	1716670	This is about one part per million.
1717330	1722930	So for every million atoms in the lattice, you've got one center, which means that it's doing all this conversion.
1722930	1729650	Lots and lots of light is being converted from green into red using the nitrogen vacancy sensors themselves.
1729650	1733030	So that was actually very cool.
1733290	1734810	So we have a diamond.
1734810	1736250	It's high quality.
1736290	1738830	How do we get rid of the optics table?
1738910	1742430	And the idea we came up with was a prism.
1742750	1746010	Epoxy is a really easy material to work with.
1746010	1748930	So everything can be encased in epoxy.
1748930	1751870	Whether it should is entirely up to your own mobile fiber.
1751870	1758010	But you can just get epoxy that will cure in 45 seconds under UV light and has great optical properties.
1758610	1767430	People do make lenses, not very good ones, but they make quick and dirty lenses for certain use cases.
1767430	1769210	And so we went, OK, let's try this.
1769210	1770110	But things to consider.
1770110	1771950	Diamond is a stone.
1772210	1773530	It sinks.
1773830	1776030	So you can't just put it in epoxy.
1776030	1778430	It'll just sink all the way to the bottom.
1778430	1780330	So you've got to take that into consideration.
1780330	1783250	Also, you've got to have proper prep and make sure everything is very clean.
1783250	1785330	And make sure you've got rid of all the dust ahead of time.
1785330	1787310	But basically, here's the rough plan.
1787310	1790790	So this was version one, and it was terrible.
1791370	1792630	It didn't work.
1792630	1795710	So this is not close enough for the microwave antenna.
1795750	1800290	The diamond little speck here was not aligned properly.
1800290	1801370	This didn't work.
1801410	1803330	So we went through another design iteration.
1803330	1807190	OK, put the laser on top, put more red filtering, and then put an amplifier at the bottom.
1807190	1812790	OK, the amplifier values here, for those of you who want to squint and decode them, no, they don't work.
1813190	1819430	And likewise, the diamond itself, without pointing directly at the PD, even with all the red filtering, it doesn't really come together.
1819430	1820170	This doesn't work.
1820170	1821090	All right, fine.
1821350	1822190	This did.
1822190	1825910	This was the start of it starting to look like we're getting a signal.
1826630	1831350	And so these are the right kind of values on the op amp.
1831350	1832890	A little filtering on the power.
1832890	1838410	The laser is kind of just held up by copper wire, because actually it's quite malleable, so it's quite easy to work with.
1838630	1843910	And we're just shooting it orthogonally, so the laser beam is missing the photodiode, but it's getting the diamond.
1843910	1846030	And you'll see that it's bright yellow.
1846210	1851330	That's because the camera sensor looks at the red and the green light and goes, that's yellow.
1851930	1852710	It's not.
1852710	1855530	If you look at it up close, it actually looks like it's red and green.
1855530	1857470	But this particular sensor picked it up like this.
1857470	1858530	OK, this is great.
1858670	1862190	So then we got the PCBs ordered, and we're like, let's try and build one of these.
1862190	1864890	Actually, maybe we should just try this out.
1865130	1867070	And so we did, and it worked.
1867070	1870010	If you look there, you're seeing little dips as we scan.
1870010	1874650	So we scan the frequencies, through the frequencies, and then we take a load of measurements.
1874650	1879310	And as we get up, you see a dip, and it comes back up, and it works.
1879410	1881930	Or at least, it seems to work.
1882250	1886450	All right, so this is what it looks like up close, just to give you a closer idea for the build.
1886450	1887630	There's a microwave loop.
1887630	1889870	This is just 24-swig copper wire.
1889870	1894970	Most swigs between 20 and 28 will probably be fine.
1895170	1898550	We're looking at doing an open source, like, sort of actual antenna.
1898550	1901350	That would be a really cool thing, if you've got the software to do it.
1901350	1902850	But currently, we don't.
1902930	1903810	But these are the parts.
1903810	1907630	So the diamond's in the middle, a little loop for the antenna, and then a photodiode is underneath.
1908290	1908990	All right.
1908990	1915850	So this is the kind of overall, the overview of the actual layering, just for those who want to sort of try it at home.
1915970	1917630	We won't spend too long, don't worry.
1917630	1922230	But we put a layer down first, and then we position the diamond in the loop.
1922510	1925990	Then what we do is we secure that, just a thin layer of epoxy.
1925990	1929830	And I'm using UV-curing epoxy here, because it's actually really easy to work with.
1929830	1933010	By the way, if you mess it up, it's fine.
1933010	1940890	Just get a hot air gun to 200 degrees, then epoxy will denature, the layers will come apart, and the diamond won't care.
1940990	1941490	Okay?
1941490	1945270	The diamond has seen far, far hotter temperatures.
1945270	1947070	It'll just go, ah, fine.
1947070	1948890	So you can just get your diamond out and try again.
1948890	1949110	All right?
1949110	1951230	It's really easy to iterate with this stuff.
1951230	1954130	And then what we do is we secure everything in epoxy on top.
1954130	1955210	It's all orthogonal.
1955210	1958330	Put a little layer where we can secure the red filter.
1958330	1961750	And then what we get out the other end is a working setup.
1961770	1966870	So conceptually, the chip is telling each frequency to the microwave controller.
1967050	1971970	That then generates, as a source generates it, amplified into the aerial.
1972130	1973330	That excites the diamond.
1973330	1974650	We hit it with green light.
1974650	1977830	We actually put the LEDs inside the epoxy prism.
1978650	1984390	And then what we can do is you can just see we filter out the green, and then the photo diodes on top, and then we take measurements.
1984630	1987270	So set a frequency, take some measurements.
1987270	1989410	Set a frequency, take some measurements.
1989410	1991310	Rinse, repeat for the whole array.
1991330	1995130	And then, hopefully, you see the right shape of the output.
1995130	1998190	If you don't, you need to do more filtering or you need to do more software.
1998970	2010110	So for style points, the first one that you saw a few slides back was actually built out of parts almost entirely sourced on Amazon for various reasons.
2010270	2012910	And in total, it came in at about $160.
2012910	2017390	The only thing you couldn't get was the diamond and the PCB.
2017390	2020170	Everything else is on Amazon.
2020210	2021890	It's not just off the shelf.
2021890	2025510	It's so off the shelf, it has a prime option.
2028030	2029490	But obviously, it's more expensive.
2029490	2032830	If you want to wait a little longer and save a bit of money, that's also an option.
2032970	2034310	AliExpress might be your friend.
2034950	2036770	All right, next big question.
2036910	2039010	Okay, does it actually work?
2039010	2048490	I mean, to be honest, when you were describing it just now, I was thinking, okay, if it doesn't work, we can put this on Etsy with all the little jewelry-esque molds we've been using.
2048490	2061030	So we enlisted a friend, Professor Ben Varko from University of Leeds, to make sure we're not sort of like promoting some sort of snake oil, because there's already enough of that in the world.
2061130	2062950	And we drove up to Leeds.
2062950	2068070	It's not like the most accessible place in the UK, I must admit, as a person from London.
2068330	2070170	But we went there nonetheless.
2070410	2071850	And here it is.
2071850	2076290	We're testing it out, because that's where you have all the kit to do it.
2076290	2084630	And here I am literally putting my heart and soul into it, because I was like, okay, let's find a really useful use case, like my heart.
2084630	2087110	You keep saying we can do magnetometry.
2087110	2088210	Can we really?
2088650	2095610	Okay, so to explain a bit of the science here, the blue line, if you notice, Victoria's holding two electrodes.
2095690	2099250	The blue line is a standard electrical measurement of the heartbeat.
2099250	2101530	So you see the up and you see the down, right?
2101790	2104730	The yellow line is a heavily filtered.
2104730	2115050	So we took the signal out of the amplifier, put it through about $30,000 worth of filtering equipment, and then we were able to zone in on a particular frequency set.
2115050	2119330	What that meant was we got the yellow line, which exactly aligned.
2119330	2124510	We were doing magneto-cardiography with the design.
2124550	2125870	That's cool.
2126190	2127530	Thank you.
2129830	2130870	Okay.
2131870	2138070	So here's a little short demo, just showing you another way of perceiving it.
2138070	2144910	So here is... so the gray thing at the bottom is a reference magnetometer.
2144990	2146210	You can see it here.
2146270	2147870	And then there's an oscilloscope.
2147870	2150110	And our device is just next to it.
2150110	2155030	And I take a diamond on a post-it note, because that's how I roll, and I shake it.
2155030	2159190	And the red line is the $5,000 magnetometer.
2159390	2164790	And the yellow line is the not-$5,000 NVC diamond magnetometer.
2164790	2165210	Okay?
2165210	2171190	So this is actually showing that it can kind of keep up with a reference device.
2171190	2175670	I mean, all in, actually, with the filtering, it probably costs more than $5,000, if we're honest.
2175670	2176910	But this is the goal.
2176910	2183310	We want to get it that we can have a package that allows us to actually come to having this magnetometry available.
2183310	2186690	But ultimately, yes, it works.
2188910	2190690	All right, so here we are.
2190690	2194430	We're here with the Uncut Gem, released as a Defcon badge.
2194430	2199130	Because I think always we were like, we need to make something with utility.
2199450	2201210	For us, it was to make a badge.
2201210	2203850	That was our description, our brief.
2203850	2208550	And I think for a lot of people outside of that, they were like, why are you doing this kind of thing?
2208550	2215470	And actually, the moment we started evolving the design, adding a prototyping piece at the top, and so on.
2215470	2219250	Whenever I'm interacting with people from our community, they're like, I get this.
2219250	2220210	I understand this.
2220210	2221530	This looks familiar.
2221530	2227850	As opposed to the really fancy kits you can get in physics labs that you probably aren't getting.
2228310	2235910	And the evolution of this design is really to make it more hackable, accessible for people to be able to use it.
2235910	2238010	And then also make it easier to manufacture.
2238010	2241110	So we're also simplifying the design as well.
2241110	2242230	And this is available.
2242230	2244330	And I guess this is it here.
2245070	2247310	Although, obviously, it should be wearable.
2247310	2249130	So we will be fixing this soon.
2249130	2249910	Right now.
2250710	2251370	Anyway.
2252930	2253590	All right.
2253590	2256690	So this is kind of a bigger version of what you're seeing here.
2256690	2258750	Also, this doesn't have the cute purple.
2258990	2262430	So I'll just give you a quick walking tour of what we put on this board.
2262430	2267170	So on the right, we have the integrated signal generation and amplifier setup.
2267170	2272950	On the left, we have a reasonably well isolated op amp.
2273330	2275030	It could do with improvement.
2275030	2275930	It needs a lot of work.
2275930	2277590	But, hey, it does work.
2277990	2280290	We also have USB-C because it's 2025.
2280310	2281730	And I think micro USB should die.
2281730	2282070	Sorry.
2282070	2283050	Personal opinion.
2283710	2287290	But over that, we also do UART processing.
2287290	2291490	So the readout is going straight out of the USB via UART.
2291690	2293830	That is from the mount of the ESP32.
2293830	2294850	And also breakouts.
2294850	2300270	So all the pins, I2C and SPI that you use in this build, are all broken out.
2300270	2305170	So if you want to just build one of these but not use the ESP32 and use something else, it's just there.
2305170	2308390	And at the top, you can see 2.54 millimeter pitch pins.
2308390	2320290	If you want to just put something else on here, an accelerometer, some kind of, you know, I don't know, barometer, temperature sensor, whatever you think is going to be useful, you can kind of build that in with a prototyping area.
2320290	2321930	So this is the idea.
2321930	2325470	This is basically the uncut Gen V2.
2325470	2326110	Here it is.
2326110	2327050	It's here.
2327250	2329870	So thank you.
2335560	2337100	So does this work?
2337640	2338680	Okay.
2338900	2341860	Just a quick overview of some of the results we managed to get.
2341860	2345740	So this was the first kind of measurements I was taking.
2346260	2349780	They are bad.
2350140	2351580	In case you're wondering.
2351580	2353460	Yeah, we're missing a signal here.
2353460	2354800	That's fine.
2354800	2356420	So we took the data.
2356580	2358500	We did some ambient measurement adjustment.
2358500	2359700	We wrote some Python code.
2359700	2361340	This is all up on the repo.
2361360	2365240	At least it will be if my laptop sort of sorts itself out later.
2365880	2370320	So we did some ambient adjustment and then I hit it with a large magnet.
2370320	2370860	Okay?
2370860	2371680	Large magnet.
2371680	2377060	Like heavy neodymium, probably like sort of a couple of thousand gauss.
2377060	2379100	Like some reasonably strong magnet.
2379100	2379800	All right?
2379800	2384200	And then I put it in this very high tech isolated chamber.
2384460	2385060	Okay?
2385180	2389600	This was formed from a paper roll and a coaster on a wooden table.
2389600	2389860	All right?
2389860	2391320	So very high tech.
2391320	2393060	And then we did some measurements.
2393060	2396640	This is what we got when we did the ambient adjustment.
2396640	2398440	That's correct.
2398480	2399140	Okay?
2399200	2400340	That's good.
2400340	2401120	All right.
2401400	2402860	But does it detect magnets?
2402860	2403960	Okay, large magnet.
2403960	2404740	Here we go.
2404740	2405700	Yes.
2405700	2407980	So not only did it find a shift.
2407980	2410800	It also lowered the full levels completely.
2410820	2415120	Which means that the illumination went right the way up.
2415120	2415480	Okay ?
2415480	2417220	So actually, this is a really good sign.
2417220	2420560	I thought it was really bad until a professor of physics told me otherwise.
2420560	2421460	Professor Ben.
2421560	2423360	So this was actually really cool.
2423360	2424520	I was like, well, can we hack with it?
2424520	2425900	Because I want to hack things with it.
2425900	2431340	And at the moment that's quite nascent because there's so much involved in terms of delicately balancing things.
2431340	2434800	But I did get a little LED and cheated slightly with a coil.
2434820	2436220	And I was able to see this.
2436220	2436700	Okay?
2436700	2439520	So the blue line is just reference.
2439520	2441440	And it's a noisy environment, bear in mind.
2441600	2442980	Electromagnetically noisy.
2443060	2447060	But when I turn the LED on, you do see the shift of the splitting.
2447320	2448040	Okay?
2448080	2451880	So there is promise here for doing some really cool stuff, we hope.
2451880	2453420	And we're releasing all the designs.
2453420	2455540	Everything fully open source.
2455540	2458640	So the PCB, the schematics, if you want to go make your own.
2458640	2464600	In fact, actually, someone in Italy has actually made his own uncut gem.
2464600	2465640	It's so cool.
2465640	2466000	Okay?
2466000	2469080	And I think we sent him a diamond to sort of get him going, right?
2469080	2470500	Like, he's such a nice guy.
2470760	2474700	But we are, like, really, really excited to sort of have this actually working.
2474700	2477000	This demonstrates that, yes, we can get the splitting.
2477000	2478440	We can start doing better measurements.
2478440	2479700	We can start improving it.
2479700	2481480	And we really sort of want the help.
2482660	2483160	Yeah.
2483160	2485980	So that's where you guys all come in, we're hoping.
2485980	2493740	I will add one thing that Professor Ben actually did add afterwards is that he was kind of like, holy CRAP.
2493740	2498600	Actually, I might have been humoring you both a little bit when you were coming all this way.
2499160	2503780	And, you know, I think that's a true testament of what, you know, this community can do.
2503780	2509500	And as you can see here on the slide, we've got an example of the sort of skills that we need to improve and we're working on.
2509500	2513900	I think you mentioned that we can make it into a connected sensor.
2513900	2518300	So that's another thing that actually might be an interesting thing for people to explore as well.
2518300	2521400	And we welcome any contributions and updates, really.
2521400	2522080	So thank you.
2522080	2523240	Access all atoms.
2525240	2526920	So it takes a village.
2527180	2527920	All right.
2527920	2531440	You know, we've been really guiding this for the last year, mostly.
2531440	2533300	We've been looking at doing a badge for three years.
2533300	2534440	We really honed in.
2534440	2534740	It took a while.
2534740	2535460	Yeah, it took a while.
2535460	2536340	Sorry about that.
2536340	2539600	But we really zoned in over the last year and really tried to get this working.
2539600	2541400	And we've had some help from some amazing people.
2541400	2544060	So not just myself and Victoria, but also Dr.
2544060	2547820	Matthew Markham, who's been doing this stuff for like 18 years, long before it was cool.
2548340	2551940	Max Shivakara Alto, who's done some amazing fabrication work.
2551940	2555800	There are some 3D printable mounts for which he sent me the STL file.
2555860	2558500	And it'll fit onto the three little holes in the middle.
2558580	2563460	We couldn't quite get them 3D printed for today, but that's a supply chain problem.
2564140	2564520	Dr.
2564520	2567800	David Benoit, who is an astrophysicist at University of Hull.
2567980	2568840	He's amazing.
2568840	2571280	He hunts aliens with quantum computers.
2571280	2574420	If you want to go and read about some really cool work, go and find David.
2574420	2575720	He's such a cool guy.
2575720	2576620	And he's been really helping.
2577160	2580740	Astrophysicists are used to dealing with noise, so he's been really helpful there.
2581080	2590180	Rick Althor and David Bengtsson have been really helpful in terms of the electronic works and the RF stuff, giving us some pointers about sourcing and component selection.
2590180	2591420	So thank you to them.
2591420	2596580	Professor Ben, of course, because he's really cool and let us have a lab for half a day.
2597420	2603700	And also Brian Moderma, who's been a sort of advisor and sort of helper since the beginning of the project.
2603700	2605340	So thank you all to them.
2605340	2609080	All I can say is here's the end of the presentation.
2609080	2614840	And thank you to everyone here, because this is the community that's given us the space to do this.
2614840	2616180	Yes, thank you all.
2616180	2617400	Access all atoms.
