Skip to content
/ qilin Public

A pico-8 port-in version for the original Qshooter. Better interface and in-game descriptions.

License

Notifications You must be signed in to change notification settings

wslu42/qilin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Qilin

qilin_9

Play Qilin from you browser at itch.io here.

As I am improving this game to add the increasing level difficulties, tutorials and storyline, comments and/or feedbacks are very welcomed!

Story of this game

History of this game

Quantum ideas involved in this game

In this work I implemented randomness, superposition and entanglement through QASM backend (micro-qiskit for LUA, specifically). The user control is just a three-qubit circuit composer with circuit depth = 3, and by using X, H, and CX gates we asked user to come up with states matching the falling enemies.

The idea that I am experimenting is how to represent in-game locations with quantum states. In Qilin this is realized in controlling where the laser beams are shooting. It requires proficient understanding of 3-qubit states and the player's fast response to put together a quantum circuit which maps to the enemy's location using circuit composer. The goal is simple - shoot down as many as enemies as you can!

Build quantum circuit into your muscle memory and HAPPY SHOOTING!

qilin_3

Mission of this game and Relevance to the theme QUANTUM DA VINCI

As an inspiring and pioneering engineer, Da Vinci has inspired artists, architects, and engineers of many disciplines. As NISQ (Noisy-Intermediated-Scale-Quantum) hardware is approaching real applications, we will also need to cultivate our next generation quantum workforce to continue our journey developing a scalable universal quantum computer. In this game I am looking into how to build a game that trains our next generation quantum engineers who are proficient in using quantum circuit composers to come up with quantum circuits mapping to required quantum state combinations. (In the game it's called "Quantum Da Vinci program, QDaV for short." as introduce by our beloved guide Daedalus)

More behind the scene

The measurement part of in this code is designed such that counts won't be too high that user can basically shoot down anything with H gates.

  1. Has only 16 shots each time when user load the circuit with space bar.
  2. For states with counts <4, set the count of that state to 0.
  3. This will prevent the player from exploiting hadamard gate to put all qubits in superposition and shoot lasers from all 8 columns.

A detail walkthrough for gameplay

Picture1 Picture2 Picture3 Picture4 Picture5

About

A pico-8 port-in version for the original Qshooter. Better interface and in-game descriptions.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published