Photonic Ship - Task 8 "Apply quantum gates randomly"

• Let the system applies the quantum gates (X, H, Z) randomly..
• For example, in each frame, pick a random integer between 0 and 300.
    • If it is 100 or 200, applies X.
    • If it is 50 or 250, applies Z.
    • If it is 150, applies H.
• Apply X only in the classic mode, and Apply Z only in the quantum mode.
• Play with the randomization parameters to make it more comfortable for yourself.


Restart the game