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

fix typo in soft_compare (backport #12054) #12073

Merged
merged 1 commit into from
Apr 1, 2024

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Mar 24, 2024

This fixes what appears to be a typo in Instruction.soft_compare.

Summary

This is supposed to return False if the name, number of qubits, number of clbits, or number of parameters are not equal but was ignoring differences in number of qubits and clbits.

Details and comments


This is an automatic backport of pull request #12054 done by [Mergify](https://mergify.com).

* fix logic in soft_compare

* black

* add release note

* Update releasenotes/notes/fix_soft_compare-3f4148aab3a4606b.yaml

---------

Co-authored-by: Luciano Bello <bel@zurich.ibm.com>
(cherry picked from commit 5e7a6d0)
@mergify mergify bot requested a review from a team as a code owner March 24, 2024 22:50
@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 the following people are requested to review this:

  • @Qiskit/terra-core

@github-actions github-actions bot added the Changelog: Bugfix Include in the "Fixed" section of the changelog label Mar 24, 2024
@coveralls
Copy link

Pull Request Test Coverage Report for Build 8412672818

Details

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

Files with Coverage Reduction New Missed Lines %
crates/qasm2/src/lex.rs 2 92.62%
crates/qasm2/src/parse.rs 12 97.15%
Totals Coverage Status
Change from base Build 8357855794: 0.005%
Covered Lines: 58894
Relevant Lines: 65951

💛 - Coveralls

@ElePT ElePT added this pull request to the merge queue Mar 25, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Mar 25, 2024
@1ucian0 1ucian0 added this pull request to the merge queue Mar 28, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Mar 28, 2024
@1ucian0 1ucian0 added this pull request to the merge queue Apr 1, 2024
Merged via the queue into stable/1.0 with commit ca3b8f7 Apr 1, 2024
14 checks passed
@mergify mergify bot deleted the mergify/bp/stable/1.0/pr-12054 branch April 1, 2024 20:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Changelog: Bugfix Include in the "Fixed" section of the changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants