Skip to main content

Quantum Monte Carlo for electrons in real space

Project description

Quantum Monte Carlo package

The Pycasino is python implementation of the well-known Casino program.

Basic functionality

  1. supported orbital file formats: gwfn.data, stowfn.data
  2. using multi-determinant expansions
  3. capable of doing 3-term Jastrow factor and 3-term Backflow
  4. configuration-by-configuration (CBCS) and electron-by-electron (EBES) sampling
  5. partial Ma CUSP correction (no rc optimization yet)
  6. MPI parallelization
  7. support VMC and DMC energy calculation, varmin and emin optimization
  8. pseudopotential

List of supported keywords in input file

General keywords:

  • NEU, NED Number of electrons of up and down spin
  • RUNTYPE Type of QMC calculation: vmc, vmc_dmc, vmc_opt
  • TESTRUN If this flag is T then read input files, print information and stop
  • ATOM_BASIS_TYPE The type of orbitals to be used: gaussian, slater-type

VMC keywords:

  • VMC_EQUIL_NSTEP Number of equilibration steps
  • VMC_NSTEP Number of VMC energy-evaluation steps
  • VMC_DECORR_PERIOD Number of steps between VMC energy-evaluation moves
  • VMC_NCONFIG_WRITE Number of VMC configurations stored for later use in DMC or optimization
  • VMC_NBLOCK number of blocks into which the total VMC run is divided post-equilibration
  • DTVMC VMC time step (size of trial steps in random walk)
  • VMC_METHOD (1) - EBES (work in progress), (3) - CBCS.

Optimization keywords:

  • OPT_CYCLES Number of optimization VMC cycles to perform
  • OPT_METHOD Optimization method to use: varmin, emin
  • OPT_JASTROW Optimize the Jastrow factor in wave-function optimization
  • OPT_BACKFLOW Optimize backflow parameters in wave-function optimization
  • OPT_DET_COEFF Optimize the coefficients of the determinants in wave-function optimization
  • OPT_MAXEVAL Maximum number of evaluations of the variance during variance minimization (default 50)
  • OPT_PLAN Allows specifying different parameters for each optimization cycle
  • VM_REWEIGHT If set then the reweighted variance-minimization algorithm will be used, else the unreweighted algorithm will be used Unreweighted variance minimization is recommended
  • EMIN_METHOD Energy minimization method to use: newton, linear (default), reconf

DMC keywords:

  • DMC_TARGET_WEIGHT Target number of configurations in DMC
  • DMC_EQUIL_NSTEP Number of DMC steps in equilibration
  • DMC_STATS_NSTEP Number of DMC steps in statistics accumulation
  • DMC EQUIL NBLOCK Number of blocks into which the DMC equilibration phase is divided
  • DMC STATS NBLOCK Number of blocks into which the DMC statistics accumulation phase is divided
  • DTDMC DMC time step
  • DMC_METHOD (1) - EBES, (2) - CBCS
  • LIMDMC Set modifications to Green’s function in DMC. Only (4) Umrigar mods to drift velocity, Zen–Sorella–Alfè mods to energy
  • ALIMIT Parameter required by DMC drift-velocity- and energy-limiting schemes
  • NUCLEUS_GF_MODS This keyword is the switch for enabling the use of the modifications to the DMC Green’s function for the presence of bare nuclei
  • EBEST_AV_WINDOW Averaging window for calculating the ground-state energy during equilibration (work in progress)

WFN definition keywords:

  • BACKFLOW Turns on backflow corrections. Backflow parameters are read from correlation.data
  • USE_JASTROW Use a wave function of the Slater-Jastrow form. The Jastrow factor is read from correlation.data
  • USE_GJASTROW Use gjastrow Jastrow factor. This Jastrow factor is defined in a parameters.casl file (work in progress)

Cusp correction keywords:

  • CUSP_CORRECTION When the cusp correction flag is activated, the s-type Gaussian basis functions centred on each atom are replaced within a small sphere by a function which ensures that the electron–nucleus cusp condition is obeyed
  • CUSP_INFO If set then information about how cusp correction is done will be printed to the log-file
  • CUSP_THRESHOLD If the magnitude of the s-component of a Gaussian orbital is less than this threshold then it will not be cusp corrected

Pseudopotential keywords:

  • NON_LOCAL_GRID Selects the grid for nonlocal integration, can take values between 1 and 7, the default being 4
  • LCUTOFFTOL This is used to define the cutoff radius for the local part of the pseudopotential, the default being 1e-5
  • NLCUTOFFTOL This is used to define the cutoff radius for the nonlocal parts of the pseudopotential, the default being 1e-5

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

casino-0.2.0.tar.gz (102.5 kB view details)

Uploaded Source

Built Distribution

casino-0.2.0-py3-none-any.whl (109.0 kB view details)

Uploaded Python 3

File details

Details for the file casino-0.2.0.tar.gz.

File metadata

  • Download URL: casino-0.2.0.tar.gz
  • Upload date:
  • Size: 102.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.32.3 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.12

File hashes

Hashes for casino-0.2.0.tar.gz
Algorithm Hash digest
SHA256 93dae174ebe8f1695a331ed2e9b58fbd3eb74279cd3ec56fcdfe08e1c9bcfefb
MD5 4811a5c4969e9ad8959ab2a375ad9de0
BLAKE2b-256 d88a7a7b28116069175a53150e9dae02247babd01efe0f75d67e1fcbb4d8fe7c

See more details on using hashes here.

File details

Details for the file casino-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: casino-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 109.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.32.3 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.12

File hashes

Hashes for casino-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5bd1123adbc90ce5328d9ccc595a4fe418fb02910aa3059aa1e757f9529f875b
MD5 42a015225ab15081d7efe2cb28db38ee
BLAKE2b-256 3aa82a8b45f838ee0f9a94d22b541d66e2e5d3542fcfc788fc5e56fc3c43405d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page