This repository was archived by the owner on Oct 23, 2023. It is now read-only.
Use general ACDC iteration to build Hamiltonian models#5
Open
Use general ACDC iteration to build Hamiltonian models#5
Conversation
Collaborator
Author
|
Nice to have before merging:
|
Luthaf
reviewed
Jul 15, 2022
| feature_names=None, | ||
| clebsch_gordan=None, | ||
| lcut=None, | ||
| other_keys_match=None, |
Collaborator
There was a problem hiding this comment.
I don't understand what this is doing, could you add a short documentation/explanation?
| k+("_a" if k in other_keys_b else "") for k in other_keys_a if k not in other_keys_match ] + [ | ||
| k+("_b" if k in other_keys_a else "") for k in other_keys_b if k not in other_keys_match ] | ||
|
|
||
| # we assume grad components are all the same |
…amples into clean-hamiltonian
…store-examples into clean-hamiltonian
There was a conceptual bug, which was magically solved by some numpy mystery. New numpy version revealed the error.
This file contains hidden or 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
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Deprecate specialized Hamiltonian / pair features building infrastructure, and use generic CG iterations to construct features and models. Great example of equistore usage.