Photonic Ship - Task 7 "X and Z gates"

Congratulations with completing the quantum part of game :-)

• When in a superposition (|+> or |->), make sure that pressing X does not change the state and so the game.
• When in (|0> or |1>), pressing Z does not change the state and so the game.
• But, when in a superposition (|+> or |->), pressing Z should switch |+> to |-> and vice versa.


Restart the game