-
Notifications
You must be signed in to change notification settings - Fork 126
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix circuit ordering in InterleavedRB (#1191)
### Summary Changes the ordering of circuits generated by `InterleavedRB` back to RIRIRI (R: Reference, I: Interleaved) order. It was accidentally changed into RRRIII order in #898. Before that, it had been RIRIRI order. ### Details and comments This change may slightly alter the impact of noise on IRB results. RIRIRI ordering is preferable in the sense that it minimizes the impact of drift or noise fluctuations. Note that `InterleavedRBAnalysis` is not changed that means it works correctly regardless of the circuit ordering because it processes data relying on "interleaved" flag in circuit metadata. This commit also adds a new experiment option `circuit_order` to `InterleavedRB`. It enables to change the order of the reference and the interleaved circuits and hence slightly alter the impact of noise on interleaved RB results. The default value is set to `"RIRIRI"`.
- Loading branch information
Showing
3 changed files
with
49 additions
and
2 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
15 changes: 15 additions & 0 deletions
15
releasenotes/notes/irb-circuit-order-619845a707519c44.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,15 @@ | ||
--- | ||
features: | ||
- | | ||
A new experiment option ``circuit_order`` was added to :class:`~.InterleavedRB`. | ||
It allows to change the order of the reference and the interleaved circuits | ||
and hence slightly alter the impact of noise on interleaved RB results. | ||
The default value is set to ``"RIRIRI"`` that alternate a reference and | ||
an interleaved circuit. | ||
fixes: | ||
- | | ||
Changed the ordering of circuits generated by :class:`~.InterleavedRB` back to | ||
RIRIRI (R: Reference, I: Interleaved) order. | ||
It was accidentally changed into RRRIII order in | ||
`#898 <https://github.com/Qiskit/qiskit-experiments/pull/898>`_. | ||
Before that, it had been RIRIRI order. |
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