Python bindings for the Ising2D C++ simulation
Project description
PyIsing
PyIsing is a Python library for simulating the Ising model using C++ bindings via pybind11. It includes implementations of the Wolff and Metropolis Monte Carlo algorithms for efficient simulation of spin systems.
Features
- Fast C++ core: Uses pybind11 to leverage high-performance C++ computations.
- Wolff Algorithm: Implements cluster updates for efficient decorrelation.
- Metropolis Algorithm: Standard single-spin update method.
- Flexible Parameters: Supports different lattice sizes, temperatures.
installation
pip install pyising
usage
import pyising
temps = np.linspace(1, 4, 50)
L = 64
results = pyising.run_parallel_metropolis(temps, L, N_steps=100000,
seed_base=42,
output_dir="simultion",
use_wolff=False,
save_all_configs=False)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyising-0.1.2-cp312-cp312-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: pyising-0.1.2-cp312-cp312-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 1.6 MB
- Tags: CPython 3.12, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.21
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b1eaed3ee8036fea1d551c881643cb06d896539bce18034b94fd403513e3ed5e
|
|
| MD5 |
1db782c0ec480c4580a628f625934136
|
|
| BLAKE2b-256 |
9f98e7f2b1e0246de5345f1556117db0549c74cab6e9653da80b0d7d03d15d00
|
File details
Details for the file pyising-0.1.2-cp312-cp312-musllinux_1_2_i686.whl.
File metadata
- Download URL: pyising-0.1.2-cp312-cp312-musllinux_1_2_i686.whl
- Upload date:
- Size: 1.7 MB
- Tags: CPython 3.12, musllinux: musl 1.2+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.21
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5653ebbb11aac6bbf08992535e5bbef85f7ce82b1d404c3be302ab691ccfb467
|
|
| MD5 |
c9e5e3339651819fd84640760aa7c788
|
|
| BLAKE2b-256 |
2d8c41f077cbbf4d1626ca5c00cd4f866af51874657ba810edbdf588f6685461
|
File details
Details for the file pyising-0.1.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: pyising-0.1.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 661.2 kB
- Tags: CPython 3.12, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.21
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8e73b276b5216e70358197c217d25456b0095eae0ee50840a9c13edd6853a675
|
|
| MD5 |
7f10d85ad5d34ccd10009b8a39955b0d
|
|
| BLAKE2b-256 |
72abcc0ed8107424a6cf12c49ba0cba2eb9b6ecbfeffd47a5969682607a369dd
|
File details
Details for the file pyising-0.1.2-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl.
File metadata
- Download URL: pyising-0.1.2-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl
- Upload date:
- Size: 709.8 kB
- Tags: CPython 3.12, manylinux: glibc 2.17+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.21
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fa8a90790ea6341c9749b52ff531c3195c72b42b38bf9f768b21317e1d50e83f
|
|
| MD5 |
bd2f4d1babd28c727c8425d21e49766f
|
|
| BLAKE2b-256 |
57dd04d42a8c1654090cb9427e97378601eb3269f7bdae07ff0141d05fed3e42
|
File details
Details for the file pyising-0.1.2-cp311-cp311-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: pyising-0.1.2-cp311-cp311-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 1.6 MB
- Tags: CPython 3.11, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.21
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
76a0b14a9f56434eb61f42673ee4f75a54902d8c10e1956a206b99a1668fcf55
|
|
| MD5 |
23bc6888ae3357aeb1c2caf0aadd3aa1
|
|
| BLAKE2b-256 |
e19478ee1ad85a1dbdd5bdeea31b9e67270446ff982ecbb06788bdecbcc4dfd1
|
File details
Details for the file pyising-0.1.2-cp311-cp311-musllinux_1_2_i686.whl.
File metadata
- Download URL: pyising-0.1.2-cp311-cp311-musllinux_1_2_i686.whl
- Upload date:
- Size: 1.7 MB
- Tags: CPython 3.11, musllinux: musl 1.2+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.21
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
68a523dae75290181a218a87730532ceb75ea7f13613736f03cb9fe1aa857ef3
|
|
| MD5 |
b62e422447a28326bbec00da54262f23
|
|
| BLAKE2b-256 |
0dfc49e2e896fc41c8e1aec989adb8a22cb1593846179d6f25cd00304cd004a6
|
File details
Details for the file pyising-0.1.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: pyising-0.1.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 662.2 kB
- Tags: CPython 3.11, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.21
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
493745784455c78d06c50a6290547107770b27d96ccf393b3b7436a088abb311
|
|
| MD5 |
3b73ef44bd7b675c065b64419c88329b
|
|
| BLAKE2b-256 |
ed55649df84358fe59d1367458f7470ca90fd0dbbdaa569a959c23da1328a596
|
File details
Details for the file pyising-0.1.2-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl.
File metadata
- Download URL: pyising-0.1.2-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl
- Upload date:
- Size: 710.4 kB
- Tags: CPython 3.11, manylinux: glibc 2.17+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.21
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f812cf72b9a6a56039998d902a61964505d780a2bf1d1acb4760c15a48908cea
|
|
| MD5 |
56f360e4c90b6f535c177647c4188b01
|
|
| BLAKE2b-256 |
d8d58fdbed0e63fb3ce7400a51a7110525f4b9b3bee54a1f0815646677b1a97e
|
File details
Details for the file pyising-0.1.2-cp310-cp310-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: pyising-0.1.2-cp310-cp310-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 1.6 MB
- Tags: CPython 3.10, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.21
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
342b1d9db7e18068542c65636e16cf48a0253c43d40e42d533cff95d5c428ead
|
|
| MD5 |
52b92519828c6491744f947747d5ac60
|
|
| BLAKE2b-256 |
91b3d465f77a8bfb758c9364678faaf6273768a614befbeb72bdb748daf11e89
|
File details
Details for the file pyising-0.1.2-cp310-cp310-musllinux_1_2_i686.whl.
File metadata
- Download URL: pyising-0.1.2-cp310-cp310-musllinux_1_2_i686.whl
- Upload date:
- Size: 1.7 MB
- Tags: CPython 3.10, musllinux: musl 1.2+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.21
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d0e2a01d61a82a7a1669830ac59d065529ff54d34a713307109386803b4ada7a
|
|
| MD5 |
ec888740df8f9f9b7c57e9a1dafffe91
|
|
| BLAKE2b-256 |
7a6465d113e58ca0ba6fb3a68d61a67acaa77de7c2afa9b37817e220419d2987
|
File details
Details for the file pyising-0.1.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: pyising-0.1.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 660.3 kB
- Tags: CPython 3.10, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.21
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
48606a943608f1b1ab74bd4bb0a1df65a1e65b338d4376bc438ee44121844a11
|
|
| MD5 |
1d1e98b5eb07fbf60d461c19ae29a577
|
|
| BLAKE2b-256 |
00d4df702163cd597288c174e985f56f7eb267d1b9761396867b7c230cdbf205
|
File details
Details for the file pyising-0.1.2-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl.
File metadata
- Download URL: pyising-0.1.2-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl
- Upload date:
- Size: 710.0 kB
- Tags: CPython 3.10, manylinux: glibc 2.17+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.21
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ae200a3098d2e06940dbdcfbbbd5b87696bef60557b55ab0e3160a3530b8a2bc
|
|
| MD5 |
180a8749fe23b89184ce815262a45528
|
|
| BLAKE2b-256 |
e5d8afb1aea4c58e6fe043b04ad943cc7cadb700fd32ea986a03c7d58ede4d38
|
File details
Details for the file pyising-0.1.2-cp39-cp39-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: pyising-0.1.2-cp39-cp39-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 1.6 MB
- Tags: CPython 3.9, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.21
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
85539af0eb4fdda9070dc8ff36862baf12f127634d182fb75e28328bde63f7b1
|
|
| MD5 |
37d2fa30fead322ddea12affedd7c3fe
|
|
| BLAKE2b-256 |
650f5bee2394b1b14b205fc1b960dca9d305f627b7deca54d93b2a113e579f5e
|
File details
Details for the file pyising-0.1.2-cp39-cp39-musllinux_1_2_i686.whl.
File metadata
- Download URL: pyising-0.1.2-cp39-cp39-musllinux_1_2_i686.whl
- Upload date:
- Size: 1.7 MB
- Tags: CPython 3.9, musllinux: musl 1.2+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.21
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
abfae9d2a6f3c5a44d2175c144cb3838da5fe9c1dd7d9cf7c9f8b5bd97859ef2
|
|
| MD5 |
587e8e2bbb4450aa922cf3e5110befa0
|
|
| BLAKE2b-256 |
ef687798cebeebd78664a825fc2310aa999331d0711d88b243c4e214e33e7f4b
|
File details
Details for the file pyising-0.1.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: pyising-0.1.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 660.7 kB
- Tags: CPython 3.9, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.21
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
80e7e97bc8456fce0d7e3fc4a0743a359891551ffbf9eb62937cc05b24c25b5f
|
|
| MD5 |
a766828b4528994a4d8635ddaffb50f0
|
|
| BLAKE2b-256 |
abcde63f3a1d149b6c395ef887c7f09b2e8ae6f59d12b038c4e2c027e85444cb
|
File details
Details for the file pyising-0.1.2-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl.
File metadata
- Download URL: pyising-0.1.2-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl
- Upload date:
- Size: 709.4 kB
- Tags: CPython 3.9, manylinux: glibc 2.17+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.21
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b906e690945dc736c9dcf4ae4ac1d2d5cfdd9f58fcec8f46a3c09a8be9fd248a
|
|
| MD5 |
f41815ca158d47479863d1fdfcb2788a
|
|
| BLAKE2b-256 |
436baeb874e783d91d2882953fc9b06647ad98be3c4967be15c92b0cace5959c
|
File details
Details for the file pyising-0.1.2-cp38-cp38-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: pyising-0.1.2-cp38-cp38-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 1.6 MB
- Tags: CPython 3.8, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.21
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
622b05ca351daae5a1dcd2fc2cbe501ae0eab4a55bb906af0e272accb024b1f7
|
|
| MD5 |
b9f77d39c5c2c27c38f9b4303e45b82f
|
|
| BLAKE2b-256 |
9effd2b3671ebf0a5b675c11ab7775a2adc9d7bfd1a56148527e5c2ebe4ecf61
|
File details
Details for the file pyising-0.1.2-cp38-cp38-musllinux_1_2_i686.whl.
File metadata
- Download URL: pyising-0.1.2-cp38-cp38-musllinux_1_2_i686.whl
- Upload date:
- Size: 1.7 MB
- Tags: CPython 3.8, musllinux: musl 1.2+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.21
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
78cc08db696400a03acb30f002f8eaf07cad4c03b9cc6a6384e3c97be1a15e30
|
|
| MD5 |
6d7a1d9cecf88e49b4370411431bb6cf
|
|
| BLAKE2b-256 |
172df2376d9394f97c6cdf3c9a30708300b0e27a999695ad361110a6ee0c8cb2
|
File details
Details for the file pyising-0.1.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: pyising-0.1.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 660.3 kB
- Tags: CPython 3.8, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.21
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d4bcce41f94e8ac230f9402b8296c5d97fe7edd5517a4d6a3f9a7fb1c6514b6d
|
|
| MD5 |
1f2920f42c2ae56b9d90ba8f19832a5f
|
|
| BLAKE2b-256 |
0f14d6e869936e2154efdc2dbae75cb98f82b2f95824ebb41cfc2f10c10b1a84
|
File details
Details for the file pyising-0.1.2-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl.
File metadata
- Download URL: pyising-0.1.2-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl
- Upload date:
- Size: 708.8 kB
- Tags: CPython 3.8, manylinux: glibc 2.17+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.21
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7380793c5856bf5fae98a2ac17bc8c6cf76db19ca21205c83096bc62308dfb08
|
|
| MD5 |
01eb4e2a85cabf3e21a10adf01607dab
|
|
| BLAKE2b-256 |
671ee05878ae802aad8ce2503cead8567a2b841a7ddb86072246d4311b7a5054
|