Test Suite and Sample Inputs¶
PSI4 is distributed with an extensive test suite, which can
be found in psi4/tests. After building the source code, these
can automatically be run by running ctest
in the compilation
directory. More info on ctest
options can be found
here. Sample input files
can be found in the psi4/samples subdirectory of the toplevel Psi
directory. The samples and a brief description are provided below.
Sample inputs accessible through interfaced executables are bulleted below.
Sample inputs for PSI4 as distributed are below.
Input File 
Description 

Analytic UKS SVWN frequencies, compared to finite difference values 

Numpy interface testing 

analog of fsaptextabc with molecule and external potentials in Bohr 

Various constrained energy minimizations of HOOH with ccpvdz RHF. Cartesiancoordinate constrained optimizations of HOOH in Cartesians. 

A test of the basis specification. A benzene atom is defined using a ZMatrix containing dummy atoms and various basis sets are assigned to different atoms. The symmetry of the molecule is automatically lowered to account for the different basis sets. 

integral conventional REMP/ccpVDZ energies for the H2O molecule. results were independently verified against the initial wavels implementation 

This test case shows an example of running and analyzing a standard FSAPT0/junccpvdz procedure for HSG18dimer from the HSG database. 

LibXC density screening test. Tests empty, Conly, Xonly and XC superfunctionals. ‘super_mix’ showcases how to use different screening values for X and C parts. SCF will fail or crash (nans) without screening! 

MP3 ccpVDZ gradient for the NO radical 

CCSD dipole with userspecified basis set 

RHF orbitals and density for water. 

UHF>UHF stability analysis test for BH with ccpVDZ Test direct SCF with and without symmetry, test PK without symmetry 

HF and DFT variants singlepoints on zmat methane, mostly to test that PSI variables are set and computed correctly. Now also testing that CSX harvesting PSI variables correctly update ref_dft_2e/xc due to new BraggSlater radii 

Scan fractional occupation of electrons updated values due to new BraggSlater radii 

DFT (LDA/GGA) test of custom implementations in: gga_superfuncs.py 

sapt example with orbital freezing with alkali metal and dMP2 

Test if the the guess read in the same basis converges. 

Single point gradient of 12B1 state of H2O+ with EOMCCSD 

Various constrained energy minimizations of HOOH with ccpvdz RHF Internalcoordinate constraints in internalcoordinate optimizations. 

External potential calculation involving a TIP3P water and a QM water. Finite different test of the gradient is performed to validate forces. 

UHF STO3G (Cartesian) and ccpVDZ (spherical) water Hessian test, against Psi3 reference values. This test should match RHF values exactly 

631G** H2O Test RASSCF Energy Point will default to only singles and doubles in the active space 

Compute three IP and 2 EA’s for the PH3 molecule 

Compute the dipole, quadrupole, and traceless quadrupoles for water. 

check mixing ECP and nonECP orbital/fitting basis sets in a session 

CCSD/ccpVDZ optical rotation calculation (both gauges) on Cartesian H2O2 

run some BLAS benchmarks 

RHFCCSDLR/ccpVDZ static polarizability of HOF 

SCF DZ finite difference frequencies by gradients for C4NH4 

RHF Linear Exchange Algorithm test for water 

631G H2O Test FCI Energy Point 

DFMP2 ccpVDZ gradient for the NO molecule. 

Spectroscopic constants of H2, and the full ci ccpVTZ level of theory 

Single point gradient of 11B2 state of H2O with EOMCCSD 

OMP3 ccpCVDZ energy with B3LYP initial guess for the NO radical 

RHF STO3G dipole moment computation, performed by applying a finite electric field and numerical differentiation. 

OMP2 ccpVDZ gradient for the H2O molecule. 

OMP2 ccpVDZ energy for the NO molecule. 

MOM excitation from LUMO HOMO+4 

CASSCF/631G** energy point 

OLCCD ccpVDZ gradient for the NO radical 

UFH and B3LYP ccpVQZ properties for the CH2 molecule. 

OLCCD ccpVDZ freqs for C2H2 

OMP3 ccpVDZ gradient for the NO radical 

UHF Dipole Polarizability Test 

CC2(UHF)/ccpVDZ energy of H2O+. 

usapt example with empty beta due to frozen core 

ROHFCCSD ccpVDZ frozencore energy for the \(^2\Sigma^+\) state of the CN radical, with Cartesian input. 

External potential calculation involving a TIP3P water and a QM water for DFMP2. Finite different test of the gradient is performed to validate forces. 

Test initial SCF guesses on FH and FH+ in ccpVTZ basis 

DCT calculation for the NH3+ radical using the ODC12 and ODC13 functionals. This performs both simultaneous and QC update of the orbitals and cumulant using DIIS extrapolation. Fourvirtual integrals are first handled in the MO Basis for the first two energy computations. In the next computation ao_basis=disk algorithm is used, where the transformation of integrals for fourvirtual case is avoided. 

SCF STO3G geometry optimzation, with Zmatrix input, by finitedifferences 

SCF STO3G finitedifference frequencies from energies for H2O 

CCSD/sto3g optical rotation calculation (length gauge only) at two frequencies on methyloxirane 

DFCCSD ccpVDZ gradient for the NH molecule. 

Tests all grid pruning options available and screening of small weights. Check against grid size. 

EOMCC3/ccpVTZ on H2O 

Various constrained energy minimizations of HOOH with ccpvdz RHF. For “fixed” coordinates, the final value is provided by the user. 

Various gradients for a strained helium dimer and water molecule 

usapt example with empty beta 

Tests CCENERGY’s CCSD gradient in the presence of a dipole field 

TCSCF ccpVDZ energy of asymmetrically displaced ozone, with Zmatrix input. 

DC06 calculation for the O2 molecule (triplet ground state). This performs geometry optimization using twostep and simultaneous solution of the response equations for the analytic gradient. 

