Skip to main content

General Ising graph simulated annealing solver

Project description

https://img.shields.io/pypi/v/dwave-neal.svg https://coveralls.io/repos/github/dwavesystems/dwave-neal/badge.svg?branch=master https://readthedocs.org/projects/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.

Source Distribution

dwave-neal-0.3.1.tar.gz (62.6 kB view details)

Uploaded Source

Built Distributions

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

dwave_neal-0.3.1-cp36-cp36m-manylinux1_x86_64.whl (188.2 kB view details)

Uploaded CPython 3.6m

dwave_neal-0.3.1-cp36-cp36m-manylinux1_i686.whl (176.1 kB view details)

Uploaded CPython 3.6m

dwave_neal-0.3.1-cp36-cp36m-macosx_10_12_x86_64.whl (38.7 kB view details)

Uploaded CPython 3.6mmacOS 10.12+ x86-64

dwave_neal-0.3.1-cp35-cp35m-manylinux1_x86_64.whl (186.0 kB view details)

Uploaded CPython 3.5m

dwave_neal-0.3.1-cp35-cp35m-manylinux1_i686.whl (174.1 kB view details)

Uploaded CPython 3.5m

dwave_neal-0.3.1-cp35-cp35m-macosx_10_12_x86_64.whl (38.4 kB view details)

Uploaded CPython 3.5mmacOS 10.12+ x86-64

dwave_neal-0.3.1-cp34-cp34m-manylinux1_x86_64.whl (184.5 kB view details)

Uploaded CPython 3.4m

dwave_neal-0.3.1-cp34-cp34m-manylinux1_i686.whl (176.1 kB view details)

Uploaded CPython 3.4m

dwave_neal-0.3.1-cp27-cp27mu-manylinux1_x86_64.whl (198.7 kB view details)

Uploaded CPython 2.7mu

dwave_neal-0.3.1-cp27-cp27mu-manylinux1_i686.whl (190.2 kB view details)

Uploaded CPython 2.7mu

dwave_neal-0.3.1-cp27-cp27m-manylinux1_x86_64.whl (198.7 kB view details)

Uploaded CPython 2.7m

dwave_neal-0.3.1-cp27-cp27m-manylinux1_i686.whl (190.2 kB view details)

Uploaded CPython 2.7m

dwave_neal-0.3.1-cp27-cp27m-macosx_10_12_x86_64.whl (43.2 kB view details)

Uploaded CPython 2.7mmacOS 10.12+ x86-64

File details

Details for the file dwave-neal-0.3.1.tar.gz.

File metadata

  • Download URL: dwave-neal-0.3.1.tar.gz
  • Upload date:
  • Size: 62.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for dwave-neal-0.3.1.tar.gz
Algorithm Hash digest
SHA256 6ad455bffa41b63b3de31c268e1d0952e66b8331bff12f3b5d5185d0b9652640
MD5 107426cef9dcab262d90d1a25ca366af
BLAKE2b-256 3a58d6e786c9c62a6dc995f0a0c2bc46a245c5f98a57b2354ecf6d381d129490

See more details on using hashes here.

File details

Details for the file dwave_neal-0.3.1-cp36-cp36m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for dwave_neal-0.3.1-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 b0ea77fc739c994d067e7c7f0b5f99527d92723c277ca191348b9f7adfe7c703
MD5 2e92fc29f5408e555cdd91282e5f1f96
BLAKE2b-256 51b9ebb17e9fa18e6c4f91bb3a984e9719b890151bbebc5d64ea628855facdd8

See more details on using hashes here.

File details

Details for the file dwave_neal-0.3.1-cp36-cp36m-manylinux1_i686.whl.

File metadata

File hashes

Hashes for dwave_neal-0.3.1-cp36-cp36m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 b02fcd25f1994c03d6ce84da35a746a8b53cd582accb37648e2d15578305fae0
MD5 58c2b036fe29493d50714d7f5a99f5c8
BLAKE2b-256 1a491bca076815c1b56423b6d91047a7e15a409846fe8a457a0b7bbff2763dbe

See more details on using hashes here.

File details

Details for the file dwave_neal-0.3.1-cp36-cp36m-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for dwave_neal-0.3.1-cp36-cp36m-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 23fc100ddfde5eb7f8ef266ce5b578ba05214cadd5cbdc75a8024cdf5dcf7f3b
MD5 87eca1d18f07158fe1271ad23d78b7c1
BLAKE2b-256 22c645c5282cbb093a84ed8ca73ecb14f01bcdabfdaaa405347adae7bb0a83b1

See more details on using hashes here.

File details

