Skip to content

Latest commit

 

History

History
60 lines (45 loc) · 2.01 KB

README.md

File metadata and controls

60 lines (45 loc) · 2.01 KB

Nevanlinna

Stable Dev Build Status

Installation

The package can be installed with the Julia package manager. From the Julia REPL, type ] to enter the Pkg REPL mode and run:

pkg> add Nevanlinna

This will install a Command Line Interface (CLI) script, nevanlinna, into ~/.julia/bin. You can add this directory to your PATH in a bash shell by adding the following line into ~/.bashrc:

export PATH="$HOME/.julia/bin:$PATH"

This command needs input parameter TOML file. These files can be downloaded from here. TO DO:the link must be modified after marged to main branch!

How to run examples

You can reproduce the examples demonstrated in our paper by running notebooks in the notebook directory!

The examples include:

  • $\delta$-function

  • Gaussian

  • Lorentzian

  • Two peak

  • Kondo resonance

  • tractable Hubbard gap

  • challenging Hubbard gap

  • compare 64-bit and 128-bit

  • Hamburger moment problem

To run our code, please ensure that the following packages are installed:

  • Nevanlinna
  • Plots
  • LaTeXStrings
  • SparseIR

One can install these libraries as follows:

julia -e 'import Pkg; Pkg.add(["Nevanlinna", "Plots", "LaTeXStrings", "SparseIR"])'

Manual installation from source (advanced)

You should almost never have to do this, but it is possible to install Nevanlinna.jl from source as follows:

git clone https://github.com/SpM-lab/Nevanlinna.jl.git
julia -e "import Pkg; Pkg.add(path=\"Nevanlinna.jl\")"

This is not recommended, as you will get the unstable development version and no future updates.