CCNYseniors / rubik

NYU-IBM Qiskit Hackathon Feb. 2021
0 stars 0 forks source link

Rubik Cube Implementation - Python #1

Open MichaelSail4499 opened 3 years ago

MichaelSail4499 commented 3 years ago

We will be using the Open Source Rubik's Cube Code available from https://github.com/tdrmk/rubik_cube
 

For now, Qiskit won't be implemented. In order to implement basic functionality, there should be a few things:

  1. Have a button 'Quantum Switch' available even if not working yet.
  2. Track the number of moves the user makes. After 10, the button is clickable.
  3. Maybe a timer? Not necessary.
  4. Ability to select pieces. When Qiskit is implemented to the 'Quantum Switch' button, then the user has to select two pieces. Have to be able to differentiate between a middle piece and a corner piece.
MichaelSail4499 commented 3 years ago

@JiseonYu Jiseon can work on the Rubik's Cube code. @MichaelSail4499 can look into the Qiskit code in a 'Quantum Tetris' game where superposition was built into the moving pieces. Link: https://github.com/dartmouth-cs98/Quantum-Tetris
 

Shahid still has to do the 'Hello World' Qiskit file. I want to see straightforward functionality.

MichaelSail4499 commented 3 years ago

image

There are two valid choices for a quantum switch:

  1. corner + corner
  2. edge + edge

There are 4 invalid choices for a quantum switch:

  1. corner + edge
  2. center + corner
  3. center + edge
  4. center + center

However, this can be narrowed down to:

  1. corner + edge
  2. Any choice involving a center piece