Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

Map T1, T2, qubit properties correctly #619

Merged
merged 3 commits into from
May 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion qiskit_ibm_provider/utils/json_decoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -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__:
Expand Down
5 changes: 5 additions & 0 deletions releasenotes/notes/map-qubit-props-7d565bbe16afc64b.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
fixes:
- |
Fixed a bug where the backend target ``qubit_properties`` were not
being decoded correctly.