-
Notifications
You must be signed in to change notification settings - Fork 586
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 molecular_dipole function #5764
Conversation
**Context:** **Description of the Change:** Molecule is the central object for molecular_hamiltonian function **Benefits:** **Possible Drawbacks:** **Related GitHub Issues:** --------- Co-authored-by: soranjh <soran.jahangiri@gmail.com> Co-authored-by: Utkarsh <utkarshazad98@gmail.com> Co-authored-by: Austin Huang <65315367+austingmhuang@users.noreply.github.com>
…function (#5694) **Context:** Support Angstrom units along with Bohr **Description of the Change:** Molecule class and molecular_hamiltonian function now works with both Bohr and Angstrom units. **Benefits:** **Possible Drawbacks:** **Related GitHub Issues:** --------- Co-authored-by: soranjh <soran.jahangiri@gmail.com> Co-authored-by: Utkarsh <utkarshazad98@gmail.com> Co-authored-by: Austin Huang <65315367+austingmhuang@users.noreply.github.com> Co-authored-by: soranjh <40344468+soranjh@users.noreply.github.com> Co-authored-by: Thomas R. Bromley <49409390+trbromley@users.noreply.github.com>
**Context:** Changes openshell warnings. **Description of the Change:** Changed openshell warnings to work with new molecular_hamiltonian function **Benefits:** molecular_hamiltonian function works with openshell molecules when method is pyscf **Possible Drawbacks:** **Related GitHub Issues:** --------- Co-authored-by: soranjh <soran.jahangiri@gmail.com> Co-authored-by: Thomas R. Bromley <49409390+trbromley@users.noreply.github.com> Co-authored-by: Austin Huang <65315367+austingmhuang@users.noreply.github.com> Co-authored-by: soranjh <40344468+soranjh@users.noreply.github.com>
**Context:** added different mappings to molecular_hamiltonian function **Description of the Change:** molecular Hamiltonian can be mapped using different mapping schemes. **Benefits:** **Possible Drawbacks:** **Related GitHub Issues:** --------- Co-authored-by: soranjh <soran.jahangiri@gmail.com>
[sc-62858] |
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.
Thanks @ddhawan11, leaving the first round of comments!
Co-authored-by: Utkarsh <utkarshazad98@gmail.com>
Co-authored-by: Utkarsh <utkarshazad98@gmail.com>
Co-authored-by: Utkarsh <utkarshazad98@gmail.com>
Co-authored-by: Utkarsh <utkarshazad98@gmail.com>
Co-authored-by: Utkarsh <utkarshazad98@gmail.com>
Co-authored-by: Utkarsh <utkarshazad98@gmail.com>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #5764 +/- ##
==========================================
- Coverage 99.66% 99.66% -0.01%
==========================================
Files 415 415
Lines 39668 39407 -261
==========================================
- Hits 39537 39274 -263
- Misses 131 133 +2 ☔ View full report in Codecov by Sentry. |
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.
Thanks @ddhawan11, this looks great. Please address my minor comments/questions and I will approve.
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.
Thanks @ddhawan11, looks good to go.
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.
Thanks @ddhawan11! Good to go once the final comment is resolved!
Co-authored-by: Utkarsh <utkarshazad98@gmail.com>
Context:
Add molecular_dipole function to calculate dipole moment operator in Pauli basis.
Description of the Change:
molecular_dipole function is analogous to molecular_hamiltonian function to calculate dipole moment operator with openfermion and dhf backends
Benefits:
Possible Drawbacks:
Related GitHub Issues: