maxprofs-llcio / qwars Goto Github PK
View Code? Open in Web Editor NEWQWars is a qgame which is a quantum pygame to which we interface directly with the IBMQ Research HQ at the Thomas J. Watson Research Center in the cloud. QWars is a shoot-em-up game where you, our hero, are flying the Q Ship which is armed with lasers to which various size lava rocks will be flying at you in addition to a REAL IBMQ quantum computer to which is chosen when we make the initial network call as it selects the least busy device to to start the game. The results of our quantum circuit will produce values between 1 and 200 to which almost half will go into 00 and the other half to 11. There are 01 and 10 to account for noise. We use these values to seed our randomizer to make a truly exciting and unique experience with each new game! Our story is as follows. Quantum supremacy has been achieved and an evil AI has taken control as they have manufactured thousands of deep-fake copies of our beloved quantum computers! Your job as our hero is to shoot down the fake imposter quantum machines and save the universe from the AI singularity!