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

Add function to rotate vibrational Hamiltonian to VSCF basis #6688

Merged
merged 43 commits into from
Dec 17, 2024

Conversation

ddhawan11
Copy link
Contributor

@ddhawan11 ddhawan11 commented Dec 9, 2024

Context:
Added functionality to rotate vibrational Hamiltonian integrals to VSCF basis

Description of the Change:

Benefits:

Possible Drawbacks:

Related GitHub Issues:

[sc-80080]

Copy link
Contributor

github-actions bot commented Dec 9, 2024

Hello. You may have forgotten to update the changelog!
Please edit doc/releases/changelog-dev.md with:

  • A one-to-two sentence description of the change. You may include a small working example for new features.
  • A link back to this PR.
  • Your name (or GitHub username) in the contributors section.

Copy link

codecov bot commented Dec 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.62%. Comparing base (579e70d) to head (c52d7d6).
Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff            @@
##           master    #6688    +/-   ##
========================================
  Coverage   99.62%   99.62%            
========================================
  Files         476      477     +1     
  Lines       44733    44887   +154     
========================================
+ Hits        44564    44718   +154     
  Misses        169      169            

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@soranjh soranjh left a comment

Choose a reason for hiding this comment

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

Looks good @ddhawan11, left some small comments.

pennylane/qchem/vibrational/vscf.py Outdated Show resolved Hide resolved
pennylane/qchem/vibrational/vscf.py Outdated Show resolved Hide resolved
pennylane/qchem/vibrational/vscf.py Outdated Show resolved Hide resolved
pennylane/qchem/vibrational/vscf.py Show resolved Hide resolved
pennylane/qchem/vibrational/vscf.py Outdated Show resolved Hide resolved
pennylane/qchem/vibrational/vscf.py Outdated Show resolved Hide resolved
pennylane/qchem/vibrational/vscf.py Outdated Show resolved Hide resolved
pennylane/qchem/vibrational/vscf.py Show resolved Hide resolved
@ddhawan11 ddhawan11 requested a review from soranjh December 12, 2024 12:39
Copy link
Contributor

@soranjh soranjh left a comment

Choose a reason for hiding this comment

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

Thanks @ddhawan11, I will approve after my final minor comments are addressed.

pennylane/qchem/vibrational/vscf.py Outdated Show resolved Hide resolved
pennylane/qchem/vibrational/vscf.py Outdated Show resolved Hide resolved
pennylane/qchem/vibrational/vscf.py Outdated Show resolved Hide resolved
pennylane/qchem/vibrational/vscf.py Outdated Show resolved Hide resolved
pennylane/qchem/vibrational/vscf.py Show resolved Hide resolved
@ddhawan11 ddhawan11 requested a review from soranjh December 12, 2024 14:49
Copy link
Contributor

@soranjh soranjh left a comment

Choose a reason for hiding this comment

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

Thanks @ddhawan11, added a final comment about better explaining the args.

pennylane/qchem/vibrational/vscf.py Outdated Show resolved Hide resolved
pennylane/qchem/vibrational/vscf.py Outdated Show resolved Hide resolved
pennylane/qchem/vibrational/vscf.py Outdated Show resolved Hide resolved
@ddhawan11 ddhawan11 requested a review from soranjh December 13, 2024 15:21
Copy link
Contributor

@soranjh soranjh left a comment

Choose a reason for hiding this comment

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

Thanks @ddhawan11, looks good.

pennylane/qchem/vibrational/vscf.py Outdated Show resolved Hide resolved
pennylane/qchem/vibrational/vscf.py Outdated Show resolved Hide resolved
pennylane/qchem/vibrational/vscf.py Outdated Show resolved Hide resolved
pennylane/qchem/vibrational/vscf.py Outdated Show resolved Hide resolved
pennylane/qchem/vibrational/vscf.py Outdated Show resolved Hide resolved
Copy link
Contributor

@austingmhuang austingmhuang left a comment

Choose a reason for hiding this comment

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

Looks great @ddhawan11. Many coments, but all very minor comments; will approve when the non-optional ones are addressed.

pennylane/qchem/vibrational/vscf.py Outdated Show resolved Hide resolved
pennylane/qchem/vibrational/vscf.py Outdated Show resolved Hide resolved
pennylane/qchem/vibrational/vscf.py Outdated Show resolved Hide resolved
pennylane/qchem/vibrational/vscf.py Outdated Show resolved Hide resolved
pennylane/qchem/vibrational/vscf.py Outdated Show resolved Hide resolved
pennylane/qchem/vibrational/vscf.py Outdated Show resolved Hide resolved
pennylane/qchem/vibrational/vscf.py Show resolved Hide resolved
pennylane/qchem/vibrational/vscf.py Outdated Show resolved Hide resolved
pennylane/qchem/vibrational/vscf.py Outdated Show resolved Hide resolved
tests/qchem/vibrational/test_vscf.py Show resolved Hide resolved
Copy link
Contributor

@austingmhuang austingmhuang left a comment

Choose a reason for hiding this comment

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

Great work @ddhawan11.

doc/releases/changelog-dev.md Outdated Show resolved Hide resolved
pennylane/qchem/vibrational/vscf.py Show resolved Hide resolved
pennylane/qchem/vibrational/vscf.py Outdated Show resolved Hide resolved
pennylane/qchem/vibrational/vscf.py Outdated Show resolved Hide resolved
@ddhawan11 ddhawan11 merged commit fcc2d2c into master Dec 17, 2024
46 checks passed
@ddhawan11 ddhawan11 deleted the vscf_hamiltonian branch December 17, 2024 09:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants