-
Notifications
You must be signed in to change notification settings - Fork 127
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix bug in tomography conditionals on multiple cregs (#967)
Updates tomography circuit generation to work around issues in QuantumCircuit.compose for circuits with conditional instructions on multiple registers.
- Loading branch information
1 parent
95664a1
commit fa08a9a
Showing
5 changed files
with
126 additions
and
28 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
11 changes: 11 additions & 0 deletions
11
releasenotes/notes/fix-tomography-943-0f2b35964f2cf8ef.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,11 @@ | ||
--- | ||
fixes: | ||
- | | ||
Fixes bug in :class:`~.StateTomography` and :class:`~.ProcessTomography` | ||
experiments where if the input circuit contained conditional instructions | ||
with multiple classical registers the tomography measurement circuits | ||
would contain incorrect conditionals due to a bug in the | ||
:meth:`.QuantumCircuit.compose` method. | ||
See Issue #942 <https://github.com/Qiskit/qiskit-experiments/issues/943>`_ | ||
for additional details. |
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