k-yoshimi / SpM

Sparse modeling tool for analytical continuation of imaginary-time Green's function

Home Page:https://spm-lab.github.io/SpM/manual/build/html/index.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SPM

Sparse Modeling tool for analytical continuation.

The algorithm is presented in the article

  • J. Otsuki, M. Ohzeki, H. Shinaoka, K. Yoshimi,
    "Sparse modeling approach to analytical continuation of imaginary-time quantum Monte Carlo data"
    Phys. Rev. E 95, 061302(R) (2017).

Licence

This package is distributed under GNU General Public License version 3 (GPL v3).

We kindly ask you to cite the article above in publications that include results obtained using this package.

Author

Junya Otsuki, Kazuyoshi Yoshimi, Hiroshi Shinaoka, Masayuki Ohzeki

Requirement

  • LAPACK, BLAS
  • cpplapack (included in this package)

How to build

Getting the source codes

Download the latest source codes by

$ git clone https://github.com/j-otsuki/SpM.git spm.src

Then, the source codes are downloaded in the directory spm.src.

Using Cmake

Build with cmake command is done in a separate directory, e.g. spm.build. Type the following commands:

$ mkdir spm.build && cd spm.build
$ cmake ../spm.src
$ make

Then, the executable file SpM.out is created in directory spm.build/src.

Sample scripts

Some sample data are provided in samples directory:

  • samples/fermion # sample for fermionic spectrum (data in the article)
  • samples/boson # sample for bosonic spectrum

A script file, run.sh, is provided to run through the program. Enter into the directory samples/fermion, and execute the script by

$ ./run.sh

You may need to change the path to SpM.out in the script. If succeeded, results including graphs in eps format are created in output directory. For details, see the document linked below.

Official page

The official page of the SpM is here.

About

Sparse modeling tool for analytical continuation of imaginary-time Green's function

https://spm-lab.github.io/SpM/manual/build/html/index.html

License:GNU General Public License v3.0


Languages

Language:C++ 96.9%Language:CMake 3.1%