Benzene Dimer DFHF/ccpVDZ 

ccpvdz H2O Test CEPA(1) Energy 

Sample HF/ccpVDZ H2O computation 

EOMCCSD/631g excited state transition data for water cation 

cc3: RHFCCSD/631G** H2O geometry optimization and vibrational frequency analysis by finitedifferences of gradients 

DFMP2 ccpVDZ gradients for the H2O molecule. 

Compute the IRC for HCN <> NCH interconversion at the RHF/DZP level of theory. 

DFT Functional Test for RangeSeperated Hybrids and Ghost atoms 

Vibrational and thermo analysis of several water isotopologs. Demonstrates Hessian reuse for different temperatures, pressures, and isotopologs 

RHF STO3G (Cartesian) and ccpVDZ (spherical) water Hessian test, against Psi3 reference values. 

Test FNODFCCSD(T) energy 

Tests DFMP2 gradient in the presence of a dipole field 

UHF gradient for a oneelectron system (no beta electrons). 

ROHFCCSD ccpVDZ energy for the \(^2\Sigma^+\) state of the CN radical 

DFT Functional Smoke Test 

CASSCF/631G** energy point 

routing check on lccd, lccsd, cepa(0). 

DFOMP2.5 ccpVDZ gradients for the H2O molecule. 

Extrapolated water energies 

SCSOMP2 ccpVDZ geometry optimization for the H2O molecule. 

Carbon/UHF FractionallyOccupied SCF Test Case 

Computation of NoCPcorrected water trimer gradient (geometry from J. Chem. Theory Comput. 11, 21262136 (2015)) 

SAPT0 augccpVDZ computation of the benzenemethane interaction energy, using the augpVDZJKFIT DF basis for SCF, the augccpVDZRI DF basis for SAPT0 induction and dispersion, and the augpVDZJKFIT DF basis for SAPT0 electrostatics and induction. This example uses frozen core as well as asyncronous I/O while forming the DF integrals and CPHF coefficients. 

SAPT2+3 with S^inf exchind30 Geometries taken from the S66x10 database, the shortestrange point (R = 0.7 R_e) 

RHFCC2LR/STO3G optical rotation of (S)methyloxirane. gauge = length, omega = (589 355 nm) 

CASSCF/631G** energy point. Check energy with frozen core/virtual orbs. after semicanonicalization. 

RKS Density Matrix basedIntegral Screening Test for benzene 

RHFCC2LR/ccpVDZ optical rotation of H2O2. gauge = length, omega= (589 355 nm) 

631G H2O Test FCI Energy Point 

density fitted REMP/ccpVDZ energies for the CO2 molecule. 

SOSOMP2 ccpVDZ geometry optimization for the H2O molecule. 

B3LYP ccpVDZ geometry optimzation of phenylacetylene, starting from not quite linear structure updated reference due to new BraggSlater radii 

A test of the basis specification. Various basis sets are specified outright and in blocks, both orbital and auxiliary. Constructs libmints BasisSet objects through the constructor that calls qcdb.BasisSet infrastructure. Checks that the resulting bases are of the right size and checks that symmetry of the Molecule observes the basis assignment to atoms. 

RHF ccpVQZ energy for the BH molecule, with Cartesian input. 

incremental Cholesky filtered SCF 

Vibrational and thermo analysis of several water isotopologs. Demonstrates Hessian reuse for different temperatures and pressures but not for different isotopologs. 

ROHFCCSD ccpVDZ frozencore energy for the \(^2\Sigma^+\) state of the CN radical, with Cartesian input. 

RHFBCCD(T)/631G** H2O singlepoint energy (fzc, MObasis \(\langle abcd \rangle\)) 

DFOMP3 ccpVDZ energy for the H2O molecule. 

check distributed driver is correctly passing function kwargs 

DC06 calculation for the He dimer. This performs a twostep update of the orbitals and cumulant, using DIIS extrapolation. Fourvirtual integrals are handled in the MO Basis. 

Tests RHF CCSD(T)gradients 

Single point energies of multiple excited states with EOMCCSD 

Density fitted MP2 ccPVDZ/ccpVDZRI computation of formic acid dimer binding energy using explicit specification of ghost atoms. This is equivalent to the dfmp2_1 sample but uses both (equivalent) specifications of ghost atoms in a manual counterpoise correction. 

wB97XD test for a large UKS molecule update ref gradient due to new BraggSlater radii 

RHF/ccpvdzdecontract HCl singlepoint energy Testing the in line decontract option for basis sets 

ccpvdz H2O Test ACPF Energy/Properties 

UHFODC12 and RHFODC12 singlepoint energy for H2O. This performs a simultaneous update of orbitals and cumulants, using DIIS extrapolation. Fourvirtual integrals are handled in the AO basis, where integral transformation is avoided. In the next RHFODC12 computation, AO_BASIS=NONE is used, where fourvirtual integrals are transformed into MO basis. 

Frequencies for H2O B3LYP/631G* at optimized geometry 

FSAPT0/junccpvdz procedure for methane dimer 

EOMCC2/ccpVDZ on H2O2 with two excited states in each irrep 

WaterArgon complex with ECP present; check of UHF Hessian 

ROHF 631G** energy of the \(^{3}B_1\) state of CH2, with Zmatrix input. The occupations are specified explicitly. 

BHH2+ FCI/ccpVDZ Transition Dipole Moment 

DFOMP2.5 ccpVDZ energy for the H2O+ cation 

Intercalls among python wrappers database, cbs, optimize, energy, etc. Though each call below functions individually, running them all in sequence or mixing up the sequence is aspirational at present. Also aspirational is using the intended types of gradients. 

FSAPT0/junccpvdz procedure for methane dimer 

SCF DZ allene geometry optimization, with Cartesian input, first in c2v symmetry, then in Cs symmetry from a starting point with a nonlinear central bond angle. 

