Skip to content

Agnij-Moitra/Q-Rand-Num

Repository files navigation

Q-Rand-Num

This is a Quantum Bitstring Generator

Note:

  • As this is using Qiskit and IBM Quantum, the actual quantum computer as of now will be noisy a.k.a error prone and there could be a long queue on public devices. So it is using QASM Simulator as of now.
  • On Windows:

    • For some reason the text in the edges won't appear. And for a moment the Main Window might show (Not Responding) but then it should be fine in a while.

Getting Started

  • Before running the below always ensure your in the correct directory.
  • While running the Desktop app you please press enter once you've entered a number in the text box.
  • To get started make sure you have python 3.6 or later and pip installed
  • Run the command on bash (preferably) on Mac or Linux and on Command Prompt(preferably) on Windows

For MacOS and Linux:

  1. Run: If you have get any errors in running this then run 2.
./setup.sh
  1. Run:
./fixed.sh
  1. Run:
./requirements.sh
  1. Now finally to run the app:
python main.py

If this doesn't work then run:

python3 main.py

For Windows:

  1. In your Command Prompt:
.\setup.bat
.\requirements.bat
  1. Now finally to run the app:
python main.py

Acknowledgments