Skip to content
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
ceriottm wants to merge 24 commits intomasterfrom
clean-hamiltonian
Open

Use general ACDC iteration to build Hamiltonian models#5
ceriottm wants to merge 24 commits intomasterfrom
clean-hamiltonian

Conversation

@ceriottm
Copy link
Copy Markdown
Collaborator

Deprecate specialized Hamiltonian / pair features building infrastructure, and use generic CG iterations to construct features and models. Great example of equistore usage.

@ceriottm ceriottm requested review from DivyaSuman14 and Luthaf July 11, 2022 10:18
@ceriottm
Copy link
Copy Markdown
Collaborator Author

Nice to have before merging:

  • Make sure there is no corner case from pair_features we don't cover and remove utils/pair_features
  • Clean up hamiltonian_model_utils.py (perhaps giving a more concise name) adding also a straight-to-eigenvalues model wrapper.

feature_names=None,
clebsch_gordan=None,
lcut=None,
other_keys_match=None,
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this could be an assert

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants