forked from qiskit-community/qiskit-experiments
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow StandardRB to handle a V2 backend without a coupling map (qiski…
…t-community#1293) `StandardRB` handles directed two-qubit gates differently from bi-directional ones. For `BackendV2`, it used the `coupling_map` to check for directionality but did not handle the case where the coupling map was `None` which implies all to all connectivity. With this change, `StandardRB` treats gates with no coupling map as bidirectional. This issue first surfaced with qiskit-aer 0.13.0 which made `AerSimulator` a `BackendV2` backend (qiskit-community#1292).
1 parent
d6d3c97
commit 82ea32c
Showing
2 changed files
with
15 additions
and
0 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
12 changes: 12 additions & 0 deletions
12
releasenotes/notes/rb-v2-none-coupling-fda2b22afdef507b.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: | ||
- | | ||
Changed :class:`.StandardRB` to treat two qubit operations in the | ||
:class:`qiskit.transpiler.Target` as having all-to-all connectivity if | ||
there is no set of specific pairs of coupled qubits. Most importantly, this | ||
change allows :class:`.StandardRB` to work with | ||
:class:`qiskit_aer.AerSimulator` for multi-qubit benchmarking after | ||
``qiskit-aer`` 0.13.0. Version 0.13.0 of ``qiskit-aer`` changed | ||
the default :class:`qiskit_aer.AerSimulator` to have such a | ||
:class:`qiskit.transpiler.Target` without specific coupled pairs. | ||
See `#1292 <https://github.com/Qiskit-Extensions/qiskit-experiments/issues/1292>`__. |