forked from Qiskit/qiskit-aer
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change priority of method selection of noise simulation (Qiskit#1989)
* Avoid selecting stabilizer method when noise model contains rotational gates * remove checking noise opsets, change priority selecting density_matrix * format * modify test cases use auto method result may change by this PR * modify one more test case
- Loading branch information
Showing
5 changed files
with
49 additions
and
16 deletions.
There are no files selected for viewing
9 changes: 9 additions & 0 deletions
9
releasenotes/notes/fix_automethod_stabilizer-90963b34bd5b4439.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
fixes: | ||
- | | ||
Fixed `stabilizer` was selected with `method="automatic" ` when simulating | ||
circuits with rotational gates with noise models for small number of qubits | ||
even it is faster to calculate with `density_matrix` method. | ||
This fix checks if `density_matrix` method with noise model is faster or not | ||
at first and then check using `stabilizer` method. | ||
This is side effect of implementing rotational gates in stabilizer PR #1938 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters