-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Clarify docstring: Pauli-types conjugate()
is complex conjugate, not Hermitian conjugate
#13051
Comments
I would agree, that can be confusing. Would you like to open an issue to fix this? 🙂 |
Thanks all -- would it be worth doing this for It would be updating the description of However I do not see where this string is defined in qiskit's code. |
@aeddins-ibm Indeed, it looks like there are more references that could do with updating. I have created an issue and will tackle this soon: #13322 |
Environment
What is happening?
Not strictly a bug, just a doc clarification.
The docstring for the
conjugate
method of Pauli is:and for SparsePauliOp is
Personally, when I hear "conjugate of an operator" I think Hermitian conjugate. To avoid confusion with Hermitian conjugate, can we change the docstring of
conjugate
for Pauli, SparsePauliOp, etc to specify explicitly:and
(It's also weird there's a reference to a "list" in the docstring for a single Pauli, but I'm not concerned about that here).
How can we reproduce the issue?
n/a
What should happen?
n/a
Any suggestions?
No response
The text was updated successfully, but these errors were encountered: