Skip to content

A full stack application for predicting a number on rolling a dice in a real IBM quantum device

Notifications You must be signed in to change notification settings

ArthiBoss/Quantum_Dice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Installation

Navigate to python.org to install Python 3+.

Navigate to git-scm.com to install Git.

Open a terminal window and type the below command to clone the GitHub QApp repo.

With the terminal window open, type the below command to install all of the dependencies.

pip3 install -r requirements.txt

Create and IBM Q Experience Account

Navigate to quantum-computing.ibm.com and create a new account.

Navigate to quantum-computing.ibm.com/account and click the 'Copy token' button in blue to obtain your API. Open up a text editor and paste in the token temporarily.

Open a terminal window and type the below command to setup your API key with your software. Make sure you replace the 'MY_API_TOKEN' below with your API key you have stored in your text editor. Be sure to paste the API key between the single quotes as shown below.

python3
>>> from qiskit import IBMQ
>>> IBMQ.save_account('MY_API_TOKEN')
>>> quit()

##Import jquery,css, bootstrap and set image repo for web page access(can be in seprate static folder)

Run Application

With the terminal window open, type the below command to run your qapp.

python3 app.py

Navigate to localhost:5000 to launch your qapp in your default web browser.

Thanks

About

A full stack application for predicting a number on rolling a dice in a real IBM quantum device

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published