This is a simple app to see the effect of quantum computer.
make an env for this project, clone this repository and run.
pip install -r requirements.txt
- We use python3.6.7, ubuntu 18.04.2 LTS (Bionic Beaver)
- Use Flask and dwave-ocean-sdk
Regist an account at D-Wave Leap and set your token
, endpoint
, solver
in graph_computing/regist_info.json
Please keep your token secret.
To prevent an accident, you can make a new file regist_info_.json
and change the value of regist_info_path
to regist_info_.json
in config.py
.
The new file will be ignored by git due to .gitignore
.
cd graph_computing
python app.py
access to localhost:8009
- implement a new class in
graph_computing/models/**.py
- add the function to
model_map
ingraph_computing/utils/model_utils.py
- create a
{graph name}.json
(seeutils.make_graph_json.py
) tograph_view/graphs/
- add the
{graph name}
ingraph_view/graphs/list.json
Welcome. See the issues for what we need help. For other changes, please add an issue.