Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

pyising-0.1.2-cp312-cp312-musllinux_1_2_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ x86-64

pyising-0.1.2-cp312-cp312-musllinux_1_2_i686.whl (1.7 MB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ i686

pyising-0.1.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (661.2 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

pyising-0.1.2-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl (709.8 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ i686

pyising-0.1.2-cp311-cp311-musllinux_1_2_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ x86-64

pyising-0.1.2-cp311-cp311-musllinux_1_2_i686.whl (1.7 MB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ i686

pyising-0.1.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (662.2 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

pyising-0.1.2-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl (710.4 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ i686

pyising-0.1.2-cp310-cp310-musllinux_1_2_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ x86-64

pyising-0.1.2-cp310-cp310-musllinux_1_2_i686.whl (1.7 MB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ i686

pyising-0.1.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (660.3 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

pyising-0.1.2-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl (710.0 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ i686

pyising-0.1.2-cp39-cp39-musllinux_1_2_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.9musllinux: musl 1.2+ x86-64

pyising-0.1.2-cp39-cp39-musllinux_1_2_i686.whl (1.7 MB view details)

Uploaded CPython 3.9musllinux: musl 1.2+ i686

pyising-0.1.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (660.7 kB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

pyising-0.1.2-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl (709.4 kB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ i686

pyising-0.1.2-cp38-cp38-musllinux_1_2_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.8musllinux: musl 1.2+ x86-64

pyising-0.1.2-cp38-cp38-musllinux_1_2_i686.whl (1.7 MB view details)

Uploaded CPython 3.8musllinux: musl 1.2+ i686

pyising-0.1.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (660.3 kB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ x86-64

pyising-0.1.2-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl (708.8 kB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ i686

File details

Details for the file pyising-0.1.2-cp312-cp312-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for pyising-0.1.2-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 b1eaed3ee8036fea1d551c881643cb06d896539bce18034b94fd403513e3ed5e
MD5 1db782c0ec480c4580a628f625934136
BLAKE2b-256 9f98e7f2b1e0246de5345f1556117db0549c74cab6e9653da80b0d7d03d15d00

See more details on using hashes here.

File details

Details for the file pyising-0.1.2-cp312-cp312-musllinux_1_2_i686.whl.

File metadata

File hashes

Hashes for pyising-0.1.2-cp312-cp312-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 5653ebbb11aac6bbf08992535e5bbef85f7ce82b1d404c3be302ab691ccfb467
MD5 c9e5e3339651819fd84640760aa7c788
BLAKE2b-256 2d8c41f077cbbf4d1626ca5c00cd4f866af51874657ba810edbdf588f6685461

See more details on using hashes here.

File details

Details for the file pyising-0.1.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyising-0.1.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8e73b276b5216e70358197c217d25456b0095eae0ee50840a9c13edd6853a675
MD5 7f10d85ad5d34ccd10009b8a39955b0d
BLAKE2b-256 72abcc0ed8107424a6cf12c49ba0cba2eb9b6ecbfeffd47a5969682607a369dd

See more details on using hashes here.

File details

Details for the file pyising-0.1.2-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for pyising-0.1.2-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 fa8a90790ea6341c9749b52ff531c3195c72b42b38bf9f768b21317e1d50e83f
MD5 bd2f4d1babd28c727c8425d21e49766f
BLAKE2b-256 57dd04d42a8c1654090cb9427e97378601eb3269f7bdae07ff0141d05fed3e42

See more details on using hashes here.

File details

Details for the file pyising-0.1.2-cp311-cp311-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for pyising-0.1.2-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 76a0b14a9f56434eb61f42673ee4f75a54902d8c10e1956a206b99a1668fcf55
MD5 23bc6888ae3357aeb1c2caf0aadd3aa1
BLAKE2b-256 e19478ee1ad85a1dbdd5bdeea31b9e67270446ff982ecbb06788bdecbcc4dfd1

See more details on using hashes here.

File details

Details for the file pyising-0.1.2-cp311-cp311-musllinux_1_2_i686.whl.

File metadata

File hashes

Hashes for pyising-0.1.2-cp311-cp311-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 68a523dae75290181a218a87730532ceb75ea7f13613736f03cb9fe1aa857ef3
MD5 b62e422447a28326bbec00da54262f23
BLAKE2b-256 0dfc49e2e896fc41c8e1aec989adb8a22cb1593846179d6f25cd00304cd004a6

See more details on using hashes here.

File details

Details for the file pyising-0.1.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyising-0.1.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 493745784455c78d06c50a6290547107770b27d96ccf393b3b7436a088abb311
MD5 3b73ef44bd7b675c065b64419c88329b
BLAKE2b-256 ed55649df84358fe59d1367458f7470ca90fd0dbbdaa569a959c23da1328a596

See more details on using hashes here.

File details

Details for the file pyising-0.1.2-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for pyising-0.1.2-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 f812cf72b9a6a56039998d902a61964505d780a2bf1d1acb4760c15a48908cea
MD5 56f360e4c90b6f535c177647c4188b01
BLAKE2b-256 d8d58fdbed0e63fb3ce7400a51a7110525f4b9b3bee54a1f0815646677b1a97e

See more details on using hashes here.

File details

Details for the file pyising-0.1.2-cp310-cp310-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for pyising-0.1.2-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 342b1d9db7e18068542c65636e16cf48a0253c43d40e42d533cff95d5c428ead
MD5 52b92519828c6491744f947747d5ac60
BLAKE2b-256 91b3d465f77a8bfb758c9364678faaf6273768a614befbeb72bdb748daf11e89

See more details on using hashes here.

File details

Details for the file pyising-0.1.2-cp310-cp310-musllinux_1_2_i686.whl.

File metadata

File hashes

Hashes for pyising-0.1.2-cp310-cp310-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 d0e2a01d61a82a7a1669830ac59d065529ff54d34a713307109386803b4ada7a
MD5 ec888740df8f9f9b7c57e9a1dafffe91
BLAKE2b-256 7a6465d113e58ca0ba6fb3a68d61a67acaa77de7c2afa9b37817e220419d2987

See more details on using hashes here.

File details

Details for the file pyising-0.1.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyising-0.1.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 48606a943608f1b1ab74bd4bb0a1df65a1e65b338d4376bc438ee44121844a11
MD5 1d1e98b5eb07fbf60d461c19ae29a577
BLAKE2b-256 00d4df702163cd597288c174e985f56f7eb267d1b9761396867b7c230cdbf205

See more details on using hashes here.

File details

Details for the file pyising-0.1.2-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for pyising-0.1.2-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 ae200a3098d2e06940dbdcfbbbd5b87696bef60557b55ab0e3160a3530b8a2bc
MD5 180a8749fe23b89184ce815262a45528
BLAKE2b-256 e5d8afb1aea4c58e6fe043b04ad943cc7cadb700fd32ea986a03c7d58ede4d38

See more details on using hashes here.

File details

Details for the file pyising-0.1.2-cp39-cp39-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for pyising-0.1.2-cp39-cp39-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 85539af0eb4fdda9070dc8ff36862baf12f127634d182fb75e28328bde63f7b1
MD5 37d2fa30fead322ddea12affedd7c3fe
BLAKE2b-256 650f5bee2394b1b14b205fc1b960dca9d305f627b7deca54d93b2a113e579f5e

See more details on using hashes here.

File details

Details for the file pyising-0.1.2-cp39-cp39-musllinux_1_2_i686.whl.

File metadata

File hashes

Hashes for pyising-0.1.2-cp39-cp39-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 abfae9d2a6f3c5a44d2175c144cb3838da5fe9c1dd7d9cf7c9f8b5bd97859ef2
MD5 587e8e2bbb4450aa922cf3e5110befa0
BLAKE2b-256 ef687798cebeebd78664a825fc2310aa999331d0711d88b243c4e214e33e7f4b

See more details on using hashes here.

File details

Details for the file pyising-0.1.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyising-0.1.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 80e7e97bc8456fce0d7e3fc4a0743a359891551ffbf9eb62937cc05b24c25b5f
MD5 a766828b4528994a4d8635ddaffb50f0
BLAKE2b-256 abcde63f3a1d149b6c395ef887c7f09b2e8ae6f59d12b038c4e2c027e85444cb

See more details on using hashes here.

File details

Details for the file pyising-0.1.2-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for pyising-0.1.2-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 b906e690945dc736c9dcf4ae4ac1d2d5cfdd9f58fcec8f46a3c09a8be9fd248a
MD5 f41815ca158d47479863d1fdfcb2788a
BLAKE2b-256 436baeb874e783d91d2882953fc9b06647ad98be3c4967be15c92b0cace5959c

See more details on using hashes here.

File details

Details for the file pyising-0.1.2-cp38-cp38-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for pyising-0.1.2-cp38-cp38-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 622b05ca351daae5a1dcd2fc2cbe501ae0eab4a55bb906af0e272accb024b1f7
MD5 b9f77d39c5c2c27c38f9b4303e45b82f
BLAKE2b-256 9effd2b3671ebf0a5b675c11ab7775a2adc9d7bfd1a56148527e5c2ebe4ecf61

See more details on using hashes here.

File details

Details for the file pyising-0.1.2-cp38-cp38-musllinux_1_2_i686.whl.

File metadata

File hashes

Hashes for pyising-0.1.2-cp38-cp38-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 78cc08db696400a03acb30f002f8eaf07cad4c03b9cc6a6384e3c97be1a15e30
MD5 6d7a1d9cecf88e49b4370411431bb6cf
BLAKE2b-256 172df2376d9394f97c6cdf3c9a30708300b0e27a999695ad361110a6ee0c8cb2

See more details on using hashes here.

File details

Details for the file pyising-0.1.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyising-0.1.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d4bcce41f94e8ac230f9402b8296c5d97fe7edd5517a4d6a3f9a7fb1c6514b6d
MD5 1f2920f42c2ae56b9d90ba8f19832a5f
BLAKE2b-256 0f14d6e869936e2154efdc2dbae75cb98f82b2f95824ebb41cfc2f10c10b1a84

See more details on using hashes here.

File details

Details for the file pyising-0.1.2-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for pyising-0.1.2-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 7380793c5856bf5fae98a2ac17bc8c6cf76db19ca21205c83096bc62308dfb08
MD5 01eb4e2a85cabf3e21a10adf01607dab
BLAKE2b-256 671ee05878ae802aad8ce2503cead8567a2b841a7ddb86072246d4311b7a5054

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