diff --git a/qiskit_ibm_runtime/utils/json.py b/qiskit_ibm_runtime/utils/json.py index 19e38e784..6b1468bea 100644 --- a/qiskit_ibm_runtime/utils/json.py +++ b/qiskit_ibm_runtime/utils/json.py @@ -245,7 +245,7 @@ def default(self, obj: Any) -> Any: # pylint: disable=arguments-differ if isinstance(obj, ParameterView): return obj.data if isinstance(obj, Instruction): - kwargs: dict[str, object] = {"use_symengine": bool(optionals.HAS_SYMENGINE)} + kwargs = {"use_symengine": bool(optionals.HAS_SYMENGINE)} if _TERRA_VERSION[0] >= 1: # NOTE: This can be updated only after the server side has # updated to a newer qiskit version.