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.
Fix extended stabilizer thread safety in apply_ops_parallel (Qiskit#1993
) * Extended stabilizer simulator no longer shares RngEngine amongst states when ops are applied in parallel * Added release note * Fixed ugly cast --------- Co-authored-by: Jun Doi <[email protected]>
- Loading branch information
1 parent
e30bedb
commit f8e1a39
Showing
2 changed files
with
14 additions
and
1 deletion.
There are no files selected for viewing
6 changes: 6 additions & 0 deletions
6
releasenotes/notes/fix_extstabilizer_thread_safety-c85e926c7ecb8dfb.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,6 @@ | ||
fixes: | ||
- | | ||
Extended stabilizer simulation was sharing a single copy of RngEngine amongst | ||
parallelized states in ``ExtendedStabilizer::State::apply_ops_parallel``, | ||
leading to thread safety issue. Now, a new RngEngine is seeded for each parallel | ||
state. |
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