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 

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

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. 

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

comparison of DFMP2 and DLPNOMP2 with a CBS extrapolation 

631G H2O Test FCI Energy Point 

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

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

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

DFCCD ccpVDZ energy for the H2O molecule. 

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

DFCCSDL ccpVDZ energy for the H2O molecule. 

DFOMP3 ccpVDZ gradients for the H2O molecule. 

Test FNODFCCSD(T) energy 

631G H2O Test for coverage 

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

Single point energies of multiple excited states with EOMCCSD 

LCCD ccpVDZ gradient for the H2O molecule. 

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

SCF STO3G geometry optimzation, with Zmatrix input 

OMP2 ccpVDZ energy for the H2O molecule. 

RHF orbitals and density for water. 

CASSCF/631G** energy point 

631G** H2O Test CISD Energy Point 

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

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

DFMP2 ccpVDZ gradients for the H2O molecule. 

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. 

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. 

sapt example with orbital freezing with alkali metal and dMP2 

Cholesky decomposed REMP/ccpVDZ energies for the CO2 molecule. 

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

DFOMP3 ccpVDZ energy for the H2O molecule. 

FSAPT with external charge on dimer 

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

RHF CCSD(T) ccpVDZ frozencore energy of C4NH4 Anion 

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

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

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

DSDPBEP86 S22 Ammonia test 

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

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

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

CCSD dipole with userspecified basis set 

sapt0 of charged system in ECP basis set 

Generation of NBO file 

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

Numpy interface testing 

MOM excitation from LUMO HOMO+4 

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

tdwb97x excitation energies of singlet states of h2o, wfn passing 

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

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

RHFCC2LR/ccpVDZ dynamic polarizabilities of HOF molecule. 

MBIS calculation on ZnO 

Lithium test for coverage 

631G H2O Test FCI Energy Point 

RHF orbitals and density for water. 

SCF DZ finite difference frequencies by gradients for C4NH4 

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

Various gradients for a strained helium dimer and water 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. 

MBIS calculation on NaCl 

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

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

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

631G H2O Test FCI Energy Point 

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

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

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

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

SCF level shift on a CUHF computation 

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

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

EOMCCSD/631g excited state transition data for water cation 

Tests analytic CC2 gradients 

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

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. 

Fractional occupation with symmetry 

DFOMP3 ccpVDZ energy for the H2O+ cation 

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! 

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

MBIS calculation on OH radical 

RKS Density Matrix basedIntegral Screening Test for benzene 

tdwb97x singlet excitation energies of methylene (tda) 

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

SCF STO3G finitedifferences frequencies from gradients for H2O 

A general test of the MintsHelper function 

Various extrapolated optimization methods for the H2 molecule 

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

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

SCF/sto3g optimization with a hessian every step 

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

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

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

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

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

DFT Functional Smoke Test 

RHFCCSD 631G** allelectron optimization of the H2O molecule 

UHF Dipole Polarizability Test 

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

MP2 ccpVDZ gradient for the NO radical 

OLCCD ccpVDZ gradient for the NO radical 

MBIS calculation on OH (Expanded Arrays) 

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) 

DFCCSD(T) ccpVDZ gradients for the H2O molecule. 

Cholesky decomposed OOREMP/ccpVDZ energy for the H2O molecule. 

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

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

631G** H2O+ Test CISD Energy Point 

SCF STO3G geometry optimzation, with Zmatrix input, by finitedifferences 

EDIIS test case from 10.1063/1.1470195 

BHH2+ FCI/ccpVDZ Transition Dipole Moment 

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

force occupations in scf 

631G** H2O+ Test CISD Energy Point 

CASSCF/631G** energy point 

ccpvdz H2O Test CEPA(1) Energy 

DFCCSD ccpVDZ gradients for the H2O molecule. 

OMP3 ccpCVDZ energy with ROHF initial guess for the NO radical 

SOSOMP2 ccpVDZ geometry optimization for the H2O molecule. 

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. 

SCF ccpVTZ geometry optimzation, with Zmatrix input 

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

usapt example with empty beta due to frozen core 

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

DFCCDL ccpVDZ energy for the H2O molecule. 

Omega optimization for LRC functional wB97 on water 

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

RHFCCSDLR/ccpVDZ static polarizability of HOF 

Allelectron MP2 631G** geometry optimization of water 

DFMP2 frequency by difference of energies for H2O 

tduhf test on triplet states of methylene (rpa) 

OMP2 ccpVDZ energy for the H2O molecule. 

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

check all variety of options parsing 

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

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

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

DFT Functional Test for RangeSeperated Hybrids and Ghost atoms 

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

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

Test SCF dipole derivatives against old Psi3 reference values 

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

SAPT0 with S^inf exchdisp20 

Cholesky filter a complete basis 

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

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

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

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

test scf castup with custom basis sets 

optimization with method defined via cbs 

DFMP2 ccpVDZ gradient for the NO molecule. 

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

Various basis set extrapolation tests 

manybody different levels of theory on each body of helium tetramer 

DFACCSD(T) ccpVDZ energy for the NH molecule. 

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

DFMP2 frequency by difference of energies for H2O 

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

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

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

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

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