Single point gradient of 12B2 state of H2O+ with EOMCCSD 

BH single points, checking that program can run multiple instances of DETCI in a single input, without an intervening clean() call 

RHFODC12 analytic gradient computations for H2O use AO_BASIS=DISK and AO_BASIS=NONE, respectively. RHFODC06 analytic gradient computations for H2O use AO_BASIS=DISK and AO_BASIS=NONE, respectively. 

OMP2 ccpVDZ energy for the H2O molecule. 

Various gradients for a strained helium dimer and water molecule 

SAPT0 augccpVDZ computation of the waterwater interaction energy, using the three SAPT codes. 

CC3(UHF)/ccpVDZ H2O \(R_e\) geom from Olsen et al., JCP 104, 8007 (1996) 

SAPT0(ROHF) openshell computation of CN  Ne interaction energy First with junccpVDZ and density fitted integrals with ROHF Then with ccpVDZ and direct integrals, except for dispersion that is computed with ccpVDZri density fitting with ROHF. 

DSDPBEP86 S22 Ammonia test 

OMP2 ccpVDZ energy for the NO radical 

SCF with various combinations of pk/densityfitting, castup/nocastup, and spherical/cartesian settings. Demonstrates that puream setting is getting set by orbital basis for all df/castup parts of calc. Demonstrates that answer doesn’t depend on presence/absence of castup. Demonstrates (by comparison to castup2) that output file doesn’t depend on options (scf_type) being set global or local. This input uses local. 

Compute the dipole polarizability for water with custom basis set. 

Test if the the guess read in the same basis converges. 

SCF level shift on a UHF computation 

Convergence of manybody gradients of different BSSE schemes 

OMP3 ccpVDZ energy for the H2O molecule 

DFCCSD ccpVDZ gradients for the H2O molecule. 

Triple and Singlet Oxygen energy SOSCF, also tests nonsymmetric density matrices 

RHF interaction energies using nbody and cbs parts of the driver Ne dimer with mp2/v[dt]z + d:ccsd(t)/vdz 

check nonphysical masses possible 

SCF level shift on a CUHF computation 

Analytic SVWN frequencies, compared to finite difference values 

RHF Density Matrix basedIntegral Screening Test for water 

Omega optimization for LRC functional wB97 on water 

MBIS calculation on OH (Expanded Arrays) 

Tests the Psi4 SFSAPT code 

RHFCCSD(T) ccpVQZ frozencore energy of the BH molecule, with Cartesian input. After the computation, the checkpoint file is renamed, using the PSIO handler. 

EOMCC3(ROHF) on CH radical with userspecified basis and properties for particular root 

DFCCD ccpVDZ energy for the H2O molecule. 

Tests analytic CC2 gradients 

DFOMP3 ccpVDZ energy for the H2O+ cation 

MP2.5 ccpVDZ gradient for the NO radical 

OLCCD ccpVDZ energy for the H2O molecule. 

FSAPT with external charge on dimer 

SAPT calculation on bimolecular complex where monomers are unspecified so driver autofragments it. Basis set and auxiliary basis sets are assigned by atom type. 

CI/MCSCF ccpvDZ properties for Potassium nitrate (rocket fuel!) 

DFOMP2.5 ccpVDZ gradients for the H2O+ cation. 

Extrapolated water energies  densityfitted version 

density fitted OOREMP/ccpVDZ engrad single points for the H2O+ molecule. 

Test of the superposition of atomic densities (SAD) guess, using a highly distorted water geometry with a ccpVDZ basis set. This is just a test of the code and the user need only specify guess=sad to the SCF module’s (or global) options in order to use a SAD guess. The test is first performed in C2v symmetry, and then in C1. 

A rangeseperated gradient for SO2 to test disk algorithms by explicitly setting low memory 

Computation of VMFCcorrected water trimer Hessian (geometry from J. Chem. Theory Comput. 11, 21262136 (2015)) 

Check flavors of B3LYP (b3lyp3/b3lyp5) against other programs 

Computation of VMFCcorrected HF dimer Hessian 

Tests RHF CCSD(T)gradients 

OMP2 ccpVDZ gradient for the NO radical 

Test of the superposition of atomic densities (SAD) guess, using a highly distorted water geometry with a ccpVDZ basis set. This is just a test of the code and the user need only specify guess=sad to the SCF module’s (or global) options in order to use a SAD guess. The test is first performed in C2v symmetry, and then in C1. 

631G H2O Test FCI Energy Point 

tdcamb3lyp with DiskDF and method/basis specification 

Gradient regularized asymptotic correction (GRAC) test. 

SCF with various combinations of pk/densityfitting, castup/nocastup, and spherical/cartesian settings. Demonstrates that puream setting is getting set by orbital basis for all df/castup parts of calc. Demonstrates that answer doesn’t depend on presence/absence of castup. Demonstrates (by comparison to castup3) that output file doesn’t depend on options (scf_type) being set global or local. This input uses global. 

631G** H2O Test CISD Energy Point 

Sample UHF/631G** CH2 computation 

DF SCF 631G analytical vs finitedifference tests Tests DF UHF hessian code for Ca != Cb 

UHF and ROHF Linear Exchange Algorithm test for benzyl cation 

Tests SCF gradient in the presence of a dipole field 

Check that C++ Molecule class and qcdb molecule class are reading molecule input strings identically 

631G** H2O Test CISD Energy Point with subspace collapse 

RHFCC2LR/STO3G optical rotation of (S)methyloxirane. gauge = both, omega = (589 355 nm) 

RHFEOMCC2/ccpVDZ lowest two states of each symmetry of H2O. 

Test that Python Molecule class processes geometry like psi4 Molecule class. 

Test G2 method for H2O 

Similar to mints2, but using the BSE to specify the basis sets 

This test case shows an example of running the ISAPT0/junccpVDZ computation for 2,4pentanediol (targeting the intramolecular hydrogen bond between the two hydroxyl groups) The SIAO1 link partitioning algorithm is used. 

