diff --git a/qiskit_ibm_runtime/utils/json.py b/qiskit_ibm_runtime/utils/json.py index 53ab980f2..7d08d75ae 100644 --- a/qiskit_ibm_runtime/utils/json.py +++ b/qiskit_ibm_runtime/utils/json.py @@ -228,9 +228,7 @@ def default(self, obj: Any) -> Any: # pylint: disable=arguments-differ if isinstance(obj, QuantumCircuit): kwargs: Dict[str, object] = {"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. - kwargs["version"] = 10 + kwargs["version"] = 11 value = _serialize_and_encode( data=obj, serializer=lambda buff, data: dump( @@ -258,9 +256,7 @@ def default(self, obj: Any) -> Any: # pylint: disable=arguments-differ if isinstance(obj, Instruction): 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. - kwargs["version"] = 10 + kwargs["version"] = 11 # Append instruction to empty circuit quantum_register = QuantumRegister(obj.num_qubits) quantum_circuit = QuantumCircuit(quantum_register)