Skip to content

Commit

Permalink
Add a private alias to decode_backend_configuration() (#2028)
Browse files Browse the repository at this point in the history
  • Loading branch information
ihincks authored and kt474 committed Nov 8, 2024
1 parent c40b2a8 commit 283b703
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions qiskit_ibm_runtime/utils/backend_decoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,10 @@ def decode_backend_configuration(config: Dict) -> None:
u_channel_lo["scale"] = _to_complex(u_channel_lo["scale"])


# TODO: remove this when no longer needed server-side
_decode_backend_configuration = decode_backend_configuration


def _to_complex(value: Union[List[float], complex]) -> complex:
"""Convert the input value to type ``complex``.
Expand Down

0 comments on commit 283b703

Please sign in to comment.