Giter Site home page Giter Site logo

qchack2021's Introduction

QCHACK2021

RESCUE SCHRODINGER’S CAT

To install the game run the command

conda env create -f environment.yml

To run it simply type

conda activate qchack
python Hangman.py

Video

A video of the game can be seen in https://youtu.be/pqP2NNbnPZA

Instructions:
Welcome to the Quantum game of Rescue Schrodinger’s Cat, where you will have a chance to save the cat of world-renowned scientist Schrodinger. The probability will be your best friend to save the cat from death. Let us look into the rules of the game, Rules:- a) To play this funny game, you have to choose the difficulty level first. There will be 3 difficulty levels, from easy to hard via medium. Just choose the one you are most confident of. b) Now it is very simple, as you only have to guess a letter and fill it in the given blank position. c) There can be 2 possibilities after feeding in a letter, which are

  1. The guessed letter is correct, in which case, the letter will stay in the given position. Moreover, you are ahead one step to the cat's survival.
  2. Otherwise, the guessed letter can be incorrect, in which case, you will apply a quantum circuit with a randomly chosen qubit. Executing this step, the probability will play the role of your best friend here. If the probability of state 11 is present, then you will have another chance to feed in another letter, while the cat is still alive. d) Unfortunately, if the probability of state 11 is present, then we will have to be very afraid of Schrodinger, as his cat is dead. Saying all of those rule, it is time to play the game directly. We can divide the games into multiple phases, and we will go through the phases one-by-one,
  3. Entry Phase:- In this phase, we will see a screen a like below, which will provide us three options to choose from. These options will lead us to different difficulty states.

For simplicity, we can choose option 1, which is Easy. Now we can move onto the next phase. 2. Letter guessing:- Letter guessing phase will have a screen that will prompt you to feed in a letter of your choice. So, please input any letter that comes to your mind. We will input the letter ‘e’, which stands for Entanglement.

  1. Quantum Gate Selecting Phase: - As you know from the above section, that if the guessed letter is incorrect, then you have to apply any quantum gate of your choice. The gates, which you can apply is the below ones,

  2. Qubit Choosing Phase: - After choosing the quantum gate, please choose the qubit of your choice, which can be either 0 or 1.

If the probability of state 11 is non-zero, then we can have another chance of feeding in the letter.

Next Turn Phase: - You have the next turn now, and try doing the steps from the Letter Guessing Phase again, We will show you the current circuit and associated probabilities. Save the cat.

Please keep in mind that if the probability of the state 11 is zero, then the cat will die for sure.

The youngsters who made the project successful are:

  1. Gerardo Suarez
  2. Ming-Tsung Wu
  3. Deb Prakash Chatterjee
  4. Sarang Brahme
  5. Yen-Chen Wu

We would like to credit Hsuan Pai for the design of the cats

qchack2021's People

Contributors

mcditoos avatar wulouis avatar yenchen-wu avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.