Skip to content

Conversation

jakelishman
Copy link
Member

Summary

This triggered semi-reliably on Windows with all optional packages installed, with the output different by 2 ULP. It's a floating-point equality check, so what we care about asserting is approximate equality, not exact.

Details and comments

Turned up by #8967.

This triggered semi-reliably on Windows with all optional packages
installed, with the output different by 2 ULP.  It's a floating-point
equality check, so what we care about asserting is approximate equality,
not exact.
@jakelishman jakelishman added type: qa Issues and PRs that relate to testing and code quality stable backport potential The bug might be minimal and/or import enough to be port to stable Changelog: None Do not include in changelog labels Oct 28, 2022
@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:

@coveralls
Copy link

Pull Request Test Coverage Report for Build 3345743990

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

Files with Coverage Reduction New Missed Lines %
qiskit/extensions/quantum_initializer/squ.py 2 79.78%
Totals Coverage Status
Change from base Build 3345598975: 0.2%
Covered Lines: 62173
Relevant Lines: 73587

💛 - Coveralls

@mergify mergify bot merged commit 7987742 into Qiskit:main Oct 28, 2022
mergify bot pushed a commit that referenced this pull request Oct 28, 2022
This triggered semi-reliably on Windows with all optional packages
installed, with the output different by 2 ULP.  It's a floating-point
equality check, so what we care about asserting is approximate equality,
not exact.

(cherry picked from commit 7987742)
mergify bot added a commit that referenced this pull request Oct 28, 2022
This triggered semi-reliably on Windows with all optional packages
installed, with the output different by 2 ULP.  It's a floating-point
equality check, so what we care about asserting is approximate equality,
not exact.

(cherry picked from commit 7987742)

Co-authored-by: Jake Lishman <jake.lishman@ibm.com>
@jakelishman jakelishman deleted the fix-flaky-aer-expectation-test branch October 30, 2022 23:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Changelog: None Do not include in changelog stable backport potential The bug might be minimal and/or import enough to be port to stable type: qa Issues and PRs that relate to testing and code quality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants