qiskit/releasenotes
Matthew Treinish f6a343b3fc
Fix handling of global ideal gates for target build_coupling_map() (#8977)
* Fix handling of global ideal gates for target build_coupling_map()

This commit fixes the handling of the `build_coupling_map()` method so
that it correctly handles edge cases around a mix of ideal globally
available gates and gates that have qubit/connectivity constraints.
Previously, the method would incorrectly treat the presence of a
globally defined ideal gate as meaning there were no connectivity
constraints, even if that global gate was only on 1 qubit. While if the
gate operates on two qubits this is correct behavior.

Fixes #8971

* Add test for single qarg non-ideal case
2022-10-31 17:29:30 +01:00
..
notes Fix handling of global ideal gates for target build_coupling_map() (#8977) 2022-10-31 17:29:30 +01:00
config.yaml Bump reno requirement to latest version and set default_branch (#6858) 2021-08-02 18:38:13 -04:00