Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Excited states solver #437

Draft
wants to merge 25 commits into
base: master
Choose a base branch
from

Conversation

Gabrielgerez
Copy link
Contributor

@Gabrielgerez Gabrielgerez commented Nov 10, 2022

Implementing the Excited states solver. This is a re-make of #395 with better structure and is rebased on the changes introduced in #435, which needs to be merged before this one.
I have Created an additional class called ExcitedStatesSolver to solve for the excited states.
The functionality of this class is very similar to LinearResponseSolver so we might consider adding the excited states solver in the LinearResponseSolver in the future, or creating an entirely new class to hold different response solvers, or the future, HigherOrderResponseSolver.

TODO:

  • Have a working TDA single state implementation.
  • Update frequencies through the integral equation, still only TDA.
  • Extend to multiple states and consider no coupling between states.
  • Have a proper input section for the calculation
  • Extend to RPA.
  • Clean-up and refactoring
  • Form and solve the generalized eigenvalue problem.

First step is almost ready as I create this draft PR.

@Gabrielgerez Gabrielgerez added the WIP Work in progress label Nov 10, 2022
@Gabrielgerez Gabrielgerez mentioned this pull request Nov 10, 2022
@Gabrielgerez Gabrielgerez force-pushed the excited_states_solver branch 2 times, most recently from 54e1aba to 3c2fbda Compare November 24, 2022 14:48
@Gabrielgerez
Copy link
Contributor Author

Gabrielgerez commented Nov 24, 2022

the latest commit introduces a bug, but commit edc857f will compute single excited states given a proper initial guess

@codecov
Copy link

codecov bot commented Dec 7, 2022

Codecov Report

Patch coverage: 31.04% and project coverage change: -1.34 ⚠️

Comparison is base (57b33fb) 70.00% compared to head (0bf26fe) 68.67%.

❗ Current head 0bf26fe differs from pull request most recent head 15b7814. Consider uploading reports for the commit 15b7814 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #437      +/-   ##
==========================================
- Coverage   70.00%   68.67%   -1.34%     
==========================================
  Files         183      185       +2     
  Lines       15593    15792     +199     
==========================================
- Hits        10916    10845      -71     
- Misses       4677     4947     +270     
Impacted Files Coverage Δ
src/qmoperators/two_electron/ExchangePotentialD2.h 50.00% <ø> (ø)
src/scf_solver/ExcitedStatesSolver.cpp 0.00% <0.00%> (ø)
src/scf_solver/ExcitedStatesSolver.h 0.00% <0.00%> (ø)
src/driver.cpp 67.12% <51.74%> (-5.49%) ⬇️
...c/qmoperators/two_electron/ExchangePotentialD2.cpp 44.55% <58.33%> (-1.00%) ⬇️
src/scf_solver/GroundStateSolver.cpp 88.70% <62.50%> (-0.24%) ⬇️
...rc/qmoperators/two_electron/CoulombPotentialD2.cpp 53.84% <66.66%> (-1.71%) ⬇️
src/qmfunctions/density_utils.cpp 95.16% <70.00%> (-0.71%) ⬇️
src/chemistry/Molecule.cpp 71.03% <100.00%> (+3.38%) ⬆️
src/chemistry/Molecule.h 86.20% <100.00%> (+0.49%) ⬆️
... and 5 more

... and 30 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@Gabrielgerez Gabrielgerez force-pushed the excited_states_solver branch from 59b6fb1 to 00d1998 Compare January 19, 2023 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
WIP Work in progress
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant