-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Fix units * Add test and reno * Add support for non-IS units, move test to test_scheduled_circuit.py * Adapt reno wording (cherry picked from commit 944e20c) Co-authored-by: Elena Peña Tapia <[email protected]>
- Loading branch information
1 parent
21b11b9
commit 5a9a121
Showing
3 changed files
with
60 additions
and
3 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
6 changes: 6 additions & 0 deletions
6
releasenotes/notes/fix-scheduling-units-59477912b47d3dc1.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,6 @@ | ||
--- | ||
fixes: | ||
- | | ||
A bug has been fixed in :func:`.convert_durations_to_dt` where the function would blindly apply | ||
a conversion from seconds to ``dt`` on circuit durations, independently of the original units of the attribute. | ||
This could lead to wrong orders of magnitude in the reported circuit durations. |
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