Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dpbm/qpapersplease
A quantum algorithm to papers please game
https://github.com/dpbm/qpapersplease
algorithms games ibm nextjs node papers-please papers-please-algorithm python qiskit quantum quantum-algorithms quantum-computing
Last synced: 15 days ago
JSON representation
A quantum algorithm to papers please game
- Host: GitHub
- URL: https://github.com/dpbm/qpapersplease
- Owner: Dpbm
- Created: 2023-05-19T18:02:26.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-08-15T16:04:37.000Z (over 1 year ago)
- Last Synced: 2024-11-18T21:43:13.378Z (3 months ago)
- Topics: algorithms, games, ibm, nextjs, node, papers-please, papers-please-algorithm, python, qiskit, quantum, quantum-algorithms, quantum-computing
- Language: Jupyter Notebook
- Homepage: https://dpbm.github.io/QPapersPlease/
- Size: 5.68 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
![](./assets/first-image.png)
## QPapersPlease
It's a fan made "quantum game" that implements simple algorithms to simulate some papers please mechanics.
In this version, you can see a distribution of immigrants allowed to enter Arstotzka, or not.
To understand it better, `clone` this repo, `install` the dependencies and `run` the [papers-please.ipynb](./papers-please.ipynb).
### Requirements
* [Python (3.7.5)](https://www.python.org/downloads/)
* [Pip](https://pypi.org/project/pip/)
* [Pipenv (optional)](https://pipenv.pypa.io/en/latest/)### Running the algorithm
To run the algorithm notebook, first make sure that all dependencies are installed, for it you can use `pipenv` or just `pip`, if you prefer
```bash
//pip
pip install -r requirements.txt//pipenv
pipenv install
pipenv shell
```With all installed, you can run the `notebook`
```bash
jupyter-lab
```In case you want to run the algorithm in a `IBMQ real quantum computer` you will need to go to [https://quantum-computing.ibm.com/](https://quantum-computing.ibm.com/), create an account, [get you API Token](https://quantum-computing.ibm.com/account) and run:
```bash
echo "IBM_API_TOKEN=YOUR_API_TOKEN_HERE" > .env
```## Copyright
This is a just a fan made project. All Rights are reserved to the creators of the game. If you can, please, support them: [papers please website](https://papersplea.se/).
---
![Arstotzka](./assets/arstotzka.png)
### GLORY ARSTOTZKA!!!!