{"id":32178143,"url":"https://github.com/dwavesystems/dwave-neal","last_synced_at":"2025-10-21T20:49:04.808Z","repository":{"id":26326051,"uuid":"106726167","full_name":"dwavesystems/dwave-neal","owner":"dwavesystems","description":"An implementation of a simulated annealing sampler for general Ising model graphs in C++ with a dimod Python wrapper.","archived":false,"fork":false,"pushed_at":"2022-11-25T23:44:04.000Z","size":460,"stargazers_count":55,"open_issues_count":5,"forks_count":45,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-10-21T20:48:51.983Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://docs.ocean.dwavesys.com/projects/neal/en/latest","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dwavesystems.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-10-12T17:47:30.000Z","updated_at":"2025-08-19T03:05:40.000Z","dependencies_parsed_at":"2023-01-14T04:25:19.386Z","dependency_job_id":null,"html_url":"https://github.com/dwavesystems/dwave-neal","commit_stats":null,"previous_names":[],"tags_count":26,"template":false,"template_full_name":null,"purl":"pkg:github/dwavesystems/dwave-neal","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dwavesystems%2Fdwave-neal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dwavesystems%2Fdwave-neal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dwavesystems%2Fdwave-neal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dwavesystems%2Fdwave-neal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dwavesystems","download_url":"https://codeload.github.com/dwavesystems/dwave-neal/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dwavesystems%2Fdwave-neal/sbom","scorecard":{"id":361125,"data":{"date":"2025-08-11","repo":{"name":"github.com/dwavesystems/dwave-neal","commit":"0457d05e32a9d6afef87a85ce0cb2a136b7fa766"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.8,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":6,"reason":"Found 6/9 approved changesets -- score normalized to 6","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'","Warn: branch protection not enabled for branch '0.6.x'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":2,"reason":"8 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2018-34 / GHSA-2fc2-6r4j-p65h","Warn: Project is vulnerable to: PYSEC-2021-856 / GHSA-5545-2q6w-2gh6","Warn: Project is vulnerable to: PYSEC-2019-108 / GHSA-9fq2-x9r6-wfmf","Warn: Project is vulnerable to: PYSEC-2018-33 / GHSA-cw6w-4rcx-xphc","Warn: Project is vulnerable to: PYSEC-2021-857 / GHSA-f7c7-j99h-c22f","Warn: Project is vulnerable to: GHSA-fpfv-jqm9-f5jm","Warn: Project is vulnerable to: PYSEC-2017-1 / GHSA-frgw-fgh6-9g52","Warn: Project is vulnerable to: PYSEC-2022-238 / GHSA-h3qr-fjhm-jphw"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 28 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-18T10:52:54.876Z","repository_id":26326051,"created_at":"2025-08-18T10:52:54.877Z","updated_at":"2025-08-18T10:52:54.877Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280333492,"owners_count":26312845,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-21T02:00:06.614Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-10-21T20:49:02.473Z","updated_at":"2025-10-21T20:49:04.799Z","avatar_url":"https://github.com/dwavesystems.png","language":"Python","funding_links":[],"categories":["Quantum annealing"],"sub_categories":[],"readme":".. image:: https://img.shields.io/pypi/v/dwave-neal.svg\n    :target: https://pypi.org/project/dwave-neal\n\n.. image:: https://codecov.io/gh/dwavesystems/dwave-neal/branch/master/graph/badge.svg\n    :target: https://codecov.io/gh/dwavesystems/dwave-neal\n\n.. image:: https://readthedocs.com/projects/d-wave-systems-dwave-neal/badge/?version=latest\n    :target: https://docs.ocean.dwavesys.com/projects/neal/en/latest/?badge=latest\n\n.. image:: https://circleci.com/gh/dwavesystems/dwave-neal.svg?style=svg\n    :target: https://circleci.com/gh/dwavesystems/dwave-neal\n\ndwave-neal\n==========\n\n.. index-start-marker\n\nAn implementation of a simulated annealing sampler.\n\nA simulated annealing sampler can be used for approximate Boltzmann sampling or\nheuristic optimization. This implementation approaches the equilibrium\ndistribution by performing updates at a sequence of increasing beta values,\n``beta_schedule``, terminating at the target beta. Each spin is updated once\nin a fixed order per point in the beta_schedule according to a Metropolis-\nHastings update. When beta is large the target distribution concentrates, at\nequilibrium, over ground states of the model. Samples are guaranteed to match\nthe equilibrium for long 'smooth' beta schedules.\n\nFor more information, see Kirkpatrick, S.; Gelatt Jr, C. D.; Vecchi, M. P.\n(1983). \"Optimization by Simulated Annealing\". Science. 220 (4598): 671–680\n\nExample Usage\n-------------\n\n.. code-block:: python\n\n    import neal\n\n    sampler = neal.SimulatedAnnealingSampler()\n\n    h = {0: -1, 1: -1}\n    J = {(0, 1): -1}\n    sampleset = sampler.sample_ising(h, J)\n\n.. index-end-marker\n\nInstallation\n------------\n\n.. installation-start-marker\n\nTo install:\n\n.. code-block:: bash\n\n    pip install dwave-neal\n\nTo build from source:\n\n.. code-block:: bash\n\n    pip install -r requirements.txt\n    python setup.py build_ext --inplace\n    python setup.py install\n\n.. installation-end-marker\n\nLicense\n-------\n\nReleased under the Apache License 2.0. See LICENSE file.\n\nContributing\n============\n\nOcean's `contributing guide \u003chttps://docs.ocean.dwavesys.com/en/stable/contributing.html\u003e`_\nhas guidelines for contributing to Ocean packages.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdwavesystems%2Fdwave-neal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdwavesystems%2Fdwave-neal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdwavesystems%2Fdwave-neal/lists"}