compare_wavefunctions

psi4.driver.compare_wavefunctions(expected, computed, digits=9, label='Wavefunctions equal')[source]

Function to compare two wavefunctions. Prints util.success() when value computed matches value expected. Performs a system exit on failure. Used in input files in the test suite.