-
Notifications
You must be signed in to change notification settings - Fork 210
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
docs: improve the documentation of SparseLabelOp.simplify #1261
docs: improve the documentation of SparseLabelOp.simplify #1261
Conversation
Pull Request Test Coverage Report for Build 6336900218
💛 - Coveralls |
In FermionicOp there is a note in |
I tried to find a solution which does not require duplicating the |
I certainly would not suggest duplicating the entire thing - of course the args bit one has too and a sentence describing it. This is pretty much what BosonicOp.simplify() has plus some extra specific notes for that operator - it does not inherit the parent class docstring unlike FermionicOp or VibrationalOp. It is a bit extra work to do this for simplify but it could save the user going around other methods in the class to see if they would help - like index_order for example may do. I'll leave it to you - I'll approve this since in improves what it states - anything further like I was suggesting can always be done later since its "just docs". |
I actually had overlooked that |
Okay, I did end up duplicating them but this allows a proper linking to the Since this is "just docs" lets leave it as a PR that really affects "just docs". I also took the note regarding the difference between |
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 fine to me! Thanks for updating these docs
…munity#1261) * docs: improve the documentation of SparseLabelOp.simplify Closes qiskit-community#1260 * docs: unify the `simplify` docstrings * docs: be even more explicit about term equivalence
Summary
Closes #1260
Details and comments