Skip to content
This repository has been archived by the owner on Aug 3, 2020. It is now read-only.
/ dwave-neal Public archive
forked from dwavesystems/dwave-neal

An implementation of a simulated annealing sampler for general Ising model graphs in C++ with a dimod Python wrapper.

License

Notifications You must be signed in to change notification settings

dtoconnor/dwave-neal

 
 

Repository files navigation

https://readthedocs.com/projects/d-wave-systems-dwave-neal/badge/?version=latest https://ci.appveyor.com/api/projects/status/ihbwp21xu06h9upc/branch/master?svg=true https://circleci.com/gh/dwavesystems/dwave-neal.svg?style=svg

dwave-neal

An implementation of a simulated annealing sampler.

Example Usage

import neal

sampler = neal.SimulatedAnnealingSampler()

h = {0: -1, 1: -1}
J = {(0, 1): -1}
response = sampler.sample_ising(h, J)

Installation

To install:

pip install dwave-neal

To build from source:

pip install -r requirements.txt
python setup.py build_ext --inplace
python setup.py install

License

Released under the Apache License 2.0. See LICENSE file.

Contribution

See CONTRIBUTING.rst file.

About

An implementation of a simulated annealing sampler for general Ising model graphs in C++ with a dimod Python wrapper.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 78.7%
  • C++ 21.3%