Giter VIP home page Giter VIP logo

graphlandq's Introduction

What's

This is a simple app to see the effect of quantum computer.

  • select a graph, a solver, a algorithm: Screenshot from 2019-05-13 00-37-11

  • Click Run(this example finds nodes corresponds to a set of influencer): Screenshot from 2019-05-13 00-37-55

install and setup

install

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

use dwave(optional)

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.

start apps

cd graph_computing

python app.py

access to localhost:8009

how to add new algorithm

  1. implement a new class in graph_computing/models/**.py
  2. add the function to model_map in graph_computing/utils/model_utils.py

how to add new graph

  1. create a {graph name}.json(see utils.make_graph_json.py) to graph_view/graphs/
  2. add the {graph name} in graph_view/graphs/list.json

Develops

Welcome. See the issues for what we need help. For other changes, please add an issue.

graphlandq's People

Contributors

lightondust avatar petertakahashi avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

graphlandq's Issues

description on graphs

provide a description for each graph.

  1. a short sentence or a link(like a page of wikipedia)
  2. store this information in a way easy to manage

description for algorithms

provide a description for each algorithm.

  1. a short sentence and a link(like a page of wikipedia)
  2. store this information in a way easy to manage

READMEの誤字

pip install -r requirments.txt
pip3 install -r requirements.txtにしてください。
ファイル名に誤字があります

limitation on exact solver

When the number of nodes increases, simulators require a huge amount of memory.
We want to add a limitation on simulators.

  1. need to know the relationship between the number of nodes and memory required.
  2. set that to the config file
  3. provide a flag to determine if we use the limiter

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.