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

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

Install

  • pip install pyAutoMR
  • Or, 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)

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.1.tar.gz (31.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.1-py3-none-any.whl (33.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyautomr-0.3.1.tar.gz
  • Upload date:
  • Size: 31.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.1.tar.gz
Algorithm Hash digest
SHA256 4fef91a40cf76dec8dfde8249c35a8543cc3a0a2a7077c31b00905a10e316dcd
MD5 a7dea4c632166cf27a8896d34067d2e4
BLAKE2b-256 2fc225a0463966000f7ac0f19dcb5220052a9d2b9fbcd6048cd8bafb0b74e23b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyautomr-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 33.8 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 302ce6cf92703846701acef8c64e6b97a09159a55c5f2397b7a5c4c50358fc1d
MD5 c5f35ad9efd33191c50c026f86cc84d2
BLAKE2b-256 2f6c49648ff973851fcd0cd28648091a4bd9d7de92904d36b900de45ad4bb729

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