All Projects → w2dynamics → w2dynamics

w2dynamics / w2dynamics

Licence: GPL-3.0 license
A continuous-time hybridization-expansion Monte Carlo code for calculating n-particle Green's functions of the Anderson impurity model and within dynamical mean-field theory.

Programming Languages

fortran
972 projects
python
139335 projects - #7 most used programming language
CMake
9771 projects

Projects that are alternatives of or similar to w2dynamics

TAA-PG
Usage of policy gradient reinforcement learning to solve portfolio optimization problems (Tactical Asset Allocation).
Stars: ✭ 26 (-36.59%)
Mutual labels:  monte-carlo-simulation
FogTorchPI
A probabilistic prototype for deployment of Fog applications.
Stars: ✭ 19 (-53.66%)
Mutual labels:  monte-carlo-simulation
option-pricing-models
Simple python/streamlit web app for European option pricing using Black-Scholes model, Monte Carlo simulation and Binomial model. Spot prices for the underlying are fetched from Yahoo Finance API.
Stars: ✭ 16 (-60.98%)
Mutual labels:  monte-carlo-simulation
evoplex
Evoplex is a fast, robust and extensible platform for developing agent-based models and multi-agent systems on networks. It's available for Windows, Linux and macOS.
Stars: ✭ 98 (+139.02%)
Mutual labels:  monte-carlo-simulation
PySDM
Pythonic particle-based (super-droplet) warm-rain/aqueous-chemistry cloud microphysics package with box, parcel & 1D/2D prescribed-flow examples in Python, Julia and Matlab
Stars: ✭ 26 (-36.59%)
Mutual labels:  monte-carlo-simulation
CRPropa3
CRPropa is a public astrophysical simulation framework for propagating extraterrestrial ultra-high energy particles. https://crpropa.github.io/CRPropa3/
Stars: ✭ 44 (+7.32%)
Mutual labels:  monte-carlo-simulation
antaresViz
ANTARES Visualizations
Stars: ✭ 19 (-53.66%)
Mutual labels:  monte-carlo-simulation
FlowViz
A Power BI template that provides easy to understand, actionable flow metrics and predictive analytics for your agile teams using Azure DevOps, Azure DevOps Server and/or TFS.
Stars: ✭ 150 (+265.85%)
Mutual labels:  monte-carlo-simulation
mpiPyMC
A python based, MPI enabled, Monte-Carlo calculation of 2D system using Metropolis algorithm.
Stars: ✭ 20 (-51.22%)
Mutual labels:  monte-carlo-simulation
hoomd-examples
HOOMD-blue example scripts.
Stars: ✭ 15 (-63.41%)
Mutual labels:  monte-carlo-simulation
lattice mc
Lattice gas Monte Carlo simulation code
Stars: ✭ 24 (-41.46%)
Mutual labels:  monte-carlo-simulation
GOMC
GOMC - GPU Optimized Monte Carlo is a parallel molecular simulation code designed for high-performance simulation of large systems
Stars: ✭ 41 (+0%)
Mutual labels:  monte-carlo-simulation
Credit
An example project that predicts risk of credit card default using a Logistic Regression classifier and a 30,000 sample dataset.
Stars: ✭ 18 (-56.1%)
Mutual labels:  monte-carlo-simulation
OpenCossan
OpenCossan is an open and free toolbox for uncertainty quantification and management.
Stars: ✭ 40 (-2.44%)
Mutual labels:  monte-carlo-simulation
sqaod
Solvers/annealers for simulated quantum annealing on CPU and CUDA(NVIDIA GPU).
Stars: ✭ 66 (+60.98%)
Mutual labels:  monte-carlo-simulation
Cassandra
Cassandra is a Monte Carlo package to conduct atomistic simulations.
Stars: ✭ 26 (-36.59%)
Mutual labels:  monte-carlo-simulation
Algorithmic-Trading
I have been deeply interested in algorithmic trading and systematic trading algorithms. This Repository contains the code of what I have learnt on the way. It starts form some basic simple statistics and will lead up to complex machine learning algorithms.
Stars: ✭ 47 (+14.63%)
Mutual labels:  monte-carlo-simulation
xmimsim
Monte Carlo simulation of energy-dispersive X-ray fluorescence spectrometers
Stars: ✭ 29 (-29.27%)
Mutual labels:  monte-carlo-simulation
ncrystal
NCrystal : a library for thermal neutron transport in crystals and other materials
Stars: ✭ 27 (-34.15%)
Mutual labels:  monte-carlo-simulation
UQpy
UQpy (Uncertainty Quantification with python) is a general purpose Python toolbox for modeling uncertainty in physical and mathematical systems.
Stars: ✭ 117 (+185.37%)
Mutual labels:  monte-carlo-simulation

w2dynamics - Wien/Wuerzburg strong coupling solver

w2dynamics is a hybridization-expansion continuous-time quantum Monte Carlo package, developed jointly in Wien and Würzburg.

