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.12-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.12-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.12-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (665.1 kB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

compnal-0.0.12-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.12-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for compnal-0.0.12-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1735950fa33595de784d6ca61d0c3fdd8091cb1ea053138fd972aea2976bcb6f
MD5 bb530547aaa0f035c9c4581a7c96796f
BLAKE2b-256 a72a4d361f8344d408eedb71be24c6585a4c380eb3e03003f8f0327c0ff596a1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for compnal-0.0.12-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 31885fd236e2882711ce4c5b84fff5327526627db6b142532d1ecd52ca2884de
MD5 845fb39c06d0924e20cb6c9e6f84ebd9
BLAKE2b-256 927a7586e9dbeaa0de9453a0778053c557d30c41531b10f607d1b5c78fc9a26b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for compnal-0.0.12-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 54a5a03265fff71ea84c0d8b2ed1ef732c8067e5aa35054194f6a6625ca64ffd
MD5 1caeecd1521c06144ed236aebdc8ad70
BLAKE2b-256 45f71930818bf6497a63fd61b44a5a4fd31a9a1753fcf5b2e4e63c1d613c491c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for compnal-0.0.12-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f25d69fd1989594b444a32e9979268703e03c6ab2fec122e176896f664f66987
MD5 e5f1b47d1bd9ee5d8d09a60e92902272
BLAKE2b-256 9df63e5712509259df1f876ed53a52e1c562642d9bcfae041eb009e4bc2965d3

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