OLCCD ccpVDZ energy for the H2O molecule. 

MP2 with a PBE0 reference computation 

Test QCISD(T) for H2O/ccpvdz Energy 

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

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

OLCCD ccpVDZ freqs for C2H2 

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

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

Test LDA stability analysis against QChem. 

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

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

apply linear fragmentation algorithm to a water cluster 

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. 

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

FSAPT0/junccpvdz procedure for methane dimer 

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

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

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

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

DFCCSD ccpVDZ gradient for the NH molecule. 

OLCCD ccpVDZ gradient for the H2O molecule. 

FSAPT0/junccpvdz procedure for methane dimer 

DFOMP2.5 ccpVDZ energy for the H2O molecule. 

Cholesky decomposed REMP/ccpVDZ energies for the CH3 radical 

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. 

OMP2.5 ccpVDZ gradient for the H2O molecule. 

check nonphysical masses possible 

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

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. 

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

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

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

OMP3 ccpVDZ gradient for the NO radical 

density fitted REMP/ccpVDZ energies for the CH3 radical 

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

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

Tests RHF CCSD(T)gradients 

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

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

check SP basis Fortran exponent parsing 

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

Example potential energy surface scan and CPcorrection for Ne2 

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

LCCD ccpVDZ gradient for the NO radical 

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

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. 

SCF level shift on an ROHF computation 

DFOMP2.5 ccpVDZ gradients for the H2O+ cation. 

Optimize H2O HF/ccpVDZ 

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

MBIS calculation on H2O 

DFOMP2.5 ccpVDZ energy for the H2O+ cation 

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

RASCI/631G** H2O Energy Point 

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

MP3 ccpVDZ gradient for the NO radical 

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

comparison of DFMP2 and DLPNOMP2 

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

Single point gradient of 11B2 state of H2O with EOMCCSD 

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. 

DFCCSD(T) ccpVDZ gradient for the NH molecule. 

incremental Cholesky filtered SCF 

MOM excitation from LUMO HOMO+3 

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

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. 

Tests SCF gradient in the presence of a dipole field 

Restricted DFDCT ODC12 energies with linearly dependent basis functions 

Extrapolated water energies 

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

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. 

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

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

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

SCF ccpVDZ geometry optimzation of ketene, starting from bent structure 

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

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

MP3 ccpVDZ gradient for the H2O molecule. 

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. 

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

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

OMP2.5 ccpVDZ energy for the H2O molecule. 

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. 

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

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

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

Carbon/UHF FractionallyOccupied SCF Test Case 

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

SCF ccpVDZ geometry optimzation, with Zmatrix input 

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. 

Test G2 method for H2O 

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. 

RHFCC2LR/ccpVDZ static polarizabilities of HOF molecule. 

UFH and B3LYP ccpVQZ properties for the CH2 molecule. 

density fitted REMP/ccpVDZ energies for the CO2 molecule. 

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

mtd/basis syntax examples 

Test method/basis with disk_df 

OMP2 ccpVDZ energy for the H2O molecule. 

Sample HF/ccpVDZ H2O computation 

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

CCSD Response for H2O2 

MP2 ccpvDZ properties for Nitrogen oxide 

OMP2.5 ccpVDZ gradient for the NO radical 

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

DFMP2 ccpVDZ gradient for the NO molecule. 

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

DFCCSD ccpVDZ energy for the H2O molecule. 

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

conventional and densityfitting mp2 test of mp2 itself and setting scsmp2 

DFOMP2 ccpVDZ gradients for the H2O molecule. 

Frequencies for H2O B3LYP/631G* at optimized geometry 

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

MP2.5 ccpVDZ gradient for the H2O molecule. 

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

He2+ FCI/ccpVDZ Transition Dipole Moment 

OMP2 ccpVDZ energy for the NO radical 

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

Analytic vs. finite difference DFSCF frequency test for water. 

Test SFX2C1e with a static electric field on He augccpVTZ 

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

SOSOMP3 ccpVDZ geometry optimization for the H2O molecule. 

SCSOMP3 ccpVDZ geometry optimization for the H2O molecule. 

analog of fsaptextabc with molecule and external potentials in Bohr 

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

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

DFOMP2.5 ccpVDZ gradients for the H2O molecule. 

OMP2.5 ccpVDZ energy for the H2O molecule. 

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 

Tests RHF CCSD(T)gradients 

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

DFT custom functional test 

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

OLCCD ccpVDZ energy with ROHF initial guess for the NO radical 

check distributed driver is correctly passing function kwargs 

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

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

comparison of DFMP2 and DLPNOMP2 with a cartesian basis set 

DFCCSD(AT) ccpVDZ energy for the H2O molecule. 

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

Gradient regularized asymptotic correction (GRAC) test. 

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

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

The multiple guesses for DCT amplitudes for ODC12. 

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. 

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

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

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

Tests the Psi4 SFSAPT code 

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

Extrapolated water energies 

tdcamb3lyp with DiskDF and method/basis specification 

WaterArgon complex with ECP present; check of RHF Hessian 

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. 

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

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

SCF level shift on a UHF computation 

