Skip to main content

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}
sampleset = 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.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

dwave_neal-0.5.5-cp38-cp38-win_amd64.whl (93.4 kB view details)

Uploaded CPython 3.8Windows x86-64

dwave_neal-0.5.5-cp38-cp38-win32.whl (78.2 kB view details)

Uploaded CPython 3.8Windows x86

dwave_neal-0.5.5-cp38-cp38-macosx_10_9_x86_64.whl (93.9 kB view details)

Uploaded CPython 3.8macOS 10.9+ x86-64

dwave_neal-0.5.5-cp37-cp37m-win_amd64.whl (91.8 kB view details)

Uploaded CPython 3.7mWindows x86-64

dwave_neal-0.5.5-cp37-cp37m-win32.whl (76.8 kB view details)

Uploaded CPython 3.7mWindows x86

dwave_neal-0.5.5-cp37-cp37m-macosx_10_9_x86_64.whl (94.6 kB view details)

Uploaded CPython 3.7mmacOS 10.9+ x86-64

dwave_neal-0.5.5-cp36-cp36m-win_amd64.whl (92.0 kB view details)

Uploaded CPython 3.6mWindows x86-64

dwave_neal-0.5.5-cp36-cp36m-win32.whl (77.0 kB view details)

Uploaded CPython 3.6mWindows x86

dwave_neal-0.5.5-cp36-cp36m-macosx_10_9_x86_64.whl (95.6 kB view details)

Uploaded CPython 3.6mmacOS 10.9+ x86-64

dwave_neal-0.5.5-cp35-cp35m-win_amd64.whl (83.8 kB view details)

Uploaded CPython 3.5mWindows x86-64

dwave_neal-0.5.5-cp35-cp35m-win32.whl (71.1 kB view details)

Uploaded CPython 3.5mWindows x86

dwave_neal-0.5.5-cp35-cp35m-macosx_10_9_x86_64.whl (94.6 kB view details)

Uploaded CPython 3.5mmacOS 10.9+ x86-64

File details

Details for the file dwave_neal-0.5.5-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: dwave_neal-0.5.5-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 93.4 kB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.5

File hashes

Hashes for dwave_neal-0.5.5-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 e0250c4783ee033553fd847902296dd0b24e96a0ae683d917e476f70292c0886
MD5 2816165cdf8c32207cdf70d0b80274df
BLAKE2b-256 f0aab8ff479e5f9c903e792ccbf0208ae1b18b2c894647e2bfe5c4f7718bd3c3

See more details on using hashes here.

File details

Details for the file dwave_neal-0.5.5-cp38-cp38-win32.whl.

File metadata

  • Download URL: dwave_neal-0.5.5-cp38-cp38-win32.whl
  • Upload date:
  • Size: 78.2 kB
  • Tags: CPython 3.8, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.5

File hashes

Hashes for dwave_neal-0.5.5-cp38-cp38-win32.whl
Algorithm Hash digest
SHA256 59b3ce2935417a88938912ae06cbbf1a0fad8e9db613c6df3b2b67bdcd4a3839
MD5 65f23bf63dd85f1e07f36152562aa70c
BLAKE2b-256 e440e04567bbe343a913a3c1b08a3ce271f5eda02b78ae7dd1f414787787c79c

See more details on using hashes here.

File details

Details for the file dwave_neal-0.5.5-cp38-cp38-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: dwave_neal-0.5.5-cp38-cp38-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 93.9 kB
  • Tags: CPython 3.8, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.0

File hashes

Hashes for dwave_neal-0.5.5-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 0ace7a9f0e9f6f168e69c3dc416a147e6d1b6db94c7e0cde8e726a7089264f7b
MD5 95a357a327516cbd09e07f77504189ba
BLAKE2b-256 0279e53636c5e9308d87ab75968ab77d73705a1d50e36a17f80dd42e2ae2c231

See more details on using hashes here.

File details

Details for the file dwave_neal-0.5.5-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: dwave_neal-0.5.5-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 91.8 kB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.7.9

File hashes

Hashes for dwave_neal-0.5.5-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 f32405f969d0a0807bb3372fcf35873f6c11a0d19e35a9df6c57b4a2762dcfce
MD5 e940c363446b76191fc79bb6e352175f
BLAKE2b-256 16887d9ca0edb9de41551ebdbfe9e85e741a8f65e87e0d4d4edc2067d4574f45

See more details on using hashes here.

File details

Details for the file dwave_neal-0.5.5-cp37-cp37m-win32.whl.

File metadata

  • Download URL: dwave_neal-0.5.5-cp37-cp37m-win32.whl
  • Upload date:
  • Size: 76.8 kB
  • Tags: CPython 3.7m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.7.9

File hashes

