Skip to main content

Automatic MR based on PySCF

Project description

pyAutoMR

Latest Version pypi version Downloads PyPI Downloads

The method used by this program is quite similar to MOKIT. However, we try to do everything with PySCF and without Gaussian.

This program aims to do:

  • HF guess strategy
  • automatic guess for CASSCF/GVB/SUHF
  • interface for post-MR

Installation

Pre-requisites

  • MOKIT (no need to fully compile, only autopair is needed)
  • PySCF
  • mrh (optional, for MC-PDFT)
  • ExSCF (optional, for SUHF)
  • pyNOF (optional, for GVB)

Install

  • git clone and add /path/to/pyAutoMR to your PYTHONPATH

Features

  • UHF -> UNO (-> PM LMO -> assoc rot) (-> GVB) -> CASSCF
  • UHF -> SUHF -> CASSCF
  • RHF (-> vir MO projection -> PM LMO -> pairing) (-> GVB ) -> CASSCF
  • CASSCF -> MC-PDFT
  • CASSCF(dry run) -> SA-CASSCF

UHF, RHF can be auto-detected.

Utilities

  • guess for UHF/UKS
    • mix
    • fragment
    • from_fch
    • flipspin (by lmo or by site)
  • internal stability for RHF/RKS, UHF/UKS, ROHF/ROKS
    • optimize wavefunction until stable
  • dump CASCI coefficients
  • dump (active) orbital compositions

Quick Start

from automr import guess, autocas

xyz = 'N 0.0 0.0 0.0; N  0.0 0.0 1.9' 
bas = 'cc-pvdz'

mf = guess.from_frag(xyz, bas, [[0],[1]], [0,0], [3,-3], cycle=50)
mf = guess.check_stab(mf)

mf2 = autocas.cas(mf)

Tutorials

TODO

  • TDDFT NO -> CASSCF

Citation

Please cite pyAutoMR as

Shirong Wang, pyAutoMR, https://github.com/jeanwsr/pyAutoMR (accessed month day, year)

and cite every program called by pyAutoMR, such as PySCF, MOKIT, mrh, etc.

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

pyautomr-0.3.0.tar.gz (33.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyautomr-0.3.0-py3-none-any.whl (36.4 kB view details)

Uploaded Python 3

File details

Details for the file pyautomr-0.3.0.tar.gz.

File metadata

  • Download URL: pyautomr-0.3.0.tar.gz
  • Upload date:
  • Size: 33.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.3

File hashes

Hashes for pyautomr-0.3.0.tar.gz
Algorithm Hash digest
SHA256 7ba1c46e5a16d7d485a995556a91cfdc10782a6a1964b47efa2007e63bed4c77
MD5 578ea5d5558168cbc182daf4a53ce825
BLAKE2b-256 f8ca3fd09a7e16f62297251052a993664102bfe3ffe001db44398a2374f812a5

See more details on using hashes here.

File details

Details for the file pyautomr-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: pyautomr-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 36.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.3

File hashes

Hashes for pyautomr-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4208f0f294aaa91cda89def0b3d6ae1f298797e363dbc96d5554384f80ddb2c6
MD5 7800dcf87e6f9469c2e0b8fd98dee74f
BLAKE2b-256 a223b4b039e85e9edde9ac6e8ef0acdf1eb38e1145803a0dba71b80fc9d6910a

See more details on using hashes here.

Supported by

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