ROHFCCSD(T) ccpVDZ frozencore energy for the \(^2\Sigma^+\) state of the CN radical, with Cartesian input. 

MkMRCCSD single point. \(^3 \Sigma ^\) O2 state described using the Ms = 0 component of the triplet. Uses ROHF triplet orbitals. 

SOSOMP3 ccpVDZ geometry optimization for the H2O molecule. 

ROHFEOMCCSD/DZ analytic gradient lowest \(^{2}A_1\) excited state of H2O+ (B1 excitation) 

test FCIDUMP functionality for rhf/uhf 

Test SFX2C1e with a static electric field on He augccpVTZ 

DFCCSD(T) ccpVDZ energy for the H2O molecule. 

ROHFCCSD/ccpVDZ \(^{3}B_1\) CH2 geometry optimization via analytic gradients 

Symmetry tests for a range of molecules. This doesn’t actually compute any energies, but serves as an example of the many ways to specify geometries in Psi4. 

Benzene vertical singlettriplet energy difference computation, using the PubChem database to obtain the initial geometry, which is optimized at the HF/STO3G level, before computing single point energies at the RHF, UHF and ROHF levels of theory. 

SAPT2+(3) augccpVDZ computation of the formamide dimer interaction energy, using the augccpVDZJKFIT DF basis for SCF and augccpVDZRI for SAPT. This example uses frozen core as well as MP2 natural orbital approximations. 

OMP2.5 ccpVDZ energy for the H2O molecule. 

Example SAPT computation for ethene*ethine (i.e., ethylene*acetylene), test case 16 from the S22 database 

Test SCF dipole derivatives against old Psi3 reference values 

An example of using BLAS and LAPACK calls directly from the Psi input file, demonstrating 

metaGGA gradients of water and ssh molecules reference gradients updated due to new BraggSlater radii 

MP(n)/augccpVDZ BH Energy Point, with n=219. Compare against M. L. Leininger et al., J. Chem. Phys. 112, 9213 (2000) 

Quick test of external potential in FSAPT (see fsapt1 for a real example) 

MkMRCCSD(T) single point. \(^1A_1\) CH2 state described using the Ms = 0 component of the singlet. Uses RHF singlet orbitals. 

DCT calculation for the triplet O2 using ODC06 and ODC12 functionals. Only simultaneous algorithm is tested. 

OMP2 ccpVDZ energy for the NO molecule. 

SCF STO3G finitedifferences frequencies from gradients for H2O 

Accesses basis sets, databases, plugins, and executables in noninstall locations 

SCF ccpVDZ geometry optimzation, with Zmatrix input 

DFSCF ccpVDZ multipole moments of benzene, up to 7th order and electrostatic potentials evaluated at the nuclear coordinates 

Test LDA stability analysis against QChem. 

DC06, DC12, ODC06 and ODC12 calculation for the He dimer. This performs a simultaneous update of the orbitals and cumulant, using DIIS extrapolation. Fourvirtual integrals are handled in the MO Basis. 

SCF/ccpVDZ optimization example with frozen cartesian 

SCF level shift on an RKS computation 

RHFCCSD 631G** allelectron optimization of the H2O molecule 

CC2(RHF)/ccpVDZ energy of H2O. 

Example potential energy surface scan and CPcorrection for Ne2 

Test FNOQCISD(T) computation 

Fractional occupation with symmetry 

TDHF test variable access 

631G** H2O+ Test CISD Energy Point 

Multilevel computation of water trimer energy (geometry from J. Chem. Theory Comput. 11, 21262136 (2015)) 

Tests CAM gradients with and without XC pieces to narrow grid error 

Example of stateaveraged CASSCF for the C2 molecule 

DFT Functional Test 

ROHF and UHFBCCD(T)/ccpVDZ \(^{3}B_1\) CH2 singlepoint energy (fzc, MObasis \(\langle abcd \rangle\) ) 

test scf castup with custom basis sets 

A demonstration of mixed Cartesian/ZMatrix geometry specification, using variables, for the benzenehydronium complex. Atoms can be placed using ZMatrix coordinates, whether they belong to the same fragment or not. Note that the Cartesian specification must come before the ZMatrix entries because the former define absolute positions, while the latter are relative. 

DFMP2 ccpVDZ frozen core gradient of benzene, computed at the DFSCF ccpVDZ geometry 

DFOMP2.5 ccpVDZ energy for the H2O molecule. 

CCSD/sto3g optical rotation calculation (both gauges) at two frequencies on methyloxirane 

Test individual integral objects for correctness. 

DFT custom functional test 

LCCD ccpVDZ gradient for the H2O molecule. 

RHFCCSD/ccpVDZ energy of H2O partitioned into pair energy contributions. 

DFMP2 frequency by difference of energies for H2O 

Secondorder SCF convergnece: Benzene 

SCF 631G(d) optimization of TS for HCN to HNC Performs finite difference hessian calculation. Then optimizes using previous orbitals for scf guess, in subsequent calculations. The last two displacements of the hessian break the plane of symemtry, This test confirms that only the reference geometry, with the correct symmetry, writes orbitals to disk. SCF will fail (ValidationError) otherwise. 

RHF 631G** energy of water, using the MCSCF module and Zmatrix input. 

Matches Table II aCCSD(T)/ccpVDZ H2O @ 2.5 * Re value from Crawford and Stanton, IJQC 98, 601611 (1998). 

CASSCF/631G** energy point 

Lithium test for coverage 

OLCCD ccpVDZ energy with ROHF initial guess for the NO radical 

MP2 ccpVDZ gradient for the H2O molecule. 

Density fitted MP2 energy of H2, using density fitted reference and automatic looping over ccpVDZ and ccpVTZ basis sets. Results are tabulated using the built in table functions by using the default options and by specifiying the format. 

