From the course: Cloud Quantum Computing Essentials

Unlock this course with a free trial

Join today to access over 25,500 courses taught by industry experts.

Quantum random number generator

Quantum random number generator

- [Instructor] Let's look at Hello quantum world or random number generator, again, using a different learning environment, and dig a little bit deeper so that you can understand a little bit more about some of the key gates. So this comes with an editor, just like the QC engine, but I'm just going to focus in, 'cause we've kind of gone once through this, but I want to go a little bit deeper so that you can start to get an intuition for the mathematics. So as you can see, what this does, you might remember, is you have two qubits, and you use an H gate, to put the first one in super position, and then you entangle both qubits using a CNOT. And then you'll basically flatten the penny, and read out the result. So let's just kind dig into this a little bit more and I'll show you what the code looks like so you can see it. So there's the code. So if we go into this, the explanation is just really well written. So, okay…

Contents