-
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 incorrect computation of excited state population (#1672)
This commits fixed a bug in NoiseModel.from_backend where using the temperature kwarg with a non-default value would incorrectly compute the excited state population for the specified temperature. Previously, there was an additional factor of 2 in the Boltzman distribution calculation leading to an incorrect smaller value for the excited state population. * Fix a bug in computation of excited population * Improve reno * Reword reno
- Loading branch information
Showing
2 changed files
with
16 additions
and
6 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
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 in :meth:`NoiseModel.from_backend` where using the ``temperature`` kwarg with | ||
a non-default value would incorrectly compute the excited state population for | ||
the specified temperature. Previously, there was an additional factor of 2 in | ||
the Boltzman distribution calculation leading to an incorrect smaller value | ||
for the excited state population. |