forked from Qiskit/qiskit-aer
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix noise model construction for a backend with no T2 value for a qub…
…it (Qiskit#1912) * Fix a bug failing to create device gate errors when t2==None while t1!=None for a qubit. * Add reno --------- Co-authored-by: Jun Doi <doichan@jp.ibm.com>
- Loading branch information
Showing
3 changed files
with
18 additions
and
1 deletion.
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
8 changes: 8 additions & 0 deletions
8
releasenotes/notes/fix-none-t2-handling-in-noise-model-5b712adf3569eccd.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,8 @@ | ||
--- | ||
fixes: | ||
- | | ||
Fixed a bug where :meth:`~.NoiseModel.from_backend` raises an error when | ||
a backend reports no T2 value (while it reports T1 value) for a qubit, | ||
which was an oversight in the previous fix on None handling: | ||
`#1818 <https://github.com/Qiskit/qiskit-aer/issues/1818>`__. | ||
Fixed `#1896 <https://github.com/Qiskit/qiskit-aer/issues/1896>`__. |
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