Hashes for dwave_neal-0.5.5-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 9b76eb07e494950bde5117b4515e296611c53fea1f407a919659d227d7874a18
MD5 985133e98e04666ff5682d45fa43e570
BLAKE2b-256 5788cd52d1ad03c5af17c904ef3a6ec75ebb7ad2bb32e5abffcd3a05f5868c0c

See more details on using hashes here.

File details

Details for the file dwave_neal-0.5.5-cp37-cp37m-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: dwave_neal-0.5.5-cp37-cp37m-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 94.6 kB
  • Tags: CPython 3.7m, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.7.4

File hashes

Hashes for dwave_neal-0.5.5-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 a7222926beb2549cfe8033caf90bf260f74e544d323efe692d0e3e73542c87a3
MD5 5966a542e16d256d4749a60c02f2932e
BLAKE2b-256 3fbf3be52fafb92d7d30f347535fb64f0f1383553006cf37c6c1c180303a70c3

See more details on using hashes here.

File details

Details for the file dwave_neal-0.5.5-cp36-cp36m-win_amd64.whl.

File metadata

  • Download URL: dwave_neal-0.5.5-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 92.0 kB
  • Tags: CPython 3.6m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.6.8

File hashes

Hashes for dwave_neal-0.5.5-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 5e3bf8197c6f4331e552cd9be1ecbfb8a545e0d2dd8f8848bc0b67f9f7dc5730
MD5 cc347da0f664b7bbc7d75c29bccab2a7
BLAKE2b-256 dab5f1d7886b70a2f782203826720b215ee9abef2ecf5225a1873ae232a04262

See more details on using hashes here.

File details

Details for the file dwave_neal-0.5.5-cp36-cp36m-win32.whl.

File metadata

  • Download URL: dwave_neal-0.5.5-cp36-cp36m-win32.whl
  • Upload date:
  • Size: 77.0 kB
  • Tags: CPython 3.6m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.6.8

File hashes

Hashes for dwave_neal-0.5.5-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 1cf051755d4bf070a01f963c1532d129564c39c78c49f997f2ad2a8657baa572
MD5 c83e50387effdbcddaf6fb8c9e88b267
BLAKE2b-256 5cc9487c60901bb4a673aac558eb1e665200b3733b02d62fdd99a89c82949631

See more details on using hashes here.

File details

Details for the file dwave_neal-0.5.5-cp36-cp36m-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: dwave_neal-0.5.5-cp36-cp36m-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 95.6 kB
  • Tags: CPython 3.6m, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.6.5

File hashes

Hashes for dwave_neal-0.5.5-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 02ed0281a21def23e553ad562aed00987d7c5aec5dece99aebe529b7b3b35f2f
MD5 d207f570bf8631238663859186a67b87
BLAKE2b-256 ad2d84e90447ed9703b30fa2ed24bda9bd9dab329c7605b1dc232c5e6f4645a6

See more details on using hashes here.

File details

Details for the file dwave_neal-0.5.5-cp35-cp35m-win_amd64.whl.

File metadata

  • Download URL: dwave_neal-0.5.5-cp35-cp35m-win_amd64.whl
  • Upload date:
  • Size: 83.8 kB
  • Tags: CPython 3.5m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/28.8.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.5.4

File hashes

Hashes for dwave_neal-0.5.5-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 6b5c40245a42523121faa4bf4ff010d8a4fb9cb687a183ecb9a2f02a97506ad1
MD5 b6c96e1a693b49e1bad256ea269a2ab6
BLAKE2b-256 565fb8b643c83e7d72c3106211abd0385aa4d554d4d1d6c2f3fa3021d5cf9780

See more details on using hashes here.

File details

Details for the file dwave_neal-0.5.5-cp35-cp35m-win32.whl.

File metadata

  • Download URL: dwave_neal-0.5.5-cp35-cp35m-win32.whl
  • Upload date:
  • Size: 71.1 kB
  • Tags: CPython 3.5m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/28.8.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.5.4

File hashes

Hashes for dwave_neal-0.5.5-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 a9676d43258b6932df6ab1f37d2115ca0224565babe98b3d26ecdfc44936eb86
MD5 1b091ba643d4ea72490e976419c871e4
BLAKE2b-256 20dac41d9c3f5ac9cf872e2d41f9187ab8aab227220f99d7a6c8dd519d4ddd88

See more details on using hashes here.

File details

Details for the file dwave_neal-0.5.5-cp35-cp35m-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: dwave_neal-0.5.5-cp35-cp35m-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 94.6 kB
  • Tags: CPython 3.5m, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.5.5

File hashes

Hashes for dwave_neal-0.5.5-cp35-cp35m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 98ac0450bd3f2d35c537b11920a74be02d9bd96983c49e18b397d67246d71d3e
MD5 94f4b6892145bcc4faf514fbe2bb576e
BLAKE2b-256 481c73fa92647aa6011f7d8c6c03bdcaaa68968885e8c34e819d1d858a5a13d6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page