SCF ccpVDZ geometry optimzation of ketene, starting from bent structure 

conventional and densityfitting mp2 test of mp2 itself and setting scsmp2 

631G** H2O Test CISD Energy Point 

SAPT0 augccpVTZ computation of the charge transfer energy of the water dimer. 

DCT calculation for the HF+ using DC06 functional. This performs both twostep and simultaneous update of the orbitals and cumulant using DIIS extrapolation. Fourvirtual integrals are first handled in the MO Basis for the first two energy computations. In the next two the ao_basis=disk algorithm is used, where the transformation of integrals for fourvirtual case is avoided. The computation is then repeated using the DC12 functional with the same algorithms. 

Electrostatic potential and electric field evaluated on a grid around water. 

SAPT2+3(CCD) augccpVDZ+midbond computation of the water dimer interaction energy, using the augccpVDZJKFIT DF basis for SCF and augccpVDZRI for SAPT. 

Allelectron MP2 631G** geometry optimization of water 

SAPT0 ccpVDZ computation of the etheneethyne interaction energy, using the ccpVDZJKFIT RI basis for SCF and ccpVDZRI for SAPT. Monomer geometries are specified using Cartesian coordinates. 

tdwb97x excitation energies of singlet states of h2o, wfn passing 

DFT Functional Test 

OMP2 ccpVDZ energy for the NO molecule. 

ADIIS test case, from 10.1063/1.3304922 

Triple and Singlet Oxygen energy SOSCF, also tests nonsymmetric density matrices 

Benzene Dimer OutofCore HF/ccpVDZ 

FSAPT with external charge on trimer 

CCSD/ccpVDZ optical rotation calculation (length gauge only) on Zmat H2O2 

MP2 with a PBE0 reference computation 

DFT Functional Test all values update for new BraggSlater radii 

DFMP2 frequency by difference of energies for H2O 

Sample HF/ccpVDZ H2O computation all derivatives 

manybody different levels of theory on each body of helium tetramer 

Maximum Overlap Method (MOM) Test. MOM is designed to stabilize SCF convergence and to target excited Slater determinants directly. 

MP2 ccpVDZ gradient for the NO radical 

This test case shows an example of running and analyzing a difference FSAPT0/junccpvdz procedure for phenol dimer from the S22 database. 

ROHFEOMCCSD/DZ on the lowest two states of each irrep in \(^{3}B_1\) CH2. 

tduhf test on triplet states of methylene (rpa) 

OMP3 ccpVDZ gradient for the H2O molecule. 

HF/ccpVDZ many body energies of an arbitrary noble gas trimer complex Size vs cost tradeoff is rough here 

OMP2 ccpVDZ energy for the H2O molecule. 

Advanced python example sets different sets of scf/postscf conv crit and check to be sure computation has actually converged to the expected accuracy. 

OMP2.5 ccpVDZ gradient for the NO radical 

testing aligner on enantiomers based on Table 1 of 10.1021/ci100219f aka J Chem Inf Model 2010 50(12) 21292140 

Test of the superposition of atomic densities (SAD) guess, using a highly distorted water geometry with a ccpVDZ basis set. This is just a test of the code and the user need only specify guess=sad to the SCF module’s (or global) options in order to use a SAD guess. The test is first performed in C2v symmetry, and then in C1. 

Compute the IRC for HOOH torsional rotation at the RHF/DZP level of theory. 

Various constrained energy minimizations of HOOH with ccpvdz RHF. Cartesiancoordinate constrained optimizations of HOOH in internals. 

DFCCSD(T) ccpVDZ gradient for the NH molecule. 

Cholesky decomposed REMP/ccpVDZ energies for the CH3 radical 

SCF DZ finite difference frequencies by energies for C4NH4 

DFT (hybrids) test of implementations in: hybrid_superfuncs.py 

MkMRCCSD(T) single point. \(^1A_1\) CH2 state described using the Ms = 0 component of the singlet. Uses RHF singlet orbitals. 

CCSD/ccpVDZ dipole polarizability at two frequencies 

MBIS calculation on H2O 

RHF ccpVDZ energy for water, automatically scanning the symmetric stretch and bending coordinates using Python’s builtin loop mechanisms. The geometry is specified using a Zmatrix with variables that are updated during the potential energy surface scan, and then the same procedure is performed using polar coordinates, converted to Cartesian coordinates. 

Database calculation, so no molecule section in input file. Portions of the full databases, restricted by subset keyword, are computed by sapt0 and dfmp2 methods. 

631G** H2O+ Test CISD Energy Point 

CC3(ROHF)/ccpVDZ H2O \(R_e\) geom from Olsen et al., JCP 104, 8007 (1996) 

RHF augccpVQZ energy for the BH molecule, with Cartesian input. Various gradients for a strained helium dimer and water molecule 

MP2/augccpv[DT]Z many body energies of an arbitrary Helium complex Size vs cost tradeoff is rough here 

631G** H2O Test RASSCF Energy Point will default to only singles and doubles in the active space 

CCSD Response for H2O2 

An example of using BLAS and LAPACK calls directly from the Psi input file, demonstrating matrix multiplication, eigendecomposition, Cholesky decomposition and LU decomposition. These operations are performed on vectors and matrices provided from the Psi library. 

Test of SFX2C1e on water uncontracted ccpVDZDK The reference numbers are from Lan Cheng’s implementation in Cfour 

updated dldf reference to new BraggSlater radii Dispersionless density functional (dlDF+D) internal match to Psi4 Extensive testing has been done to match supplemental info of Szalewicz et. al., Phys. Rev. Lett., 103, 263201 (2009) and Szalewicz et. al., J. Phys. Chem. Lett., 1, 550555 (2010) 

MP3 ccpVDZ gradient for the H2O molecule. 

WaterArgon complex with ECP present; check of energies and forces. 

RKS Linear Exchange Algorithm test for benzene 

