From 2e1616533e1e95d8391a97a1545905e708986427 Mon Sep 17 00:00:00 2001 From: Kento Ueda <38037695+to24toro@users.noreply.github.com> Date: Thu, 20 Jul 2023 09:15:50 +0900 Subject: [PATCH] Add a new argument concurrent_measurements to target class (Qiskit/qiskit#10258) * fix measure_v2 * modify measure_all * dispatch backend * add test of the builder with backendV2 * reconfigure test codes and some func * refactoring * add reno * fix _measure_v2 * fix backend.meas_map in measure_v2 * fix reno * delete get_qubit_channels from utils * add get_qubits_channels in qubit_channels * recostruct test about the builder with backendV2 * add meas_map to Target class * fix after mergin main branch * fix documents about meas_map * format target.py * add reno * add meas_map to target in convert_to_target * add the more description about meas_map * Update releasenotes/notes/enable_target_aware_meas_map-0d8542402a74e9d8.yaml Co-authored-by: Naoki Kanazawa * fix test_meas_map * remove format_meas_map * rename meas_map in target to concurrent_measuments * change reno * remove Unused Union Dict * concurrent_measurements set as getattr(configuration, meas_map) * Update qiskit/transpiler/target.py Co-authored-by: Naoki Kanazawa * Update qiskit/transpiler/target.py Co-authored-by: Naoki Kanazawa * format --------- Co-authored-by: Naoki Kanazawa --- qiskit_ibm_provider/fake_provider/utils/backend_converter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qiskit_ibm_provider/fake_provider/utils/backend_converter.py b/qiskit_ibm_provider/fake_provider/utils/backend_converter.py index 25d9aebba..9e038c39d 100644 --- a/qiskit_ibm_provider/fake_provider/utils/backend_converter.py +++ b/qiskit_ibm_provider/fake_provider/utils/backend_converter.py @@ -43,7 +43,7 @@ def convert_to_target(conf_dict: dict, props_dict: dict = None, defs_dict: dict qubit_props = None if props_dict: qubit_props = qubit_props_from_props(props_dict) - target = Target(qubit_properties=qubit_props) + target = Target(qubit_properties=qubit_props, concurrent_measurements=conf_dict.get("meas_map")) # Parse from properties if it exsits if props_dict is not None: # Parse instructions