Summary: space ship fires "gate" to turn particles "state" to |0>
- Move ship "D" to collect particle.
- When ship hits particle, it measures the state and get +1 score for |0> and -1 for |1>.
- Fire gate to turn particle state to |0> and collect it. For example,
- fire X gate to turn |1> into |0>
- fire H gate to turn |+> into |0>
- fire S, H and then X gates to turn |R> into |0>
- If miss 3 particles, game over.
The following global variables may be modified to increase the game difficulty.
- SCREEN_Y: add more lanes
- PARTICLE_SPEED_X: faster particles
- Use ipywidgets so that it can be played inside browser or vscode with jupyter.