-
Notifications
You must be signed in to change notification settings - Fork 643
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
Support the construction of bosonic operators #6518
Conversation
Hello. You may have forgotten to update the changelog!
|
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 @austingmhuang. A couple of minor comments from me.
Co-authored-by: Diksha Dhawan <40900030+ddhawan11@users.noreply.github.com>
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 @austingmhuang, left some comments. The test file seems to be incomplete.
Co-authored-by: soranjh <40344468+soranjh@users.noreply.github.com>
Co-authored-by: soranjh <40344468+soranjh@users.noreply.github.com>
Co-authored-by: soranjh <40344468+soranjh@users.noreply.github.com>
Co-authored-by: soranjh <40344468+soranjh@users.noreply.github.com>
Co-authored-by: soranjh <40344468+soranjh@users.noreply.github.com>
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.
Looks good, just some optional comments.
Co-authored-by: Utkarsh <utkarshazad98@gmail.com>
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.
Good to go from my side, good work @austingmhuang
Co-authored-by: soranjh <40344468+soranjh@users.noreply.github.com>
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.
Nice work! Looks good overall.
I'm wondering whether qml.qchem.BoseWord
should be qml.bose.BoseWord
for consistency with qml.fermi.FermiWord
. Not a blocker.
I had some trouble with arithmetic, but the tests are passing, so maybe it's something on my end?
Hmmm.... this is kind of a good point actually. @soranjh I think it is fine in qchem personally, but do you think this should be changed? |
Yes, what @DSGuala suggested for creating a bose folder makes sense. We can add a proper qml_bose.rst file in doc/code, in a separate PR when the mapping PRs are merged. |
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.
Looks good to go! 💪
Context:
We need
BoseWords
andBoseSentences
to help us build vibrational hamiltonians.Description of the Change:
Add
BoseWords
andBoseSentences
Benefits:
Possible Drawbacks:
Related GitHub Issues:
[sc-72640]