Skip to content
/ SpM Public
forked from SpM-lab/SpM

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

License

Notifications You must be signed in to change notification settings

k-yoshimi/SpM

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 96.9%
  • CMake 3.1%