-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
define __getstate__ and __setstate__ for OneQubitGateErrorMap (#10092) (
#10095) * define __getstate__ and __setstate__ for OneQubitGateErrorMap * add test * fix test docstrings * add assert in test * add release note (cherry picked from commit 06a5b9e) Co-authored-by: Kevin J. Sung <[email protected]>
- Loading branch information
1 parent
7967ab1
commit 99b1569
Showing
4 changed files
with
76 additions
and
35 deletions.
There are no files selected for viewing
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
5 changes: 5 additions & 0 deletions
5
releasenotes/notes/fix-transpile-pickle-4045805b67c0c11b.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: | ||
- Fix a bug in which running :class:`~.Optimize1qGatesDecomposition` | ||
in parallel would raise an error due to OneQubitGateErrorMap | ||
not being picklable. |
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