Qiskit / qiskit-aer

Aer is a high performance simulator for quantum circuits that includes noise models
https://qiskit.github.io/qiskit-aer/
Apache License 2.0
464 stars 354 forks source link

Fix tests for the latest Qiskit #2138

Closed doichanj closed 1 month ago

doichanj commented 1 month ago

Summary

This is fix of test cases fails with the latest Qiskit

Details and comments

The test case with chunk parallelization fails, because qiskit.transpiler returns circuit with large unitary gates from QuantumVolume circuit that can not be cache blocked for chunk parallelization. So for this test I set basis_gates without unitary gate not to be fused by transpiler.

Also modified some tests for the latest Qiskit