-
Notifications
You must be signed in to change notification settings - Fork 31
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
FCI and GENCI initial core guess determinants for Davidson-Liu solver #377
Open
marink2
wants to merge
16
commits into
evangelistalab:main
Choose a base branch
from
marink2:pr-stage
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 15 commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
f7e0344
dl initial core guess det
marink2 60b7d8e
profiling fci string
e891a28
dl initial core guess det for FCI module
96e970b
state specific core_guess option
bcf73ed
removed core guess for detci
5c1656a
Merge branch 'core-dl'
8a947a1
core guess for genci
901d81a
core tests and fixes
1fbb90f
Merge branch 'core-dl'
759b538
pull ready
marink2 bb1db16
documentation
a51f901
Merge branch 'core-dl' into pr-stage
992fab9
code cleanup
4f81d37
Merge branch 'core-dl' into pr-stage
e2af024
pr changes
814d664
code formating
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# LiH 6-31g basis FCI core excited roots | ||
import forte | ||
|
||
refscf = -7.9791777935853290 | ||
reffci = -5.851395993559 | ||
reffci_avg = -5.5360452551438 | ||
|
||
molecule { | ||
0 1 | ||
Li | ||
H 1 R | ||
|
||
R = 3.0 | ||
units bohr | ||
} | ||
|
||
set { | ||
basis 6-31g | ||
scf_type pk | ||
e_convergence 12 | ||
} | ||
|
||
set forte { | ||
active_space_solver genci | ||
dl_core_initial_guess 1 | ||
} | ||
|
||
energy('scf') | ||
compare_values(refscf, variable("CURRENT ENERGY"),11, "SCF energy") #TEST | ||
|
||
energy('forte') | ||
compare_values(reffci, variable("CURRENT ENERGY"),11, "FCI energy") #TEST | ||
|
||
set forte { | ||
active_space_solver genci | ||
avg_state [[1,1,3]] | ||
dl_core_initial_guess [1] | ||
} | ||
|
||
energy('forte') | ||
compare_values(reffci_avg, variable("CURRENT ENERGY"),11, "FCI avg energy") #TEST |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
repr += "" + std::to_string(core_guess ? 1 : 0);