diff --git a/qiskit_ibm_provider/utils/json_decoder.py b/qiskit_ibm_provider/utils/json_decoder.py index 3dadf5556..bbcc0911a 100644 --- a/qiskit_ibm_provider/utils/json_decoder.py +++ b/qiskit_ibm_provider/utils/json_decoder.py @@ -365,7 +365,7 @@ def _decode_qubit_property(qubit_specs: List[Dict]) -> IBMQubitProperties: """ in_data = {} for spec in qubit_specs: - name = spec["name"] + name = (spec["name"]).lower() if name == "operational": in_data[name] = bool(spec["value"]) elif name in IBMQubitProperties.__slots__: diff --git a/releasenotes/notes/map-qubit-props-7d565bbe16afc64b.yaml b/releasenotes/notes/map-qubit-props-7d565bbe16afc64b.yaml new file mode 100644 index 000000000..68c528f73 --- /dev/null +++ b/releasenotes/notes/map-qubit-props-7d565bbe16afc64b.yaml @@ -0,0 +1,5 @@ +--- +fixes: + - | + Fixed a bug where the backend target ``qubit_properties`` were not + being decoded correctly.