In any published papers arising from the use of w2dynamics, please cite:

M. Wallerberger, A. Hausoel, P. Gunacker, A. Kowalski, N. Parragh, F. Goth, K. Held, and G. Sangiovanni,
Comput. Phys. Commun. 235, 2 (2019)
https://www.sciencedirect.com/science/article/pii/S0010465518303217
arXiv:1801.10209 https://arxiv.org/abs/1801.10209
When using additional codes in conjunction with w2dynamics, do not forget to give credit to them as well.

w2dynamics contains:

  • a multi-orbital quantum impurity solver for the Anderson impurity model
  • dynamical mean field theory self-consistency loop,
  • a maximum-entropy analytic continuation, as well as
  • coupling to density functional theory.

The w2dynamics package allows for calculating one- and two-particle quantities; it includes worm and further novel sampling schemes. Details about its download, installation, functioning and the relevant parameters are provided.

Maintainers and principal authors:

  • Markus Wallerberger
  • Andreas Hausoel
  • Patrik Gunacker
  • Alexander Kowalski
  • Nicolaus Parragh
  • Florian Goth
  • Karsten Held
  • Giorgio Sangiovanni

Installation

Requirements:

Further dependencies (automatically installed if not found):

To get the code use git:

$ git clone https://github.com/w2dynamics/w2dynamics.git

To build the code follow the cmake build model:

$ mkdir build
$ cd build
$ cmake .. [FURTHER_FLAGS_GO_HERE]
$ make

If CMake fails to find some native dependency automatically, command line arguments of the form -D<PACKAGE>_ROOT=/path/to/package/ can usually be used to explicitly specify installation prefixes that should be searched, for example -DNFFT_ROOT=/path/to/nfft/ for NFFT. For the Python packages, you should try to ensure that they can be imported in the interpreter used by CMake. CMake can be instructed to use a specific interpreter executable using -DPYTHON_EXECUTABLE=/path/to/python. Consider especially that if a Python 3 installation is found automatically, it will be preferred to a Python 2 installation.

To run the unit tests (optional), run the following in the build directory:

$ make test

To install the code (optional), run the following in the build directory:

$ cmake .. -DCMAKE_INSTALL_PREFIX=/path/to/prefix
$ make install

For example installation instructions for some operating systems and computing clusters, you can also visit our wiki page on installation.

Running the code

First, prepare a parameter file, which is usually named Parameters.in. You can use the input files for the tutorials on our wiki as templates.

Next, run DMFT.py to use the self-consistency loop or cthyb if you do a single-shot calculation. If you have installed the code (see above), both executables should be placed in your path. If your parameter file is not named Parameters.in or does not lie in your current working directory, you have to specify it explicitly as a command line argument. If you want to run your calculation using MPI parallelization, use mpiexec or similar to execute the script.

$ DMFT.py [Parameters.in]
$ cthyb [Parameters.in]
$ mpiexec -n 10 DMFT.py [Parameters.in]
$ mpiexec -n 10 cthyb [Parameters.in]

The code will produce a file with a name like RunIdentifier-Timestamp.hdf5. It is an archive of all quantities written by w2dynamics. You can navigate this file using any hdf5-compatible analysis tool, such as jupyter, matlab, etc. For your convenience, we have also included the tool hgrep, which allows quick analysis of the data:

$ hgrep [options] (file|latest) quantity [[index] ...]
$ hgrep latest siw 1 1 1 1

will print the self-energy on the Matsubara axis from the first iteration for the first inequality, orbital and spin as tabular data. Add option -p for automatic plotting or have a look at the man page hgrep.man or the examples in our tutorials for details.

Files and directories

  • w2dyn/auxiliaries/: auxiliary python routines (in/output, config files, etc.)

  • w2dyn/dmft/: python package for DMFT self-consistency loop

  • w2dyn/maxent/: Python wrapper for maximum entropy analytic continuation

  • clusters/: template submission scripts for different clusters

  • cmake/: cmake custom modules

  • docs/: documentation (github wiki)

  • Postproc/: postprocessing scripts

  • preproc/: preprocessing scripts

  • src/: compiled modules loaded from python

    • ctqmc_fortran: Fortran 90 continuous-time quantum Monte Carlo solver
    • maxent: maximum entropy analytic continuation solver
    • mtrng: Mersenne twister pseudorandom number generator
  • testsuite/: unit tests for the code

  • cfg_converter.py: small script converting old-style config files

  • completions.sh: file for bash completions

  • cprun: convenience script copying input files to different directory

  • DMFT.py: main entry point for DMFT self-consistency loop

  • hgrep: utility for extracting data from HDF5 file

  • Maxent.py: main entry point for maximum entropy code

  • setup.py: Python installation script

Citation

If you use the w2dynamics package, please mention the following in the acknowledments:

The QMC simulations were carried out with the w2dynamics package available at https://github.com/w2dynamics/w2dynamics .

Disclaimer

Github Privacy Statement

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].