lcmd-epfl / Q-stack

Stack of codes for dedicated pre- and post-processing tasks for Quantum Machine Learning (QML)
MIT License
14 stars 5 forks source link

Implemented atomic representation for a single element type and valence electron only representation #39

Closed YAY-C closed 4 months ago

YAY-C commented 5 months ago
YAY-C commented 5 months ago

I added test units for the developped features within test_spahm_a.py.

YAY-C commented 5 months ago

Sorry forgot to push the test-data, tests should be fine now

YAY-C commented 5 months ago
  1. if in test_water_single_element() remove only_z=['O'] the test still passes

I explicitly check for the array shape within the test, that should fix the issue.

briling commented 5 months ago
  1. if in test_water_single_element() remove only_z=['O'] the test still passes

I explicitly check for the array shape within the test, that should fix the issue.

cool thanks

briling commented 5 months ago

maybe remove the wrong valence only and have it in another pr? if we even need it

YAY-C commented 5 months ago

I also added a few changes to get the ecp parameter from the CLI parser.

I just realized I should do the same for spahm-b, let me know if you want both in a new PR!

And I was thinking maybe in the main() we should enforce and warn about the need for ecp argument when using minao with elements heavier than Y. What do you think?

briling commented 5 months ago

I just realized I should do the same for spahm-b, let me know if you want both in a new PR!

And I was thinking maybe in the main() we should enforce and warn about the need for ecp argument when using minao with elements heavier than Y. What do you think?

yes to both! but yeah probably this ecp stuff should be separate

briling commented 4 months ago

at this point there's so many commits and reverts that I'd squash and merge rather than merge

YAY-C commented 4 months ago

at this point there's so many commits and reverts that I'd squash and merge rather than merge

agreed, "17 commits" sounds too much for so few changes in the end!

I have never done it though, you wan to do it?