|
| 1 | +0.30.0 (2024-09-23) |
| 2 | +=================== |
| 3 | + |
| 4 | +Deprecation Notes |
| 5 | +----------------- |
| 6 | + |
| 7 | +- The utilityy function ``get_runtime_api_base_url`` has been deprecated. Use ``default_runtime_url_resolver`` instead. (`1914 <https://github.com/Qiskit/qiskit-ibm-runtime/pull/1914>`__) |
| 8 | +- The ``channel_strategy`` parameter has been deprecated. |
| 9 | + The Q-CTRL Performance Management strategy will be removed on October 18th, 2024. |
| 10 | + To continue using Q-CTRL in your workflow, please explore the following options: |
| 11 | + |
| 12 | + * If your organization has an existing IBM Quantum Premium Plan instance: migrate to |
| 13 | + the Q-CTRL Performance Management Function, found in the |
| 14 | + `Qiskit Functions Catalog <https://quantum.ibm.com/functions>`__. |
| 15 | + |
| 16 | + * To continue using Qiskit Runtime with IBM Cloud: migrate to Q-CTRL Fire Opal, |
| 17 | + the same performance management product accessible directly through Q-CTRL. |
| 18 | + You can `connect your IBM Cloud API key and Qiskit Runtime CRN <https://docs.q-ctrl.com/fire-opal/discover/hardware-providers/how-to-authenticate-with-ibm-credentials>`__ |
| 19 | + to Fire Opal. (`1931 <https://github.com/Qiskit/qiskit-ibm-runtime/pull/1931>`__) |
| 20 | + |
| 21 | +- In a future release, ``RuntimeJob.status()`` will be returned as a string instead of |
| 22 | + an instance of ``JobStatus``. (`1933 <https://github.com/Qiskit/qiskit-ibm-runtime/pull/1933>`__) |
| 23 | + |
| 24 | + |
| 25 | +New Features |
| 26 | +------------ |
| 27 | + |
| 28 | +- Added new methods ``Session.usage()``, ``Batch.usage()``, and ``Job.usage()`` that |
| 29 | + all return information regarding job and session usage. |
| 30 | + Please find more information `here <https://docs.quantum.ibm.com/guides/execution-modes#sessions-versus-batch-usage>`__. (`1827 <https://github.com/Qiskit/qiskit-ibm-runtime/pull/1827>`__) |
| 31 | +- Added ``ConvertISAToClifford`` transpilation pass to convert the gates of a circuit to Clifford gates. (`1887 <https://github.com/Qiskit/qiskit-ibm-runtime/pull/1887>`__) |
| 32 | +- Added ``url_resolver`` optional input to :class:`.QiskitRuntimeService` |
| 33 | + constructor to enable custom generation of the Qiskit Runtime API URL |
| 34 | + based on the provided ``url``, ``instance`` and ``private_endpoint``. If |
| 35 | + not specified, the default resolver will be used. |
| 36 | + |
| 37 | + .. code-block:: python |
| 38 | +
|
| 39 | + # Define a custom resolver. In this case returns the concatenation of the provided `url` and the `instance` |
| 40 | + def custom_url_resolver(url, instance, *args, **kwargs): |
| 41 | + return f"{url}/{instance}" |
| 42 | +
|
| 43 | + service = QiskitRuntimeService(channel="ibm_quantum", instance="ibm-q/open/main", url="https://baseurl.org" url_resolver=custom_url_resolver) |
| 44 | + # resulting resolved url will be: `https://baseurl.org/ibm-q/open/main` |
| 45 | +
|
| 46 | +- Added utility function ``default_runtime_url_resolver``. (`1914 <https://github.com/Qiskit/qiskit-ibm-runtime/pull/1914>`__) |
| 47 | +- The ``use_fractional_gates`` flag for ``QiskitRuntimeService.backend()`` and |
| 48 | + ``QiskitRuntimeService.backends()`` can now be ``None``. When set to ``None``, |
| 49 | + no instruction filtering is done, and the returned backend target may contain |
| 50 | + both fractional gates and control flow operations. (`1938 <https://github.com/Qiskit/qiskit-ibm-runtime/pull/1938>`__) |
| 51 | + |
| 52 | + |
| 53 | +Bug Fixes |
| 54 | +--------- |
| 55 | + |
| 56 | +- Fixed a bug where primitives could not be run in the session context with fractional gates. (`1922 <https://github.com/Qiskit/qiskit-ibm-runtime/pull/1922>`__) |
| 57 | + |
| 58 | + |
| 59 | +Other Notes |
| 60 | +----------- |
| 61 | + |
| 62 | +- Deprecations from the ``0.24.0`` release have been removed. The following changes have beend made. |
| 63 | + |
| 64 | + - The arguments backend and session for Sampler and Estimator have been removed and replaced with "mode" |
| 65 | + - The primitive ``Session`` property has been replaced with ``mode`` |
| 66 | + - Specifying options without the full dictionary structure is no longer supported |
| 67 | + - ``Job.program_id()`` has been replaced with ``Job.primitive_id()`` |
| 68 | + - ``Service.run()`` and ``Session.run()`` have been replaced with a private method, ``_run()`` |
| 69 | + - In ``Service.backend()``, "name" is now a required parameter |
| 70 | + - ``Service.get_backend()`` has been removed and replaced with ``backend()`` (`1907 <https://github.com/Qiskit/qiskit-ibm-runtime/pull/1907>`__) |
0 commit comments