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.

29 thoughts on “Quantum Pong — Programming on Quantum Computers Ep 1

  1. Do you need to be a coder to get started with Qiskit? Is it little to no code open source? Thanks and keep up the great research!

  2. Thanks Abe and the team for featuring the game we made in IBM Qiskit Camp! You can download QPong here: https://github.com/HuangJunye/QPong

  3. If you are extremely bored, check out this video of QPong gameplay I just made. It's probably the first video record of quantum supremacy 😀 https://www.youtube.com/watch?v=eEfF4cOoobc

  4. Can you target it towards a undergraduate’s perspective? The toughest barrier to entry is understanding what I’m doing with qisket in comparison to a conventional computer where generally a high level instruction. So there’s a lot of conceptual background that needs to be built up, and then some jumping off points on the types of things we might implement.

    You definitely need to be working from the assumption that viewers have zero experience with quantum algorithms to reach the largest audience, and to have the greatest impact.

    Thanks @Qisket team!

  5. Nice video idea! I'd like to see some ridiculous hacks, like the one where tetris is played on a high-rise but with a quantum flavour. That would be fun 🙂

  6. There is an extreme shortage of good videos on Quantum Mechanics, Quantum Chemistry, Quantum Computing and Quantum Programming! This is really a great effort but we expect the code soon!

  7. G'day Abe, no real question, but definitely encouragement for what you're doing. I will look forward to watching the ongoing content and hopefully get my head around how all this works. Well done to you and the team.

  8. I am beginner and I am expecting this video series to be able to understand by a student of computer science background. I would like to request if you could provide me any source to get more knowledge about Quantum Computing.

    I have tried to enter into slack channel but i don't have credentials to go into it. Would you please help in doing that.

  9. I'm a Computer Science student and I love that this is open-sourced! I'm really interested in what sorts of quantum programs (specifically in chemistry) will eventually be possible to create.

  10. What is basic requirement to do quantum code? Is basic coding skills are enough or one need to explore other quantum topics.

  11. I can't believe there are only 13k views on this video. A make-up tutorial get millions of views. I'm done with this planet, I volunteer to go to Mars.

Leave a Reply

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