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.13-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.13-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.13-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

File details

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

File metadata

File hashes

Hashes for compnal-0.0.13-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e86ef6a1dbbf7ce69603a11d64dd45d6d69b660e12272e9525919d283d55328b
MD5 77e094548ea75efb062489cbb071d671
BLAKE2b-256 11996ba513f9b4449a8c6bec071fb126fa886c11dd268329b001d145f649e298

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for compnal-0.0.13-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 15a0876b0d1f213ad36b4f5e8148974fa4836d403de593bbb28529b66577a643
MD5 33fdac4df1ba3ce76f6d2ef5b7c1011e
BLAKE2b-256 f3aac8838eddef6c7d83950860cec8ec0d450b1634e50063d6febdfe2a2d96bc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for compnal-0.0.13-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 becb5f4e9c93f0436fe7fd296d9a9325b21acb0ca0ed100c2f655f85457412df
MD5 d51b06f8c4652996a1e3f8081bd3b3eb
BLAKE2b-256 536fa36ceeebda4a7f33edcacbcd32bf663bbf0547eee905fbf56207f73efb65

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