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

Use fermi sentence in qchem dipole and number functions #4546

Merged
merged 17 commits into from
Sep 6, 2023

Conversation

soranjh
Copy link
Contributor

@soranjh soranjh commented Aug 29, 2023

Context:
The qchem.particle_number and qchem.fermionic_dipole functions use a fermi sentence internally to represent a fermionic spin operator.

Description of the Change:

Benefits:

Possible Drawbacks:

Related GitHub Issues:

@soranjh soranjh added the qchem ⚛️ Related to the QChem package label Aug 29, 2023
@github-actions
Copy link
Contributor

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.

@lillian542
Copy link
Contributor

[sc-43900]

@codecov
Copy link

codecov bot commented Aug 30, 2023

Codecov Report

Patch coverage: 100.00% and project coverage change: -0.01% ⚠️

Comparison is base (c28e5fc) 99.65% compared to head (8f14b39) 99.65%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4546      +/-   ##
==========================================
- Coverage   99.65%   99.65%   -0.01%     
==========================================
  Files         376      376              
  Lines       33156    33152       -4     
==========================================
- Hits        33042    33038       -4     
  Misses        114      114              
Files Changed Coverage Δ
pennylane/qchem/dipole.py 100.00% <100.00%> (ø)
pennylane/qchem/number.py 100.00% <100.00%> (ø)

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

Copy link
Contributor

@lillian542 lillian542 left a comment

Choose a reason for hiding this comment

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

A couple of small suggestions for documentation changes, but looks good to me!

pennylane/qchem/dipole.py Show resolved Hide resolved
doc/releases/changelog-dev.md Outdated Show resolved Hide resolved
doc/releases/changelog-dev.md Outdated Show resolved Hide resolved
Copy link
Contributor

@Jaybsoni Jaybsoni left a comment

Choose a reason for hiding this comment

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

Just some small clarifications and suggestions, happy to approve after

doc/releases/changelog-dev.md Outdated Show resolved Hide resolved
pennylane/qchem/dipole.py Show resolved Hide resolved
pennylane/qchem/dipole.py Show resolved Hide resolved
pennylane/qchem/dipole.py Show resolved Hide resolved
pennylane/qchem/number.py Outdated Show resolved Hide resolved
pennylane/qchem/number.py Outdated Show resolved Hide resolved
tests/qchem/test_hamiltonians.py Show resolved Hide resolved
Copy link
Contributor

@Jaybsoni Jaybsoni left a comment

Choose a reason for hiding this comment

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

💯

@soranjh soranjh merged commit 92b8e83 into master Sep 6, 2023
39 checks passed
@soranjh soranjh deleted the qchem_dipole_fermisentence branch September 6, 2023 21:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
qchem ⚛️ Related to the QChem package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants