Huang Junye

Qiskit Advocate

Let's

Make Games

with Qiskit

About me

  • Qiskit Advocate
  • Participant of Qiskit Camp 2019
  • Co-organized Qiskit Hackathon @ Singapore
  • PhD student at National University of Singapore

Why games?

Games are fun

Games are fun. Period.

 

Examples:

Mario,

Pokemon,

League of Legends,

Minecraft,

Fortnite

Source: Nintendo

Games are cool

Games are used to demonstrate technological advances.

 

Examples:

IBM Deep Blue (Chess),

IBM Watson (Jeopardy!),

AlphaGo (Go),

AlphaStar (StarCraft)

Source: Reuters

Games are educational 

Games can teach you something.

Examples: SimCity, Oregon Trail, Rollercoaster Tycoon, Civilization

Source: Electronic Arts

Games are useful

Games can do useful stuff.

Examples: Fold.it, Microsoft Flight Simulator, PeaceMaker

Source: Fold.it

Quantum games

Let's play games on quantum computers!

  • Quantum re-imagination of the classic Pong game.
  • Explore unfamiliar concepts in a familiar setting.
  • Bonus: demonstrate quantum supremacy advantage.

Courtesy of James Weaver (IBM)

Developed by Anastasia, James, Jarrod, Junye

Minetest + Qiskit circuit puzzles

Developed by James Weaver (IBM)

A quantum folk tale about a wolf transversing in the multiverse of 3 classic folk tales in pursuit of a little boy Peter.

Peter and the wolf

Litter red hood

Three little pigs

The wolf

Developed by Aurélien, Diogo, Junye, Omar, Sameed, Yishan

And many more!

Hooked?

Let's start making games!

Game engines

Direct library import

Flask server

(with Qiskit API)

JavaScript

Lua

C#

Twine

Minetest

Python

Pygame Example: QPong

Circuit Composer

QuantumCircuit

Quantum paddle

Classical paddle

Before measurement:

superposition => statevector backend

 

After measurement:

collapsed => qasm_simulator backend

Let's Make Games with Qiskit

By Huang Junye

Let's Make Games with Qiskit

Let's make games with qiskit

  • 1,340