diff --git a/release-notes/0.30.0.rst b/release-notes/0.30.0.rst new file mode 100644 index 000000000..181662a7e --- /dev/null +++ b/release-notes/0.30.0.rst @@ -0,0 +1,70 @@ +0.30.0 (2024-09-23) +=================== + +Deprecation Notes +----------------- + +- The utilityy function ``get_runtime_api_base_url`` has been deprecated. Use ``default_runtime_url_resolver`` instead. (`1914 `__) +- The ``channel_strategy`` parameter has been deprecated. + The Q-CTRL Performance Management strategy will be removed on October 18th, 2024. + To continue using Q-CTRL in your workflow, please explore the following options: + + * If your organization has an existing IBM Quantum Premium Plan instance: migrate to + the Q-CTRL Performance Management Function, found in the + `Qiskit Functions Catalog `__. + + * To continue using Qiskit Runtime with IBM Cloud: migrate to Q-CTRL Fire Opal, + the same performance management product accessible directly through Q-CTRL. + You can `connect your IBM Cloud API key and Qiskit Runtime CRN `__ + to Fire Opal. (`1931 `__) + +- In a future release, ``RuntimeJob.status()`` will be returned as a string instead of + an instance of ``JobStatus``. (`1933 `__) + + +New Features +------------ + +- Added new methods ``Session.usage()``, ``Batch.usage()``, and ``Job.usage()`` that + all return information regarding job and session usage. + Please find more information `here `__. (`1827 `__) +- Added ``ConvertISAToClifford`` transpilation pass to convert the gates of a circuit to Clifford gates. (`1887 `__) +- Added ``url_resolver`` optional input to :class:`.QiskitRuntimeService` + constructor to enable custom generation of the Qiskit Runtime API URL + based on the provided ``url``, ``instance`` and ``private_endpoint``. If + not specified, the default resolver will be used. + + .. code-block:: python + + # Define a custom resolver. In this case returns the concatenation of the provided `url` and the `instance` + def custom_url_resolver(url, instance, *args, **kwargs): + return f"{url}/{instance}" + + service = QiskitRuntimeService(channel="ibm_quantum", instance="ibm-q/open/main", url="https://baseurl.org" url_resolver=custom_url_resolver) + # resulting resolved url will be: `https://baseurl.org/ibm-q/open/main` + +- Added utility function ``default_runtime_url_resolver``. (`1914 `__) +- The ``use_fractional_gates`` flag for ``QiskitRuntimeService.backend()`` and + ``QiskitRuntimeService.backends()`` can now be ``None``. When set to ``None``, + no instruction filtering is done, and the returned backend target may contain + both fractional gates and control flow operations. (`1938 `__) + + +Bug Fixes +--------- + +- Fixed a bug where primitives could not be run in the session context with fractional gates. (`1922 `__) + + +Other Notes +----------- + +- Deprecations from the ``0.24.0`` release have been removed. The following changes have beend made. + + - The arguments backend and session for Sampler and Estimator have been removed and replaced with "mode" + - The primitive ``Session`` property has been replaced with ``mode`` + - Specifying options without the full dictionary structure is no longer supported + - ``Job.program_id()`` has been replaced with ``Job.primitive_id()`` + - ``Service.run()`` and ``Session.run()`` have been replaced with a private method, ``_run()`` + - In ``Service.backend()``, "name" is now a required parameter + - ``Service.get_backend()`` has been removed and replaced with ``backend()`` (`1907 `__) diff --git a/release-notes/unreleased/1827.feat.rst b/release-notes/unreleased/1827.feat.rst deleted file mode 100644 index c07a31b53..000000000 --- a/release-notes/unreleased/1827.feat.rst +++ /dev/null @@ -1,3 +0,0 @@ -Added new methods ``Session.usage()``, ``Batch.usage()``, and ``Job.usage()`` that -all return information regarding job and session usage. -Please find more information here https://docs.quantum.ibm.com/guides/execution-modes#sessions-versus-batch-usage. \ No newline at end of file diff --git a/release-notes/unreleased/1887.feat.rst b/release-notes/unreleased/1887.feat.rst deleted file mode 100644 index a68beeff9..000000000 --- a/release-notes/unreleased/1887.feat.rst +++ /dev/null @@ -1 +0,0 @@ -Added ``ConvertISAToClifford`` transpilation pass to convert the gates of a circuit to Clifford gates. \ No newline at end of file diff --git a/release-notes/unreleased/1907.other.rst b/release-notes/unreleased/1907.other.rst deleted file mode 100644 index 39aee3a3a..000000000 --- a/release-notes/unreleased/1907.other.rst +++ /dev/null @@ -1,9 +0,0 @@ -Deprecations from the ``0.24.0`` release have been removed. The following changes have beend made. - - - The arguments backend and session for Sampler and Estimator have been removed and replaced with "mode" - - The primitive ``Session`` property has been replaced with ``mode`` - - Specifying options without the full dictionary structure is no longer supported - - ``Job.program_id()`` has been replaced with ``Job.primitive_id()`` - - ``Service.run()`` and ``Session.run()`` have been replaced with a private method, ``_run()`` - - In ``Service.backend()``, "name" is now a required parameter - - ``Service.get_backend()`` has been removed and replaced with ``backend()`` \ No newline at end of file diff --git a/release-notes/unreleased/1914.deprecation.rst b/release-notes/unreleased/1914.deprecation.rst deleted file mode 100644 index fee4d04d8..000000000 --- a/release-notes/unreleased/1914.deprecation.rst +++ /dev/null @@ -1 +0,0 @@ -Deprecate util function `get_runtime_api_base_url`: use `default_runtime_url_resolver` instead. \ No newline at end of file diff --git a/release-notes/unreleased/1914.feat.rst b/release-notes/unreleased/1914.feat.rst deleted file mode 100644 index 273ff7c11..000000000 --- a/release-notes/unreleased/1914.feat.rst +++ /dev/null @@ -1,14 +0,0 @@ -Add `url_resolver` optional input to :class:`.QiskitRuntimeService` -constructor to enable custom generation of the Qiskit Runtime API URL -based on the provided `url`, `instance` and `private_endpoint`. If -not specified, the default resolver will be used. - -.. code:: python - # Define a custom resolver. In this case returns the concatenation of the provided `url` and the `instance` - def custom_url_resolver(url, instance, *args, **kwargs): - return f"{url}/{instance}" - - service = QiskitRuntimeService(channel="ibm_quantum", instance="ibm-q/open/main", url="https://baseurl.org" url_resolver=custom_url_resolver) - # resulting resolved url will be: `https://baseurl.org/ibm-q/open/main` - -Add util function `default_runtime_url_resolver`. \ No newline at end of file diff --git a/release-notes/unreleased/1922.but.rst b/release-notes/unreleased/1922.but.rst deleted file mode 100644 index 6d8d671b9..000000000 --- a/release-notes/unreleased/1922.but.rst +++ /dev/null @@ -1 +0,0 @@ -Fix a bug that we cannot run primitives in the session context with fractional gates. \ No newline at end of file diff --git a/release-notes/unreleased/1931.deprecation.rst b/release-notes/unreleased/1931.deprecation.rst deleted file mode 100644 index ab71bf8cf..000000000 --- a/release-notes/unreleased/1931.deprecation.rst +++ /dev/null @@ -1,12 +0,0 @@ -The ``channel_strategy`` parameter has been deprecated. -The Q-CTRL Performance Management strategy will be removed on October 18th, 2024. -To continue using Q-CTRL in your workflow, please explore the following options: - -- If your organization has an existing IBM Quantum Premium Plan instance: migrate to -the Q-CTRL Performance Management Function, found in the -`Qiskit Functions Catalog `__. - -- To continue using Qiskit Runtime with IBM Cloud: migrate to Q-CTRL Fire Opal, -the same performance management product accessible directly through Q-CTRL. -You can `connect your IBM Cloud API key and Qiskit Runtime CRN `__ -to Fire Opal. \ No newline at end of file diff --git a/release-notes/unreleased/1933.deprecation.rst b/release-notes/unreleased/1933.deprecation.rst deleted file mode 100644 index 0cb674d03..000000000 --- a/release-notes/unreleased/1933.deprecation.rst +++ /dev/null @@ -1,2 +0,0 @@ -In a future release, ``RuntimeJob.status()`` will be returned as a string instead of -an instance of ``JobStatus``. \ No newline at end of file diff --git a/release-notes/unreleased/1938.feat.rst b/release-notes/unreleased/1938.feat.rst deleted file mode 100644 index c86bf1f57..000000000 --- a/release-notes/unreleased/1938.feat.rst +++ /dev/null @@ -1,4 +0,0 @@ -The ``use_fractional_gates`` flag for ``QiskitRuntimeService.backend()`` and -``QiskitRuntimeService.backends()`` can now be ``None``. When set to ``None``, -no instruction filtering is done, and the returned backend target may contain -both fractional gates and control flow operations. \ No newline at end of file