-
Notifications
You must be signed in to change notification settings - Fork 368
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix number of parallel shots for statevector and unitary sims (#725)
* Prevent statevector and unitary controller from running parallel shots This was causing bugs where number of shots of a statevector and unitary simulators would be the number of CPU cores.
- Loading branch information
1 parent
dae9a84
commit 6cd0215
Showing
3 changed files
with
13 additions
and
0 deletions.
There are no files selected for viewing
5 changes: 5 additions & 0 deletions
5
releasenotes/notes/fix-controller-parallel-shots-d32967c029259790.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,5 @@ | ||
--- | ||
fixes: | ||
- | | ||
Fixed bug with statevector and unitary simulators running a number of (parallel) | ||
shots equal to the number of CPU threads instead of only running a single shot. |
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