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

Fix extended stabilizer thread safety in apply_ops_parallel #1993

Merged
merged 6 commits into from
Nov 24, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Added release note
  • Loading branch information
eliotheinrich committed Nov 8, 2023
commit b7c63f1a93b169d3d6f56f719a88cf65b18b38eb
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.