Skip to main content

Condensed Matter Physics Numerical Analytics Libirary

Project description

Python Test C++ Test codecov

Description

COndensed Matter Physics Numerical Analytics Library (COMPNAL) is a numerical calculation library in the field of condensed matter physics. This library aims to provide a comprehensive set of numerical methods and algorithms tailored for analyzing various condensed matter systems.

API Reference

C++ Reference

Features

COMPNAL can calculate the following models on the following lattices by the following solvers.

Lattice

  • One-dimensional chain
  • Two-dimensional square lattice
  • Three-dimensional cubic lattice
  • Fully-connected lattice

Model

Classical models

  • Ising model
  • Polynomial Ising model

Solver

For Classical models

  • Classical Monte Carlo method
    • Single spin flip
    • Parallel tempering

Upcoming Features

We are actively working on expanding COMPNAL with the following upcoming features.

Lattice

  • Two-dimensional triangular lattice
  • Two-dimensional honeycomb lattice
  • User-defined lattice

Model

  • Classical model

    • Potts model
  • Quantum model

    • Transverse field Ising model
    • Heisenberg model
    • Hubbard model
    • Kondo Lattice model

Algorithm

  • Classical Monte Carlo method
    • Suwa-Todo algorithm
    • Wolff algorithm
    • Swendsen-Wang algorithm
  • Exact Diagonalization
    • Lanczos method
    • Locally Optimal Block Preconditioned Conjugate Gradient method
  • Density Matrix Renormalization Group

Installation

Install from PyPI

Only for Linux and MacOS.

pip install compnal

Install from GitHub

To install the latest release of compnal from the source, use the following command:

pip install git+https://github.com/K-Suzuki-Jij/compnal.git

Before installation, make sure that the following dependencies are installed.

Build from source

COMPNAL depends on the following libraries.

On MacOS

First, install the dependencies using Homebrew.

brew install cmake libomp

Then, clone this repository and install COMPNAL.

python -m pip install . -vvv

Run the test to check if the installation is successful.

python -m pytest tests

On Linux

First, install the dependencies using apt.

sudo apt install cmake

Then, clone this repository and install COMPNAL.

python -m pip install . -vvv

Run the test to check if the installation is successful.

python -m pytest tests

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

compnal-0.0.11-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (686.1 kB view details)

Uploaded CPython 3.12 manylinux: glibc 2.17+ x86-64

compnal-0.0.11-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (689.6 kB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

compnal-0.0.11-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (665.0 kB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

compnal-0.0.11-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

File details

Details for the file compnal-0.0.11-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for compnal-0.0.11-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8975fb9f9e838e5c4e0b59f11adfd434cf242eb73669d1e476f6f1c863834120
MD5 881f50f99235994684d2d0cad6e4188a
BLAKE2b-256 0b4ef7ed2c8432f4a6f11289c37852fbe8664ba7dcf4d41372b46ea5d5dca0b9

See more details on using hashes here.

File details

Details for the file compnal-0.0.11-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for compnal-0.0.11-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 877b34166d708fbb4f4c4bc3233bd0f0842e6e4bd364e943167d925bb9c5b48b
MD5 5b698b09c7ec2c3d0c9ac97988d75e2d
BLAKE2b-256 c8835f859c510ffc89a8e520e066326c7ed4c5549280bc4fc91daa4da35f613d

See more details on using hashes here.

File details

Details for the file compnal-0.0.11-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for compnal-0.0.11-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3a26bd3d6c95baf6517a56b273e871c24e9769f3158ea5df7c8e15d3b0d1924c
MD5 690f255540f4803766d4d8114efe0d19
BLAKE2b-256 bb5e6d070477d59c215c367d2bde3bbe0579562b34b37b135093f5a40b09fafb

See more details on using hashes here.

File details

Details for the file compnal-0.0.11-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for compnal-0.0.11-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a3e0cede45af8250402b0b0e07416b6f849cb55c2b296425de767036db302ffa
MD5 c0b4a697730f0784371798c39f9d8d8c
BLAKE2b-256 105e1079c2389ca4188cdd428352596ea540e1d85ff8a5564188e782e434c7ba

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page