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

Remove workarounds for qiskit-aer 0.13.0 #1330

Merged
merged 2 commits into from
Nov 29, 2023

Conversation

wshanks
Copy link
Collaborator

@wshanks wshanks commented Nov 28, 2023

Note that the tests will not pass with 0.13.0 because the workaround was removed, but the workaround was for an Aer bug so we don't reflect it as an incomapitibility with qiskit-experiments.

+ Unpin qiskit-aer extra requirement now that 0.13.1 has been released
  and we do not have to worry about
Qiskit/qiskit-aer#1985
+ Remove workaround in test for
  Qiskit/qiskit-aer#1975

Note that the tests will not pass with 0.13.0 because the workaround was
removed, but the workaround was for an Aer bug so we don't reflect it as
an incomapitibility with qiskit-experiments.
@@ -1,5 +1,5 @@
qiskit-ibm-provider>=0.6.1 # for submitting experiments to backends through the IBM provider
cvxpy>=1.3.2 # for tomography
scikit-learn # for discriminators
qiskit-aer>=0.11.0,<=0.12.2 # temporary version pin until 0.13.1 release
qiskit-aer>=0.11.0
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should this be

Suggested change
qiskit-aer>=0.11.0
qiskit-aer>=0.11.0, !=0.13.0

to be safe? Or should we just raise the requirement to 0.13.1?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I put that at first but then took it out. The issues we were avoiding in 0.13.0 were Aer bugs (not treating reset as a default basis gate, changing the default simulation method leading to slower performance) that affected the tests. They were not actually issues with the experiments code. So I think the better argument would be to put !=0.13.0 into constraints.txt but in practice it's probably not worth the effort since anyone updating Aer now should end up with 0.13.1 any way, so avoiding 0.13.0 is a pretty niche case. It wouldn't hurt much though (just maybe the extra overhead of someone in the future seeing that in constraints.txt and thinking about it before taking it out).

@coruscating coruscating added this pull request to the merge queue Nov 29, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Nov 29, 2023
@wshanks wshanks added this pull request to the merge queue Nov 29, 2023
Merged via the queue into qiskit-community:main with commit e5eaf25 Nov 29, 2023
11 checks passed
@wshanks wshanks deleted the undo1294 branch November 29, 2023 17:09
itoko pushed a commit to itoko/qiskit-experiments that referenced this pull request Dec 12, 2023
+ Unpin qiskit-aer extra requirement now that 0.13.1 has been released
and we do not have to worry about
Qiskit/qiskit-aer#1985
+ Remove workaround in test for
Qiskit/qiskit-aer#1975

Note that the tests will not pass with 0.13.0 because the workaround was
removed, but the workaround was for an Aer bug so we don't reflect it as
an incomapitibility with qiskit-experiments.
nkanazawa1989 pushed a commit to nkanazawa1989/qiskit-experiments that referenced this pull request Jan 17, 2024
+ Unpin qiskit-aer extra requirement now that 0.13.1 has been released
and we do not have to worry about
Qiskit/qiskit-aer#1985
+ Remove workaround in test for
Qiskit/qiskit-aer#1975

Note that the tests will not pass with 0.13.0 because the workaround was
removed, but the workaround was for an Aer bug so we don't reflect it as
an incomapitibility with qiskit-experiments.
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