Skip to content
QuantumFlow: A Quantum Algorithms Development Toolkit
Branch: master
Clone or download
gecrooks Add Tensorflow 2.0 backend. (#16)
* Refactor backend name and version information

* Add tensorflow 2.0 backend. QUANTUMFLOW_BACKEND=tensorflow2

* Add tensorflow2 backend to docs

* Add tensorflow2 backend testing to tox
Latest commit 17e27ce Mar 7, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs
examples Add Tensorflow 2.0 backend. (#16) Mar 7, 2019
quantumflow Add Tensorflow 2.0 backend. (#16) Mar 7, 2019
tests Add Tensorflow 2.0 backend. (#16) Mar 7, 2019
tools QuantumFlow 0.7.0 Nov 2, 2018
.gitignore Cleanup documentation Nov 3, 2018
.pylintrc QuantumFlow 0.7.0 Nov 2, 2018
.toxcoveragerc QuantumFlow 0.7.0 Nov 2, 2018
.travis.yml Minor fixes to tests for documentation changes Nov 19, 2018
ACKNOWLEDGEMENTS.md Minor tweaks Nov 3, 2018
LICENSE.txt
Makefile Cleanup documentation Nov 3, 2018
README.md
pytest.ini
readthedocs.yml QuantumFlow 0.7.0 Nov 2, 2018
requirements.txt Update documentation theme (#8) Nov 19, 2018
setup.py
tox.ini Add Tensorflow 2.0 backend. (#16) Mar 7, 2019

README.md

Notice: This is research code that will not necessarily be maintained to support further releases of Forest and other Rigetti Software. We welcome bug reports and PRs but make no guarantee about fixes or responses.

QuantumFlow: A Quantum Algorithms Development Toolkit

Build Status

Installation for development

It is easiest to install QuantumFlow's requirements using conda.

git clone https://github.com/rigetti/quantumflow.git
cd quantumflow
conda install -c conda-forge --file requirements.txt
pip install -e .

You can also install with pip. However some of the requirements are tricky to install (notably tensorflow & cvxpy), and (probably) not everything in QuantumFlow will work correctly.

git clone https://github.com/rigetti/quantumflow.git
cd quantumflow
pip install -r requirements.txt
pip install -e .

Example

Train the QAOA algorithm, with back-propagation gradient descent, to perform MAXCUT on a randomly chosen 6 node graph.

./examples/qaoa_maxcut.py --verbose --steps 5 --nodes 6 random
You can’t perform that action at this time.