Minusome / ember

A toolkit for experimenting with novel heuristic algorithms to minor embed QUBO graphs for quantum annealing

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ember

A toolkit for experimenting with novel heuristic algorithms to minor embed QUBO graphs for quantum annealing

Setup Instructions

  1. Install OR-Tools C++ for your operating system. Then export the installation directory as:
export ORTOOLS_DIR=/path/to/ortools

Note: It is possible to skip this step, however, constraint loading will fallback to the Python API which has a large performance penalty.

  1. Make sure you have python>=3.7. If you have pip version >=19.0, then simply invoke a PEP-517 install by running:
pip install ./ember
  1. (Alternative) You can also install with poetry.
poetry install
  1. Run the example script
python3 driver.py

About

A toolkit for experimenting with novel heuristic algorithms to minor embed QUBO graphs for quantum annealing


Languages

Language:Jupyter Notebook 99.0%Language:Python 0.8%Language:C++ 0.2%