SAPT(DFT) augccpVDZ interaction energy between Ne and Ar atoms. 

CASSCF/631G** energy point 

mtd/basis syntax examples 

comparison of DFMP2 and DLPNOMP2 with a cartesian basis set 

This test case shows an example of running the ISAPT0/junccpVDZ computation for 2,4pentanediol (targeting the intramolecular hydrogen bond between the two hydroxyl groups) The SIAO1 link partitioning algorithm is used. An FSAPT partitioning follows ISAPT. 

OMP2 ccpVDZ energy with ROHF initial guess orbitals for the NO radical 

DFT JK ondisk test 

RHF orbitals and density for water. 

Extrapolated energies with delta correction 

CASSCF/631G** energy point 

UHFCCSD(T) ccpVDZ frozencore energy for the \(^2\Sigma^+\) state of the CN radical, with Zmatrix input. 

DFCCSD ccpVDZ gradients for the H2O molecule. 

Tests SAPT0D corrections, with a variety of damping functions/parameters 

density fitted OOREMP/ccpVDZ engrad single points for the H2O molecule. 

DF SCF 631G UHFl vs RHF test Tests DF UHF hessian code for Ca = Cb 

He Dimer VV10 functional test. notes: DFT_VV10_B/C overwrites the NL_DISPERSION_PARAMETERS tuple updated ‘bench’ reference values for new BraggSlater radii. 

Unrestricted DFDCT ODC12 gradient for O2 with ccpVTZ/ccpVTZRI standard/auxiliary basis set 

DFOMP3 ccpVDZ gradients for the H2O+ cation. 

Single point energies of multiple excited states with EOMCCSD 

Test QCISD(T) for H2O/ccpvdz Energy 

DFMP2 ccpVDZ gradients for the H2O molecule. 

WaterArgon complex with ECP present; check of RHF Hessian 

Check that basis sets can be input with explicit angular momentum format 

MBIS calculation on OH radical 

DFACCSD(T) ccpVDZ energy for the NH molecule. 

Test case for Binding Energy of C4H5N (Pyrrole) with CO2 using MP2/def2TZVPP 

RISCF ccpVTZ energy of water, with Zmatrix input and ccpVTZRI auxilliary basis. 

MkMRCCSD(T) single point. \(^1A_1\) CH2 state described using the Ms = 0 component of the singlet. Uses RHF singlet orbitals. 

Analytic vs. finite difference DFSCF frequency test for water. 

DFCCSD(T) ccpVDZ energy for the NH molecule. 

UHFCCSD(T) ccpVDZ frozencore energy for the \(^2\Sigma^+\) state of the CN radical, with Zmatrix input. 

density fitted REMP/ccpVDZ energies for the CH3 radical 

A general test of the MintsHelper function 

Restricted DFDCT ODC12 gradient for ethylene with ccpVDZ/ccpVDZRI standard/auxiliary basis set 

H2 with tiny basis set, to test basis set parser’s handling of integers 

check that methods can act on single atom 

Compute three IP and 2 EA’s for the PH3 molecule 

Cholesky decomposed REMP/ccpVDZ energies for the CO2 molecule. 

Various extrapolated optimization methods for the H2 molecule 

LCCD ccpVDZ gradient for the NO radical 

CC3/ccpVDZ H2O \(R_e\) geom from Olsen et al., JCP 104, 8007 (1996) 

tdcamb3lyp with DiskDF and method/basis specification 

OMP2 ccpVDZ energy for the NO molecule. 

UHFCCSD/ccpVDZ \(^{3}B_1\) CH2 geometry optimization via analytic gradients 

CASSCF/631G** energy point 

UHFCCSD(T)/ccpVDZ \(^{3}B_1\) CH2 geometry optimization via analytic gradients 

optimization with method defined via cbs 

OMP3 ccpCVDZ energy with ROHF initial guess for the NO radical 

Kr–Kr nocp energies with allelectron basis set to check frozen core 

force occupations in scf 

density fitted OOREMP/ccpVDZ engrad single points for the H2O+ molecule. 

Doublehybrid density functional B2PYLP. Reproduces portion of Table I in S. Grimme’s J. Chem. Phys 124 034108 (2006) paper defining the functional. 

RHF CCSD(T) ccpVDZ frozencore energy of C4NH4 Anion 

EDIIS test case from 10.1063/1.1470195 

SAPT0 openshell computation of H2OHO2 interaction energy First with ccpVDZ and density fitted integrals with UHF Then with 631g and direct integrals, except for dispersion that is computed with ccpVDZri density fitting with UHF. 

This is a shorter version if isapt1  does not do cube plots. See isapt1 for full details 

DFCCSD ccpVDZ energy for the H2O molecule. 

Vibrational and thermo analysis of water trimer (geometry from J. Chem. Theory Comput. 11, 21262136 (2015)) 

631G H2O Test for coverage 

comparison of DFMP2 and DLPNOMP2 

631G** UHF CH2 3B1 optimization. Uses a ZMatrix with dummy atoms, just for demo and testing purposes. 

NeXe dimer MP2 energies with ECP, with electrons correlated then frozen. 

SAPT(DFT) augccpVDZ interaction energy between Ne and Ar atoms. 

MBIS calculation on NaCl 

H2O CISD/631G** Optimize Geometry by Energies 

DFMP2 ccpVDZ gradient for the NO molecule. 

DFOMP3 ccpVDZ gradients for the H2O molecule. 

OMP2 ccpVDZ energy for the H2O molecule. 

Various basis set extrapolation tests 

Various DCT analytic gradients for the O2 molecule with 631G basis set 

SCF/sto3g optimization with a hessian every step 

The multiple guesses for DCT amplitudes for ODC12. 

MOM excitation from LUMO HOMO+3 

This test case shows an example of running and analyzing an FISAPT0/junccpvdz computation for 2,4pentanediol (targeting the intramolecular hydrogen bond between the two hydroxyl groups) 

