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

Clarify "conjugate" method purpose #13395

Open
wants to merge 13 commits into
base: main
Choose a base branch
from
Open

Clarify "conjugate" method purpose #13395

wants to merge 13 commits into from

Conversation

boonware
Copy link
Contributor

@boonware boonware commented Nov 5, 2024

Summary

Implements #13322

Details and comments

Below I have listed each conjugate method as returned by this search query, together with the reason why or why not the doc string has been updated.

  • AdjointMixin - Updated to reference only the complex conjugate, but I have not referenced the basis as this is an ABC. Precisely which basis depends on how the concrete class has implemented the abstract method.
  • SparsePauliOp - This class has a to_matrix method, so reference to this basis is made.
  • StabilizerState - The conjugate method returns the conjugate of the Clifford (operator) used to create the StabilizerState. As such, I have referenced the basis returned by the operator's to_matrix method.
  • Unitary - This class has a to_matrix method, so reference to this basis is made.
  • PauliList - Update the comment to reflect what is already in place for BasePauli.
  • StateVector - This class has a data method, so reference to the basis of these vector components is made.
  • DensityMatrix - This class has a data method, so reference to the basis of these vector components is made.

@boonware boonware requested a review from a team as a code owner November 5, 2024 10:56
@qiskit-bot qiskit-bot added the Community PR PRs from contributors that are not 'members' of the Qiskit repo label Nov 5, 2024
@qiskit-bot
Copy link
Collaborator

Thank you for opening a new pull request.

Before your PR can be merged it will first need to pass continuous integration tests and be reviewed. Sometimes the review process can be slow, so please be patient.

While you're waiting, please feel free to review other open PRs. While only a subset of people are authorized to approve pull requests for merging, everyone is encouraged to review open pull requests. Doing reviews helps reduce the burden on the core team and helps make the project's code better for everyone.

One or more of the following people are relevant to this code:

  • @Qiskit/terra-core

@coveralls
Copy link

coveralls commented Nov 5, 2024

Pull Request Test Coverage Report for Build 12431657129

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 2 unchanged lines in 2 files lost coverage.
  • Overall coverage increased (+0.01%) to 88.963%

Files with Coverage Reduction New Missed Lines %
crates/qasm2/src/lex.rs 1 92.73%
crates/accelerate/src/unitary_synthesis.rs 1 92.2%
Totals Coverage Status
Change from base Build 12420636821: 0.01%
Covered Lines: 79438
Relevant Lines: 89293

💛 - Coveralls

@eliarbel eliarbel added the documentation Something is not clear or an error documentation label Nov 5, 2024
@1ucian0
Copy link
Member

1ucian0 commented Dec 11, 2024

Hi @boonware , are you still working on this?

@1ucian0 1ucian0 marked this pull request as draft December 11, 2024 10:24
@boonware
Copy link
Contributor Author

@1ucian0 Yes, I hope to finish it soon.

@boonware boonware marked this pull request as ready for review December 13, 2024 15:03
@qiskit-bot
Copy link
Collaborator

Thank you for opening a new pull request.

Before your PR can be merged it will first need to pass continuous integration tests and be reviewed. Sometimes the review process can be slow, so please be patient.

While you're waiting, please feel free to review other open PRs. While only a subset of people are authorized to approve pull requests for merging, everyone is encouraged to review open pull requests. Doing reviews helps reduce the burden on the core team and helps make the project's code better for everyone.

One or more of the following people are relevant to this code:

  • @Cryoris
  • @Qiskit/terra-core
  • @ajavadia

@boonware boonware changed the title [work in progress] Clarify "conjugate" method purpose Clarify "conjugate" method purpose Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Community PR PRs from contributors that are not 'members' of the Qiskit repo documentation Something is not clear or an error documentation
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

5 participants