Skip to content

Commit

Permalink
Fixed test for EA-EOMCCSDt.
Browse files Browse the repository at this point in the history
  • Loading branch information
kgururangan committed Mar 31, 2024
1 parent 9b0f0c1 commit 3a89ccf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/chplus/test_eaeom3a_chplus.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@ def test_eaeom3a_chplus():
driver.run_guess(method="eacisd", multiplicity=-1, nact_occupied=3, nact_unoccupied=8,
roots_per_irrep={"A1": 2, "B1": 2, "B2": 2, "A2": 2})
# Loop over all guess vectors and perform the EA-EOMCSDt calculation
for i in [0, 1, 2, 3, 4, 5, 6, 7]:
for i in [0, 1, 2, 3, 4, 5, 6]:
driver.run_eaeomccp(method="eaeom3_p", state_index=i, r3_excitations=r3_excitations)

#
# Check the results
#
expected_vee = [-0.26354074, -0.22337561, -0.37674145, -0.08128328, -0.37674145, -0.08128328, -0.35640329, -0.24898403]
expected_vee = [-0.26354074, -0.22337561, -0.37674145, -0.08128328, -0.37674145, -0.08128328, -0.35640329]
for i, vee in enumerate(expected_vee):
assert np.allclose(driver.vertical_excitation_energy[i], vee)

Expand Down

0 comments on commit 3a89ccf

Please sign in to comment.