-
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.
Fix a bug of missing pulse library entry in PulseQobj parsing (backport
#11397) (#11573) * Fix a bug of missing pulse library entry in PulseQobj parsing (#11397) * Fix missing pulse lib bug * Update releasenotes/notes/fix-missing-pulse-lib-c370f5b9393d0df6.yaml Co-authored-by: Will Shanks <[email protected]> * Add user warning --------- Co-authored-by: Will Shanks <[email protected]> (cherry picked from commit a9e9e95) # Conflicts: # qiskit/pulse/calibration_entries.py * Fix merge conflict --------- Co-authored-by: Naoki Kanazawa <[email protected]> Co-authored-by: Elena Peña Tapia <[email protected]>
- Loading branch information
1 parent
0055340
commit 92d589f
Showing
4 changed files
with
100 additions
and
7 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
12 changes: 12 additions & 0 deletions
12
releasenotes/notes/fix-missing-pulse-lib-c370f5b9393d0df6.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,12 @@ | ||
--- | ||
fixes: | ||
- | | ||
Fixed a bug that results in an error when a user tries to load .calibration | ||
data of a gate in :class:`.Target` in a particular situation. | ||
This occurs when the backend reports only partial calibration data, for | ||
example referencing a waveform pulse in a command definition but not | ||
including that waveform pulse in the pulse library. In this situation, the | ||
Qiskit pulse object cannot be built, resulting in a failure to build the pulse | ||
schedule for the calibration. Now when calibration data is incomplete | ||
the :class:`.Target` treats it as equivalent to no calibration being reported | ||
at all and does not raise an exception. |
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