ccpvdz H2O Test ACPF Energy/Properties 

OMP3 ccpVDZ gradient for the H2O molecule. 

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

OMP2 ccpVDZ energy for the NO molecule. 

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

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

OMP2 ccpVDZ energy for the NO molecule. 

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

MP2 ccpVDZ gradient for the H2O molecule. 

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

SCF STO3G finitedifference tests 

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

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

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

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

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) 

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

Computation of VMFCcorrected HF dimer Hessian 

OMP2 ccpVDZ gradient for the H2O molecule. 

Extrapolated water energies  conventional integrals version 

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

DFCCSD ccpVDZ gradients for the H2O molecule. 

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 

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. 

Superficial test of PubChem interface 

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. 

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

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

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

Single point energies of multiple excited states with EOMCCSD 

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

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

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 

SCSOMP2 ccpVDZ geometry optimization for the H2O molecule. 

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. 

usapt example with empty beta 

ADIIS test case, from 10.1063/1.3304922 

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. 

WaterArgon complex with ECP present; check of UHF Hessian 

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. 

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

OMP2 ccpVDZ energy for the H2O molecule. 

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

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

Analytic UKS SVWN frequencies, compared to finite difference values 

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

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

CASSCF/631G** energy point 

check that methods can act on single atom 

Sample UHF/631G** CH2 computation 

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

Test FNOQCISD(T) computation 

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. 

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

Test FNODFCCSD(T) energy 

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

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

CASSCF/631G** energy point 

OMP3 ccpVDZ energy for the H2O molecule 

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

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. 

apply linear fragmentation algorithm to a water cluster 

OMP2 ccpVDZ energy for the NO molecule. 

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

DFT Functional Test 

Tests DFMP2 gradient in the presence of a dipole field 

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. 

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. 

OMP2 ccpVDZ energy for the NO molecule. 

Spinrestricted DC06 counterpart of dct1. 

OMP3 ccpCVDZ energy with B3LYP initial guess for the NO radical 

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

OLCCD ccpVDZ energy with B3LYP initial guess for the NO radical 

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

SCF STO3G finitedifference frequencies from energies for H2O 

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. 

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

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

Test SAD SCF guesses on noble gas atom 

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. 

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

CASSCF/631G** energy point 

SCF DZ allene geometry optimzation, with Cartesian input 

CC2(UHF)/ccpVDZ energy of H2O+. 

DFT Functional Test 

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

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

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

MP2.5 ccpVDZ gradient for the NO radical 

CCSD/ccpVDZ dipole polarizability at two frequencies 

test FCIDUMP functionality for rhf/uhf 

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. 

Benzene Dimer OutofCore HF/ccpVDZ 

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

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. 

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. 

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

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

SCF DZ finite difference frequencies by energies for C4NH4 

RKS Linear Exchange Algorithm test for benzene 

Extrapolated energies with delta correction 

run some BLAS benchmarks 

631G H2O Test FCI Energy Point 

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

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

Optimization followed by frequencies H2O HF/ccpVDZ 

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. 

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

Tests OMP2 gradient in the presence of a dipole field 

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

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

DFCCSD(T) ccpVDZ energy for the NH molecule. 

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

DFT Functional Test all values update for new BraggSlater radii 

Transitionstate optimizations of HOOH to both torsional transition states. 

DFCCSD(T) ccpVDZ energy for the H2O molecule. 

MBIS calculation on H2O 

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

Compute the dipole polarizability for water with custom basis set. 

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

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. 

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

RHF Density Matrix basedIntegral Screening Test for water 

Tests RHF/ROHF/UHF SCF gradients 

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

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

Test fnocc with linear dependencies 

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

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

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. 

Example of stateaveraged CASSCF for the C2 molecule 

Benzene Dimer DFHF/ccpVDZ 

tdcamb3lyp with DiskDF and method/basis specification 

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. 

DFOMP3 ccpVDZ gradients for the H2O+ cation. 

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 

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

Sample HF/ccpVDZ H2O computation all derivatives 

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

Analytic SVWN frequencies, compared to finite difference values 

CC2(RHF)/ccpVDZ energy of H2O. 

631G** H2O+ Test CISD Energy Point 

CASSCF/631G** energy point 

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. 

FSAPT with external charge on trimer 

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

631G** H2O Test CISD Energy Point 

H2O CISD/631G** Optimize Geometry by Energies 

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

OMP2 ccpVDZ gradient for the NO radical 

DFMP2 ccpVDZ gradients 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. 

DFT JK ondisk test 

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

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

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. 

ccpvdz H2O Test coupledpair CISD against DETCI CISD 

TDHF test variable access 

Convergence of manybody gradients of different BSSE schemes 

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

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

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

Secondorder SCF convergnece: Benzene 

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 

UHF and ROHF Linear Exchange Algorithm test for benzyl cation 

SCF/ccpVDZ optimization example with frozen cartesian 

Test individual integral objects for correctness. 

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. 

SCF level shift on an RKS computation 

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

Extrapolated water energies  densityfitted version 

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. 

RHF Linear Exchange Algorithm test for water 

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

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

EOMCC3/ccpVTZ on H2O 