{"id":15686260,"url":"https://github.com/dexter2206/ising","last_synced_at":"2025-07-02T13:39:43.931Z","repository":{"id":73908608,"uuid":"165531780","full_name":"dexter2206/ising","owner":"dexter2206","description":"Ising: a Python package for exactly solving abritrary Ising model instances using exhaustive search.","archived":false,"fork":false,"pushed_at":"2020-04-19T15:51:29.000Z","size":133,"stargazers_count":9,"open_issues_count":3,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-31T12:58:05.367Z","etag":null,"topics":["cuda","ising","optimization"],"latest_commit_sha":null,"homepage":"","language":"Cuda","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dexter2206.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-01-13T17:07:44.000Z","updated_at":"2024-10-20T14:45:06.000Z","dependencies_parsed_at":"2023-09-21T13:30:42.757Z","dependency_job_id":null,"html_url":"https://github.com/dexter2206/ising","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dexter2206%2Fising","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dexter2206%2Fising/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dexter2206%2Fising/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dexter2206%2Fising/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dexter2206","download_url":"https://codeload.github.com/dexter2206/ising/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252932425,"owners_count":21827300,"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","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":["cuda","ising","optimization"],"created_at":"2024-10-03T17:37:07.654Z","updated_at":"2025-05-07T18:24:07.938Z","avatar_url":"https://github.com/dexter2206.png","language":"Cuda","funding_links":[],"categories":[],"sub_categories":[],"readme":"Ising\n============\n\\K. Jałowiecki, M. Rams and B. Gardas, \"Brute-forcing spin-glass problems with CUDA\", in preparation.\n\nDocumentation: https://ising.readthedocs.io/en/latest/\n\n**Ising** is an open source package to solve small but otherwise abritrary spin-glass Ising models using exhaustive (brute force) search. It can serve as an excellent tool for benchmarking other solvers or generating low energy spectra (desirable e.g. for machine learning related tasks). The package is compatible with \\*NIX systems (and in principle should work on Windows too). **Ising** supports parallel computation via OpenMP or GPU, provided it has been build with CUDA support.\n\nBuild status\n------------\n|Build Status| |Documentation Status|\n\n\n.. |Build Status| image:: https://travis-ci.org/dexter2206/ising.svg?branch=master\n    :target: https://travis-ci.org/dexter2206/ising\n.. |Documentation Status| image:: https://readthedocs.org/projects/ising/badge/?version=latest\n    :target: https://ising.readthedocs.io/en/latest/?badge=latest\n    :alt: Documentation Status\n\nInstallation\n-------------\nIf you are running Linux and are interested in CPU-only implementation, you can install **Ising** from Python Package Index.\n\n.. code-block:: shell-session\n\n   pip install ising\n\nFor other installation options, including building with CUDA support, please visit the official documentation_.\n\n.. _documentation: https://ising.readthedocs.io/en/latest/\n\nUsage example\n--------------\nThe below example finds 4 lowest energy states of the Ising model defined by\n\n.. math::\n\n   H(s_0, s_1, s_2) = -2s_0s_1 + 3s_1s_2 + 2.5s_2s_3 -s_0\n   \n.. code:: python\n\n\t  import ising\n\n\t  graph = {(0, 1): 2, (1, 2): -3, (2, 3): 2.5, (0, 0): 1}\n\n\t  result = ising.search(graph, num_states=4)\n\t  print(result.energies)\n      \nFor advanced usage, including GPU support and tweaking execution parameters see documentation_.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdexter2206%2Fising","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdexter2206%2Fising","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdexter2206%2Fising/lists"}