Skip to content

A dice made using a Quantum Computer built with Qiskit. Hackathon project.

Notifications You must be signed in to change notification settings

induviduality/quantum-dice-hack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

quantum-dice-hack 🎲 ⚛️

A 🎲 made using a Quantum Computer built with Qiskit. Hackathon project.

Instructions to run

Setting things up

  • Download the quantum_dice.ipynb notebook.
  • Create an IBM ID and login to your IBM Quantum Experience Dashboard.
  • Click on 'Quantum Lab' on the menu from the the left side of the screen.
  • Scroll down a little and click on the Import button on the screen to select the downloaded notebook.

Running the notebook

  • Click on the 'Cells' Button on the horizontal bar above the notebook cells.
  • Click on 'Run All' from the dropdown menu.
  • Scroll down to the end of the cell to view the output as they are executed.
  • Sit back and enjoy some quantum die throwing! 🎲

Quantum Dice Visually

Schematic Circuit Diagram of Quantum Dice

Circuit Diagram

Transpiled Circuit Diagram

Transpiled Circuit

Histogram plotting 3000 throws by the dice on the Quantum Computer

Observe that the probability distribution for all possibilities is roughly uniform. The deviations are due to a small sample size.

Histogram

About

A dice made using a Quantum Computer built with Qiskit. Hackathon project.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published