qiskit-community / qiskit-hackathon-singapore-19

11 stars 5 forks source link

Qubit Tic Tac Toe - Quantum Game for the purpose of quantum mechanics education #11

Open honlin96 opened 5 years ago

honlin96 commented 5 years ago

Abstract

Qubit Tic Tac Toe is a 2 players quantum strategy game , where the classical tic tac toe's classical marking is replaced with quantum marking. Each player can perform either 1 measurement, or 2 unitary moves. The first to form a straight line with the player's own classical marking will win the game.

This quantization is different from Goff's quantization, where he quantizes the moves instead of the marking. quantum_circuit A tic tac toe played with qubit is similar to a 9 qubits quantum computer.

Description

Rules:

  1. Player chooses one of the boxes each turn
  2. Players choose to make 3 unitary operations (exclusive) OR 1 projective operation on the box.
  3. Unitary operations include: Initiate a qubit, X gate, Z gate, Hadamard Gate and CNOT gate.
  4. The projective operation will collapse the qubit into a classical bit.
  5. The player wins by forming a straight line using 3 classical bit.

Currently, the gameplay has been completed with sympy. We are exploring the possibility to use Qiskit to program the game.

Members

Deliverable

A game

GitHub repo

https://github.com/honlin96/Qubit-Tic-Tac-Toe

HuangJunye commented 5 years ago

@honlin96 Great idea! I found a few similar projects that might be useful as references: https://en.wikipedia.org/wiki/Quantum_tic-tac-toe, https://quantumfrontiers.com/2019/07/15/tiqtaqtoe/, https://github.com/maddy-tod/tictactoe-roli

honlin96 commented 5 years ago

@HuangJunye Thanks for the reference! I am aware of Goff's tic tac toe but the other 2 are new to me. It is interesting to see other alternatives of quantum tic tac toe being explored. Maybe we can discuss it more on Friday?

Thanks a lot for being the coach!

HuangJunye commented 5 years ago

@honlin96 Are you in our Slack channel? We can already start the discussion there. Check your email for the invitation link to Slack. Ping me and I will add you to the hackathon channel.

salihyanikgonul commented 5 years ago

I'd like to join

stared commented 5 years ago

Hi @honlin96 - it would be nice talking with you after the event! I am much into quantum games (at CQT I am for 3 months to create one...).

honlin96 commented 5 years ago

@stared Hi stared, sure! I am happy to discuss more about this project with you =) I am wearing a grey shirt and jeans today, looking forward to the discussion!

stared commented 5 years ago

@honlin96 The description is not unique!

lazyoracle commented 5 years ago

It's the team in the extreme front next to the gong and shrubs across the table with the projector laptop

On Sat, 12 Oct, 2019, 5:47 PM Piotr Migdał, notifications@github.com wrote:

@honlin96 https://github.com/honlin96 The description is not unique!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/qiskit-community/qiskit-hackathon-singapore-19/issues/11?email_source=notifications&email_token=ACUCFR2LQ4O6J4TQYHSF3XDQOGMLPA5CNFSM4I5OW4O2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBB3JVI#issuecomment-541308117, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACUCFRY6FMFGAIPU43CIESDQOGMLPANCNFSM4I5OW4OQ .

HuangJunye commented 5 years ago

@honlin96 Thanks for updating the descriptions and the README of your github repo. One suggestion: can you change your github repo name to "qubit tic tac toe" as well to reflect the game? "Quantum game" is too general. Let me know if you are not sure how to change the name.

honlin96 commented 5 years ago

Sure, I have done the necessary changes.