quantum bloch maze, a puzzle game

bloch maze is a 2D puzzle game that mixes classic maze navigation with basic quantum computing ideas. it’s open-sourced here: https://github.com/chutommy/bloch-maze

the concept

the point of bloch maze is to get an intuitive feel for how quantum states change when they pass through gates. instead of just moving a character to the exit, you have to steer your quantum state so it matches a target state at the exit.

you start at the entrance in some state, for example |0⟩. your goal is to reach the exit in a different state, like |+⟩. you move through the maze and step on cells that apply quantum gates, each one changing your current state.

game mechanics

gameplay revolves around your quantum state and the gates that transform it.

moving onto a gate updates your state according to the usual quantum rules. for example, applying H to |0⟩ turns it into |+⟩. if you reach the exit in the wrong state, you fail the level and try again. so the route matters as much as the destination.