Details for the file dwave_neal-0.3.1-cp35-cp35m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for dwave_neal-0.3.1-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 0fba60079f875c21d4b7ddbbe2e634340b2a2561e1d05f65e4b32245f62f5b17
MD5 d0ea8f0395d98e3a0d55b52c56b3ee39
BLAKE2b-256 9af33ad34e469852b99e835311452b41cbcdae0924f73a184b8aed1593f4742c

See more details on using hashes here.

File details

Details for the file dwave_neal-0.3.1-cp35-cp35m-manylinux1_i686.whl.

File metadata

File hashes

Hashes for dwave_neal-0.3.1-cp35-cp35m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 e50eb978af655fd8f47613adb56f72eed0fc9535221b11779d3aa5fe8c0fbc9e
MD5 b45f1f37fe69a474b191253f33481f35
BLAKE2b-256 33194c1db72840a584e40be6acbcfc027e6b2d8cee4c8ba079d16cfb35699c18

See more details on using hashes here.

File details

Details for the file dwave_neal-0.3.1-cp35-cp35m-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for dwave_neal-0.3.1-cp35-cp35m-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 109783dedf1a846dd475535b2faffa0401961ae5eb76cf35654e0786c99cd426
MD5 0388a1e531d7a3a217a0f81bbc416b39
BLAKE2b-256 911c595fd51c149ca62319bc51b657b9b96334f50a827e8aafff92616dfd0503

See more details on using hashes here.

File details

Details for the file dwave_neal-0.3.1-cp34-cp34m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for dwave_neal-0.3.1-cp34-cp34m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 5b43f9b57d1e3d033114ef2325be450dfbfeab54a7e3a9ac92ff515c8df9e51e
MD5 98ed670bd0ea862910256d3ac6523e95
BLAKE2b-256 e1f3eaffd4da8a4685107b739753ecc03582298e22b0dc129c1d568a0d339304

See more details on using hashes here.

File details

Details for the file dwave_neal-0.3.1-cp34-cp34m-manylinux1_i686.whl.

File metadata

File hashes

Hashes for dwave_neal-0.3.1-cp34-cp34m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 b4ebb6c43eaee26e490815d5736138fcf2ed4db18604d10ce618dfbfa8884912
MD5 8f5767ca0fd7345e5f1d7edee58c1b94
BLAKE2b-256 95f5354931f381fd77eac01c53d69dd93a36b0fb481c4a0686c17b6007323ebe

See more details on using hashes here.

File details

Details for the file dwave_neal-0.3.1-cp27-cp27mu-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for dwave_neal-0.3.1-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 30d410c06b4bc7035d7808de24ce82086773b634be8fe0941bbbb561bc94d6df
MD5 d6cc8cd30e77ee8edfb2a265557053eb
BLAKE2b-256 babb45a105dce7f27dc8757754685a1614074cb5a0f1d263546d435efc825e54

See more details on using hashes here.

File details

Details for the file dwave_neal-0.3.1-cp27-cp27mu-manylinux1_i686.whl.

File metadata

File hashes

Hashes for dwave_neal-0.3.1-cp27-cp27mu-manylinux1_i686.whl
Algorithm Hash digest
SHA256 ba3e5f9cfff8dfc2778d111deaf49f12eacc766a6864b0a722e4fa18db403765
MD5 7eaa6b8b7be6f3624d71f7281a8e3659
BLAKE2b-256 04fd67f2eb92716216b87f21d1701741d74f7049ac2b8e9f235cfcc0bbfa904d

See more details on using hashes here.

File details

Details for the file dwave_neal-0.3.1-cp27-cp27m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for dwave_neal-0.3.1-cp27-cp27m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 5a47ecf2b05c2224a0ff3b92d846d7df0846439d9ba292805d7d4e8da2c5226e
MD5 3975bc8745eaf6cefd96049eba530005
BLAKE2b-256 703a152c4a7a718a210d86d3934b4918ef859a1cf4664a8113aecf0221275dce

See more details on using hashes here.

File details

Details for the file dwave_neal-0.3.1-cp27-cp27m-manylinux1_i686.whl.

File metadata

File hashes

Hashes for dwave_neal-0.3.1-cp27-cp27m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 9839f28a9c7565ced11c55ff1f6cd5316210907c6d4b99d3776933953fe539f6
MD5 68f5fcf75dcff963aa7f20ff30413f3c
BLAKE2b-256 d0ad139dce5ffac1c14867967caf961f80c2849e761737158c538f58ab6ba2cd

See more details on using hashes here.

File details

Details for the file dwave_neal-0.3.1-cp27-cp27m-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for dwave_neal-0.3.1-cp27-cp27m-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 afb002021529dbda22dfedd7ed084f307c6753cb0fa1a51f3754bcc355653f9f
MD5 a15b4348af73e9087597c6928ccd5553
BLAKE2b-256 2732a616b49da665e749093b4f53f698284b66521328710e49180523cb6e56e0

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