DFCCSD(AT) ccpVDZ energy for the H2O molecule. 

Example of stateaveraged CASSCF for the C2 molecule see C. D. Sherrill and P. Piecuch, J. Chem. Phys. 122, 124104 (2005) 

This checks that all energy methods can run with a minimal input and set symmetry. 

Generation of NBO file 

reproduces dipole moments in J.F. Stanton’s “biorthogonal” JCP paper 

This test case shows an example of running and analyzing a standard FSAPT0/junccpvdz procedure for phenol dimer from the S22 database. 

CONV SCF 631G analytical vs finitedifference tests Tests UHF hessian code for Ca != Cb 

DFT integral algorithms test, performing wB97 RKS and UKS computations on water and its cation, using all of the different integral algorithms. This tests both the ERI and ERF integrals. 

MBIS calculation on ZnO 

631G** H2O CCSD optimization by energies, with ZMatrix input 

SCF STO3G finitedifference tests 

631G(d) optimization of SF4 starting from linear bond angle that is not linear in the optimized structure but is in a symmetry plane of the molecule. 

Computation of VMFCcorrected water trimer gradient (geometry from J. Chem. Theory Comput. 11, 21262136 (2015)) 

MP2 ccpvDZ properties for Nitrogen oxide 

Test of SFX2C1e on Water uncontracted ccpVDZ The reference numbers are from Lan Cheng’s implementation in Cfour 

File retention, docc, socc, and bond distances specified explicitly. 

DFOMP2 ccpVDZ gradients for the H2O molecule. 

He2+ FCI/ccpVDZ Transition Dipole Moment 

check all variety of options parsing 

Extrapolated water energies  conventional integrals version 

631G* C2 Test RASCI Energy Point, testing two different ways of specifying the active space, either with the ACTIVE keyword, or with RAS1, RAS2, RESTRICTED_DOCC, and RESTRICTED_UOCC 

This test case shows an example of running the ISAPT0/augccpVDZ computation for a positively charged system, illustrating the cationpi interaction. The SIAO1 link partitioning algorithm is used. The system is taken from http://dx.doi.org/10.1016/j.comptc.2014.02.008 

Test fnocc with linear dependencies 

Test method/basis with disk_df 

tduhf test on triplet states of methylene (tda), wfn passing 

Singlepoint gradient, analytic and via finitedifferences of 21A1 state of H2O with EOMCCSD 

EOMCCSD/631g excited state transition data for water with two excited states per irrep 

Density fitted MP2 ccPVDZ/ccpVDZRI computation of formic acid dimer binding energy using automatic counterpoise correction. Monomers are specified using Cartesian coordinates. 

DC06 calculation for the He dimer. This performs a simultaneous update of the orbitals and cumulant, using DIIS extrapolation. Fourvirtual integrals are handled in the AO Basis, using integrals stored on disk. 

Test parsed and exotic calls to energy() like zapt4, mp2.5, and cisd are working 

Frozencore CCSD(T)/ccpVDZ on C4H4N anion with disk ao algorithm 

SCSOMP3 ccpVDZ geometry optimization for the H2O molecule. 

sapt0 of charged system in ECP basis set 

631G** H2O+ Test CISD Energy Point 

integral conventional OOREMP/ccpVDZ engrad single points for the H2O molecule. single point energies were independently checked using the original wavels code 

integral conventional OOREMP/ccpVDZ engrad single points for the H2O molecule. 

Test of SAD/Castup (mainly not dying due to file weirdness) 

Test computing values of basis functions (puream and nonpuream) at points 

OMP2.5 ccpVDZ gradient for the H2O molecule. 

Optimization followed by frequencies H2O HF/ccpVDZ 

DFBP86D2 ccpVDZ frozen core gradient of S22 HCN update ref gradient due to new BraggSlater radii 

SAPT(DFT) augccpVDZ interaction energy between Ne and Ar atoms. 

RHFCC2LR/ccpVDZ dynamic polarizabilities of HOF molecule. 

Restricted DFDCT ODC12 energies with linearly dependent basis functions 

MP2.5 ccpVDZ gradient for the H2O molecule. 

Tests SAPT0D corrections, with a variety of damping functions/parameters 

OMP2 ccpVDZ energy for the H2O molecule. 

DFCCSDL ccpVDZ energy for the H2O molecule. 

Test omega is setable updated wb97x_20,wb97x_03 to account for new BraggSlater radii 

Tests RHF/ROHF/UHF SCF gradients 

ZAPT(n)/631G NH2 Energy Point, with n=225 

OLCCD ccpVDZ gradient for the H2O molecule. 

Test case for some of the PSI4 outofcore codes. The code is given only 2.0 MB of memory, which is insufficient to hold either the A1 or B2 blocks of an ovvv quantity incore, but is sufficient to hold at least two copies of an oovv quantity incore. 

check SP basis Fortran exponent parsing 

EOMCCSD/ccpVDZ on H2O2 with two excited states in each irrep 

External potential calculation involving a TIP3P water and a QM water. Gradient on the external charges is compared to gradient on the QM atoms to validate the gradient on the charges. 

Cholesky decomposed OOREMP/ccpVDZ energy for the H2O molecule. 

DFCCSD(T) ccpVDZ gradients for the H2O molecule. 

RHFCCSD(T) ccpVQZ frozencore energy of the BH molecule, with Cartesian input. This version tests the FROZEN_DOCC option explicitly 

Test Gibbs free energies at 298 K of N2, H2O, and CH4. 

MBIS calculation on H2O 

MkMRCCSD single point. \(^3 \Sigma ^\) O2 state described using the Ms = 0 component of the triplet. Uses ROHF triplet orbitals. 

RHFCC2LR/ccpVDZ optical rotation of H2O2. gauge = both, omega = (589 355 nm) 

Test of all different algorithms and reference types for SCF, on singlet and triplet O2, using the ccpVTZ basis set. 

