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

Removed some code that is never executed and an unused parameter #2314

Merged
merged 2 commits into from
Feb 9, 2025

Conversation

aromanro
Copy link
Contributor

@aromanro aromanro commented Feb 8, 2025

Summary

Removed the shots parameter for MPS::sample_measure as it wasn't used and a useless check and unreachable code in the same function.

Details and comments

Related issue: #2305

Copy link
Collaborator

@gadial gadial left a comment

Choose a reason for hiding this comment

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

Looks good to me. My only comment is that I don't think we need the release notes.

@@ -0,0 +1,14 @@
---
Copy link
Collaborator

Choose a reason for hiding this comment

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

I don't think release notes are needed here, as this change is not user-facing.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I removed them.

Copy link
Collaborator

@gadial gadial left a comment

Choose a reason for hiding this comment

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

Thank you.

@gadial gadial merged commit fa271c7 into Qiskit:main Feb 9, 2025
34 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants