-
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
* Add condition_bits to Instruction * Fix a bug in schduling of circuits using clbits * Fix small bugs, style and lint * Update docstrings to tell the limitation of schedulers * Add release note * Update docstrings * Replace with more robust assertions * Update test/python/transpiler/test_instruction_alignments.py Co-authored-by: Luciano Bello <bel@zurich.ibm.com> Co-authored-by: Kevin Krsulich <kevin.krsulich@ibm.com> Co-authored-by: Kevin Krsulich <kevin@krsulich.net>
- Loading branch information
1 parent
c432df2
commit 120e893
Showing
8 changed files
with
418 additions
and
41 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
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
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-scheduling-circuits-with-clbits-operations-e5d8bfa90e9a3ae1.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 an issue in scheduling of circuits with clbits operations, e.g. measurements, | ||
conditional gates, updating | ||
:class:`~qiskit.transpiler.passes.ASAPSchedule`, | ||
:class:`~qiskit.transpiler.passes.ALAPSchedule`, and | ||
:class:`~qiskit.transpiler.passes.AlignMeasures`. | ||
The updated schedulers assume all clbits I/O operations take no time, | ||
``measure`` writes the measured value to a clbit at the end, and | ||
``c_if`` reads the conditional value in clbit(s) at the beginning. | ||
Fixed `#7006 <https://github.com/Qiskit/qiskit-terra/issues/7006>`__ |
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
Oops, something went wrong.