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

unit-tests-latest-qiskit fails since mid-Oct #2270

Open
1ucian0 opened this issue Nov 29, 2024 · 3 comments
Open

unit-tests-latest-qiskit fails since mid-Oct #2270

1ucian0 opened this issue Nov 29, 2024 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@1ucian0
Copy link
Member

1ucian0 commented Nov 29, 2024

Informations

  • Qiskit Aer version: dev
  • Python version: 3.11
  • Operating system: ubuntu-latest in CI

What is the current behavior?

Since Oct 17, there are 24 failing tests when Qiskit dev is installed. There is a chance this is a Qiskit issue that introduced a regression in the stable API, I didn't check it. If so, please open an issue in Qiskit/qiskit

Steps to reproduce the problem

Go to https://github.com/Qiskit/qiskit-aer/actions/workflows/unit-tests-latest-qiskit.yml?page=2 and see the errors.

What is the expected behavior?

Aer should work with Qiskit dev branch, ie. main

@gadial
Copy link
Collaborator

gadial commented Dec 9, 2024

This is a well-known problem, that should be fixed in #2265 . Basically, save_expval was extended with a smart truncation technique allowing aer to run on circuits compiled vs many-qubits backends, but the implementation had a small bug causing problems in several edge cases. Should be ok once the PR is merged.

@Cryoris
Copy link
Contributor

Cryoris commented Dec 9, 2024

Nice! But it would be interesting to know what in Qiskit triggered these failing tests... do you think it has something to do with how you now fixed the Paulis being mapped to the qubits?

@gadial
Copy link
Collaborator

gadial commented Dec 11, 2024

I'm not sure what changed on the qiskit side to trigger them. Basically the bug requires a relatively rare situation to arise (truncating lower-indices qubits while keeping higher-indices qubits intact) which can be very dependent on the specifics of the transpilation. I didn't look any deeper than that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants