Skip to content

yonesuke/jaxfss

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jaxfss

PyPI - Python Version PyPI github workflow Jupyter Book Badge Downloads

JAX/Flax implementation of finite-size scaling analysis ising_binder

The physical quantity near a critical point in a finite-size system obeys the scaling law written as

$$ A(T,L)=L^{-c_{2}}F[(T-T_{\mathrm{c}})L^{c_{1}}] $$

where $A(T, L)$ is a physical quantity at temperature $T$ in a finite-size system of which size is $L$. $T_{\mathrm{c}}$ is a critical temperature. The exponent $c_1$ and $c_2$ are critical exponents. Here $F[\cdot]$ is a scaling function. Unfortunately, we do not know the scaling function’s form in advance. Thus, we need to infer not only the value of critical temperature and exponents but also the scaling function itself from given data.

jaxfss is a package for those who need to analyze critical phenomena and calculate the critical point and critical exponents from the finite system size data. The basic idea is that the scaling function is well approximated by some neural network function. It is made up of JAX and Flax, and you can easily use. The idea of this package is so simple that you can extend it to your need if it is not sufficient for you.

Installation

jaxfss can be installed with pip with the following command:

pip install jaxfss

Quickstart

Check out the documentation!!

Other packages

Citation

Please cite this paper when you use this package for your research!!

  • [Full paper] Ryosuke Yoneda and Kenji Harada, Neural Network Approach to Scaling Analysis of Critical Phenomena, arXiv: 2209.01777.

    @article{yoneda2022neural,
        title={Neural Network Approach to Scaling Analysis of Critical Phenomena},
        author={Yoneda, Ryosuke and Harada, Kenji},
        url={https://arxiv.org/abs/2209.01777},
        journal={arXiv preprint arXiv:2209.01777},
        year={2022}
    }
  • [Conference paper] Currently preparing!!