mirror of https://github.com/Qiskit/qiskit.git
f6a343b3fc
* 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 |
||
---|---|---|
.. | ||
notes | ||
config.yaml |