Skip to main content
Donate to the Python Software Foundation or Purchase a PyCharm License to Benefit the PSF! Donate Now

General Ising graph simulated annealing solver

Project description

https://img.shields.io/pypi/v/dwave-neal.svg https://codecov.io/gh/dwavesystems/dwave-neal/branch/master/graph/badge.svg 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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
dwave_neal-0.4.6-cp27-cp27m-macosx_10_13_x86_64.whl (98.6 kB) Copy SHA256 hash SHA256 Wheel cp27
dwave_neal-0.4.6-cp27-cp27m-manylinux1_i686.whl (369.1 kB) Copy SHA256 hash SHA256 Wheel cp27
dwave_neal-0.4.6-cp27-cp27m-manylinux1_x86_64.whl (391.3 kB) Copy SHA256 hash SHA256 Wheel cp27
dwave_neal-0.4.6-cp27-cp27mu-manylinux1_i686.whl (369.1 kB) Copy SHA256 hash SHA256 Wheel cp27
dwave_neal-0.4.6-cp27-cp27mu-manylinux1_x86_64.whl (391.3 kB) Copy SHA256 hash SHA256 Wheel cp27
dwave_neal-0.4.6-cp27-cp27m-win32.whl (76.4 kB) Copy SHA256 hash SHA256 Wheel cp27
dwave_neal-0.4.6-cp27-cp27m-win_amd64.whl (91.0 kB) Copy SHA256 hash SHA256 Wheel cp27
dwave_neal-0.4.6-cp34-cp34m-macosx_10_13_x86_64.whl (93.6 kB) Copy SHA256 hash SHA256 Wheel cp34
dwave_neal-0.4.6-cp34-cp34m-manylinux1_i686.whl (369.0 kB) Copy SHA256 hash SHA256 Wheel cp34
dwave_neal-0.4.6-cp34-cp34m-manylinux1_x86_64.whl (392.8 kB) Copy SHA256 hash SHA256 Wheel cp34
dwave_neal-0.4.6-cp34-cp34m-win32.whl (72.0 kB) Copy SHA256 hash SHA256 Wheel cp34
dwave_neal-0.4.6-cp34-cp34m-win_amd64.whl (82.9 kB) Copy SHA256 hash SHA256 Wheel cp34
dwave_neal-0.4.6-cp35-cp35m-macosx_10_13_x86_64.whl (91.7 kB) Copy SHA256 hash SHA256 Wheel cp35
dwave_neal-0.4.6-cp35-cp35m-manylinux1_i686.whl (365.4 kB) Copy SHA256 hash SHA256 Wheel cp35
dwave_neal-0.4.6-cp35-cp35m-manylinux1_x86_64.whl (384.6 kB) Copy SHA256 hash SHA256 Wheel cp35
dwave_neal-0.4.6-cp35-cp35m-win32.whl (71.1 kB) Copy SHA256 hash SHA256 Wheel cp35
dwave_neal-0.4.6-cp35-cp35m-win_amd64.whl (83.8 kB) Copy SHA256 hash SHA256 Wheel cp35
dwave_neal-0.4.6-cp36-cp36m-macosx_10_13_x86_64.whl (92.7 kB) Copy SHA256 hash SHA256 Wheel cp36
dwave_neal-0.4.6-cp36-cp36m-manylinux1_i686.whl (368.6 kB) Copy SHA256 hash SHA256 Wheel cp36
dwave_neal-0.4.6-cp36-cp36m-manylinux1_x86_64.whl (388.9 kB) Copy SHA256 hash SHA256 Wheel cp36
dwave_neal-0.4.6-cp36-cp36m-win32.whl (71.4 kB) Copy SHA256 hash SHA256 Wheel cp36
dwave_neal-0.4.6-cp36-cp36m-win_amd64.whl (84.1 kB) Copy SHA256 hash SHA256 Wheel cp36
dwave_neal-0.4.6-cp37-cp37m-macosx_10_13_x86_64.whl (91.6 kB) Copy SHA256 hash SHA256 Wheel cp37
dwave_neal-0.4.6-cp37-cp37m-manylinux1_i686.whl (367.8 kB) Copy SHA256 hash SHA256 Wheel cp37
dwave_neal-0.4.6-cp37-cp37m-manylinux1_x86_64.whl (387.7 kB) Copy SHA256 hash SHA256 Wheel cp37
dwave_neal-0.4.6-cp37-cp37m-win32.whl (71.3 kB) Copy SHA256 hash SHA256 Wheel cp37
dwave_neal-0.4.6-cp37-cp37m-win_amd64.whl (83.9 kB) Copy SHA256 hash SHA256 Wheel cp37
dwave-neal-0.4.6.tar.gz (134.4 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page