Quantum Pong — Programming on Quantum Computers Ep 1


Abe: So as you can see here
I’m losing pretty badly. Oh that’s funny, I can not
beat the classical computer. That’s not a thing we
should keep in the video. This game is very hard to beat. Hello, my name is Abraham Asfaw, and you can call me Abe if you’d like, I’m originally from Addis Ababa, Ethiopia and today, I live in New York city programming and learning how to develop on quantum computers. The point of this YouTube series is to take you through the journey of learning and discovering
quantum computers and programming quantum
algorithms on them. So Qiskit is how you program
IBMs quantum computers. The best thing about Qiskit
is that it’s open source and freely available and
what it means is that you can use it, not only
to build quantum algorithms but also in real world applications. So I started graduate school in 2012 and wanted to study
experimental quantum computing. Back then, in order to
do these experiments, you actually needed
access to a research lab that works on quantum computing. So the time it took for you to go from oh, I have an idea to okay
I can now do the experiment was several days, but now using Qiskit, you
can do all of the work with quantum computing from your laptop. Once you know how to program quantum computers using Qiskit, now you can focus on
various application areas. One particular area that you can focus on is quantum chemistry, so for example, calculating the bond length of molecules. So another area that you can focus on is the development of quantum algorithms. One of my favorite quantum algorithms is what’s called the
Bernstein-Vazirani algorithm. This is a really interesting algorithm so imagine you have a box with a number inside
it that you don’t know. You can find out what secret number is inside that box, in one shot. And one of the really cool
things that we can also do is program games based
on quantum computing. So on this screen, what we have is a game quantum
pong or Q-pong for short, and the idea is to
create a quantum circuit at the very bottom of the screen here as you can see which moves the paddle
based on the outcome of the quantum computation
from that circuit. So let me try and beat
the classical computer, oh, there we go, so watch me create a super position now, between those two but it doesn’t matter because I’m gonna lose anyway. However, now we have an
interesting situation, look at that, boom! Just lost. It went through because the measurement forced the superposition to
collapse into the bottom paddle and not the top one. This is a very good way
to teach quantum computing and generally how to
create quantum algorithms, even though I’m losing pretty hard, and as you can see, you can develop not only quantum algorithms but also quantum applications
and games using Qiskit. So through out this whole YouTube series, the goal will be to explore
this different range of things that you can do and eventually to learn how
to program a quantum computer. In the next episode, we’ll
be covering in detail how to install QISKit and get ready to start
programming with it, and then we’ll show you how to use Qiskit. So for those who have started on your journey with quantum computing, or even those of you who have generally been
curious about the field, what are the kinds of things that you want to know more about. What questions can we answer, please leave those in
the comments down below. Thanks for watching and we’ll
see you in the next episode.

Leave a Reply

Your email address will not be published. Required fields are marked *