Giter VIP home page Giter VIP logo

iquhack-2021's Introduction

Dots and Gates: An Education in Quantum Gate Mechanics

Daniel Wang, Ramya Iyer, Emma Li, Venkata Menta, and Elle Renshaw

Introduction

The world of quantum seems inaccessible to many people our age. We wanted to provide an opportunity for quantum learners to learn about gates in a game format, so they too can explore the wonders of the quantum world.

The game has three gates:

  • Pauli-X - This gate is the quantum equivalent of a classical NOT gate.
  • Hadamard - This gate places the qubit in a superposition state.
  • Measurement - This gate measures the quantum state of the qubit, and consolidates the qubit to a single value.

In this game, we give people the opportunity to learn the functions of these three gates in a simple, straightforward way.

Goals

The goal of our project is to provide a learning environment for individuals interested in quantum computing. We want to teach the basic concept of quantum gates in a unique, memorable way.

Hopefully, people who play our game will have a more complete knowledge of what quantum gates are, and it will help them in their quantum computing endeavors.

Mechanics of Dots and Gates

The premise of the game is to get your dot through the Pauli-X and Hadamard gates to achieve a certain value.

The player can use the arrow keys to control the direction of their dot. Once the dot goes through the Pauli-X gate or the Hadamard gate, it changes the value.

The Pauli-X gate acts as a not gate and flips the value from a 0 to a 1 or vice versa. The Hadamard gate puts the qubit in a superposition state which gives us a value of |-> or |+>

After the player gets the value they need to win, the player must direct their dot into the measurement gate to measure their qubit and condense it back into a single value.

Future Additions

During the hackathon, our team came up with many great ideas that got put on the shelf because of a lack of time. Here is a list of the developments we would like to implement in the near future.

  • Implementing the concept of entanglement (two lines going in opposite directions w/ one control)
  • Creating a single player game with AI
  • Making the game a functional webpage
  • Having the line change colors when it goes through gates
  • Having the lines go behind the gates

Final Notes

We had such a great time at this hackathon. It was a great learning experience and our team had so much fun together. We hope to continue to implement future changes to the game and make it more functional. We just hope that Dots and Gates will help future quantum leaders understand the concept of quantum gates.

iquhack-2021's People

Contributors

riyer8 avatar danielwang365 avatar mwalsh161 avatar

Watchers

James Cloos avatar  avatar

Forkers

emma-l810

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.