Skip to main content

Ising

K. Jałowiecki, M. Rams and B. Gardas

Documentation: https://ising.readthedocs.io/en/latest/

Ising is an open source package for exactly solving abritrary Ising model instances via exhaustive search. It can be used as an excellent tool for benchmarking other solvers or generating low energy spectra. The package is compatible with *NIX systems (and in principle should work on Windows too). Ising supports parallel computation via OpenMP or GPU, if it was build with CUDA support.

Build status

Build Status Documentation Status

Installation

If you are running Linux and are interested in CPU-only implementation, you can install Ising from Python Package Index.

pip install ising

For other installation options, including building with CUDA support, please visit the official documentation.

Usage example

The below example finds 4 lowest energy states of the Ising model defined by

\begin{equation*} H(s_0, s_1, s_2) = -2s_0s_1 + 3s_1s_2 + 2.5s_2s_3 -s_0 \end{equation*}
import ising

graph = {(0, 1): 2, (1, 2): -3, (2, 3): 2.5, (0, 0): 1}

result = ising.search(graph, num_states=4)
print(result.energies)

For advanced usage, including GPU support and tweaking execution parameters see documentation.

Metadata

Release files for ising 0.1.23

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for ising 0.1.23
File
ising-0.1.23-cp37-cp37m-manylinux1_x86_64.whl CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.5+ x86-64 Details
ising-0.1.23-cp36-cp36m-manylinux1_x86_64.whl CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.5+ x86-64 Details
ising-0.1.23-cp35-cp35m-manylinux1_x86_64.whl CPython 3.5 CPython 3.5 pymalloc Linux glibc 2.5+ x86-64 Details
ising-0.1.23-cp34-cp34m-manylinux1_x86_64.whl CPython 3.4 CPython 3.4 pymalloc Linux glibc 2.5+ x86-64 Details
ising-0.1.23-cp27-cp27mu-manylinux1_x86_64.whl CPython 2.7 CPython 2.7 pymalloc wide-unicode Linux glibc 2.5+ x86-64 Details
ising-0.1.23-cp27-cp27m-manylinux1_x86_64.whl CPython 2.7 CPython 2.7 pymalloc Linux glibc 2.5+ x86-64 Details

Total release size: 4.8 MB

Release files / ising-0.1.23-cp37-cp37m-manylinux1_x86_64.whl

Download URL ising-0.1.23-cp37-cp37m-manylinux1_x86_64.whl
Size 801.1 kB
Tags CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
e4483c430a1101e06ca631acf42fdb6fd8674d56953c27646e30dcee348eb086
BLAKE2b-256 checksum
How to use checksums
f3064fd36d00f7670a4353559e80ef24e1c2a29068384ecb838a968091af1973
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/38.2.4 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/2.7.14

Release files / ising-0.1.23-cp36-cp36m-manylinux1_x86_64.whl

Download URL ising-0.1.23-cp36-cp36m-manylinux1_x86_64.whl
Size 801.1 kB
Tags CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
97dc9adfa99fc74faa2c64591bdbbd52af1426060e17cdb254a60a54fc476111
BLAKE2b-256 checksum
How to use checksums
8424e447afa9ad914907200f2cfeaf3f845d3dc59ec14ab0b1bcf4dcb6d747f3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/38.2.4 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/2.7.14

Release files / ising-0.1.23-cp35-cp35m-manylinux1_x86_64.whl

Download URL ising-0.1.23-cp35-cp35m-manylinux1_x86_64.whl
Size 802.3 kB
Tags CPython 3.5 CPython 3.5 pymalloc Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
47df18459a3004eda245df05784914d2ae92ea9ce568366e95b02e424f9d042a
BLAKE2b-256 checksum
How to use checksums
1978e3cc72e5728d2ff02307c67ab3d0a44ccac15ffa7c7f12d998b7be0fd656
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/38.2.4 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/2.7.14

Release files / ising-0.1.23-cp34-cp34m-manylinux1_x86_64.whl

Download URL ising-0.1.23-cp34-cp34m-manylinux1_x86_64.whl
Size 802.2 kB
Tags CPython 3.4 CPython 3.4 pymalloc Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
337bcfa123269a845aa795930b5e2e1c6ed5e5025e6dfbfc751fdfd94e9304d0
BLAKE2b-256 checksum
How to use checksums
6d5f6958e85cca8f356807face6cfa0ba7f8b617d3b44de6e78234c03571b03b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/38.2.4 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/2.7.14

Release files / ising-0.1.23-cp27-cp27mu-manylinux1_x86_64.whl

Download URL ising-0.1.23-cp27-cp27mu-manylinux1_x86_64.whl
Size 799.1 kB
Tags CPython 2.7 CPython 2.7 pymalloc wide-unicode Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
8d4440bd7a0b4c50897b8bfd9d98b533680eba29d04124ec624330b0c1a9771f
BLAKE2b-256 checksum
How to use checksums
fb103994e05cfb60d43694d65f6948a556aa99b986f93e465bbc1f535d9cf11f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/38.2.4 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/2.7.14

Release files / ising-0.1.23-cp27-cp27m-manylinux1_x86_64.whl

Download URL ising-0.1.23-cp27-cp27m-manylinux1_x86_64.whl
Size 799.1 kB
Tags CPython 2.7 CPython 2.7 pymalloc Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
c424f582169a00f464f8fa69116de69fc526f540e2073d63d235aa2524bee7d2
BLAKE2b-256 checksum
How to use checksums
82d217c0507a4f08cf4e08727b0dec2644867c1aab0ab5f74949fcb280f3fe03
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/38.2.4 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/2.7.14

Security for ising 0.1.23

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page