631G H2O Test FCI Energy Point 

OLCCD ccpVDZ energy with B3LYP initial guess for the NO radical 

DCT calculation for the triplet O2 using DC06 and DC12. Only twostep algorithm is tested. 

SCF level shift on an ROHF computation 

Patch of a glycine with a methyl group, to make alanine, then DFSCF energy calculation with the ccpVDZ basis set 

RHFCC2LR/ccpVDZ static polarizabilities of HOF molecule. 

This checks that all energy methods can run with a minimal input and set symmetry. 

apply linear fragmentation algorithm to a water cluster 

631G(d) optimization of SF4 starting from linear bond angle that is not linear in the optimized structure but is in a symmetry plane of the molecule. 

Superficial test of PubChem interface 

test roundtripness of dict repr for psi4.core.Molecule and qcdb.Molecule 

ROHF stability analysis check for CN with ccpVDZ. This test corresponds to the rohfstab test from Psi3. 

RASCI/631G** H2O Energy Point 

SCF STO3G geometry optimzation, with Zmatrix input 

Tests OMP2 gradient in the presence of a dipole field 

wB97XD ccpVDZ gradient of S22 HCN update df/pk_ref values due to new BraggSlater radii 

Extrapolated water energies 

SAPT(DFT) augccpVDZ computation for the water dimer interaction energy. 

checks that all SAPT physical components (elst, exch, indc, disp) and total IE are being computed correctly for SAPT2+3(CCD)dMP2/augccpvdz and all lesser methods thereof. 

ROHFEOMCCSD/DZ analytic gradient lowest \(^{2}B_1\) state of H2O+ (A1 excitation) 

Frozencore CCSD(ROHF)/ccpVDZ on CN radical with diskbased AO algorithm 

Computation of CPcorrected water trimer gradient (geometry from J. Chem. Theory Comput. 11, 21262136 (2015)) 

SCF DZ allene geometry optimzation, with Cartesian input 

Test of SFX2C1e on Water ccpVDZDK. In this test the Dirac equation is solved in the uncontracted ccpVDZDK basis. The reference numbers are from Lan Cheng’s implementation in Cfour 

SAPT(DFT) augccpVDZ interaction energy between Ne and Ar atoms. 

This checks that all energy methods can run with a minimal input and set symmetry. 

MkMRCCSD(T) single point. \(^1A_1\) O$_3` state described using the Ms = 0 component of the singlet. Uses TCSCF orbitals. 

Sample UHF/ccpVDZ H2O computation on a doublet cation, using RHF/ccpVDZ orbitals for the closedshell neutral as a guess 

MkMRCCSD frequencies. \(^1A_1\) O$_3` state described using the Ms = 0 component of the singlet. Uses TCSCF orbitals. 

Test SAD SCF guesses on noble gas atom 

apply linear fragmentation algorithm to a water cluster 

Tests to determine full point group symmetry. Currently, these only matter for the rotational symmetry number in thermodynamic computations. 

External potential calculation with one Ghost atom and one point charge at the same position. 

A very quick correctness test of FSAPT (see fsapt1 for a real example) 

Spinrestricted DC06 counterpart of dct1. 

Optimize H2O HF/ccpVDZ 

MkMRPT2 single point. \(^1A_1\) F2 state described using the Ms = 0 component of the singlet. Uses TCSCF singlet orbitals. 

ROHFCCSD(T) ccpVDZ energy for the \(^2\Sigma^+\) state of the CN radical, with Zmatrix input. 

tdwb97x singlet excitation energies of methylene (tda) 

check that CC is returning the same values btwn CC*, FNOCC, and DFOCC modules 

DFCCDL ccpVDZ energy for the H2O molecule. 

DFSCF ccpVDZ of benzenehydronium ion, scanning the dissociation coordinate with Python’s builtin loop mechanism. The geometry is specified by a Zmatrix with dummy atoms, fixed parameters, updated parameters, and separate charge/multiplicity specifiers for each monomer. Oneelectron properties computed for dimer and one monomer. 

Ne atom RASCI/ccpVQZ Example of splitvirtual CISD[TQ] from Sherrill and Schaefer, J. Phys. Chem. XXX This uses a “primary” virtual space 3s3p (RAS 2), a “secondary” virtual space 3d4s4p4d4f (RAS 3), and a “tertiary” virtual space consisting of the remaining virtuals. First, an initial CISD computation is run to get the natural orbitals; this allows a meaningful partitioning of the virtual orbitals into groups of different importance. Next, the RASCI is run. The splitvirtual CISD[TQ] takes all singles and doubles, and all triples and quadruples with no more than 2 electrons in the secondary virtual subspace (RAS 3). If any electrons are present in the tertiary virtual subspace (RAS 4), then that excitation is only allowed if it is a single or double. 

comparison of DFMP2 and DLPNOMP2 with a CBS extrapolation 

Test FNODFCCSD(T) energy 

EOMCC3(UHF) on CH radical with userspecified basis and properties for particular root 

SCF ccpVTZ geometry optimzation, with Zmatrix input 

ROHF frontier orbitals of CH2(s) and CH2(t). 

MP2/augccpvDZ many body energies of an arbitrary Helium complex, addressing 4body formulas 

SAPT0 with S^inf exchdisp20 

integral conventional unrestricted REMP/ccpVDZ energies for the H2O+ molecule. results were independently verified against the initial wavels implementation 

OMP2.5 ccpVDZ energy for the H2O molecule. 

Patch of a glycine with a methyl group, to make alanine, then DFSCF energy calculation with the ccpVDZ basis set 

Cholesky filter a complete basis 

ccpvdz H2O Test coupledpair CISD against DETCI CISD 

DFBP86D2 ccpVDZ frozen core gradient of S22 HCN updated ref gradient due to new BraggSlater radii 

Transitionstate optimizations of HOOH to both torsional transition states. 