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!
- An earlier version of is game in pygame named qShooter can be found here.
- This work is inspired by QPong made by qiskit advocate Junye Huang, a quantum variant of classical Pong. Play QPong here.
- Quantum simulation in this game is done with micro-qiskit code for LUA
- Game dev/Art/SFX all in PICO-8.
- A solo game dev done by Wen-Sen Lu during the 2021 itch.io Online Quantum Game Jam event.
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!
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)
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.
- Has only 16 shots each time when user load the circuit with space bar.
- For states with counts <4, set the count of that state to 0.
- This will prevent the player from exploiting hadamard gate to put all qubits in superposition and shoot lasers from all 8 columns.