From 2a5425da8c6b980ab4c7dbd630f5c183741dd406 Mon Sep 17 00:00:00 2001 From: Kevin Tian Date: Wed, 30 Oct 2024 16:45:58 -0400 Subject: [PATCH] Prepare release 0.32.0 (#2006) * Prepare release 0.32.0 * Update release-notes/0.32.0.rst Co-authored-by: Rebecca Dimock <66339736+beckykd@users.noreply.github.com> * Update release-notes/0.32.0.rst Co-authored-by: Rebecca Dimock <66339736+beckykd@users.noreply.github.com> * Update release-notes/0.32.0.rst Co-authored-by: Rebecca Dimock <66339736+beckykd@users.noreply.github.com> --------- Co-authored-by: Rebecca Dimock <66339736+beckykd@users.noreply.github.com> --- release-notes/0.32.0.rst | 48 +++++++++++++++++++++++++ release-notes/unreleased/1923.feat.rst | 15 -------- release-notes/unreleased/1955.feat.rst | 2 -- release-notes/unreleased/1965.other.rst | 4 --- release-notes/unreleased/1966.other.rst | 11 ------ release-notes/unreleased/1982.feat.rst | 1 - release-notes/unreleased/1995.feat.rst | 2 -- 7 files changed, 48 insertions(+), 35 deletions(-) create mode 100644 release-notes/0.32.0.rst delete mode 100644 release-notes/unreleased/1923.feat.rst delete mode 100644 release-notes/unreleased/1955.feat.rst delete mode 100644 release-notes/unreleased/1965.other.rst delete mode 100644 release-notes/unreleased/1966.other.rst delete mode 100644 release-notes/unreleased/1982.feat.rst delete mode 100644 release-notes/unreleased/1995.feat.rst diff --git a/release-notes/0.32.0.rst b/release-notes/0.32.0.rst new file mode 100644 index 000000000..c3a44a936 --- /dev/null +++ b/release-notes/0.32.0.rst @@ -0,0 +1,48 @@ +0.32.0 (2024-10-30) +=================== + +New Features +------------ + +- Added :func:`~.draw_execution_spans`, a function for creating a Plotly figure that + visualizes one or more :class:`~.ExecutionSpans` objects. Also added the convenience + method :meth:`~.ExecutionSpans.draw` to invoke the drawing function on a + particular instance. (`1923 `__) + + .. code-block:: python + + from qiskit_ibm_runtime.visualization import draw_execution_spans + + # use the drawing function on spans from sampler job data + spans1 = sampler_job1.result().metadata["execution"]["execution_spans"] + spans2 = sampler_job2.result().metadata["execution"]["execution_spans"] + draw_execution_spans(spans1, spans2) + + # convenience to plot just spans1 + spans1.draw() + +- Added a new method, ``backend.refresh()`` that refreshes the + current backend target with the latest updates from the server. (`1955 `__) +- Added :class:`.DoubleSliceSpan`, an :class:`ExecutionSpan` for batching with two slices. (`1982 `__) +- Each of :class:`.SamplerV2`, :class:`.EstimatorV2`, and :class:`.noise_learner.NoiseLearner` now has + a ``backend()`` method that returns the backend that the class is configured with. (`1995 `__) + + +Other Notes +----------- + +- Deprecations from the ``0.25.0`` release have been removed. + + - ``optimization_level`` is no longer a valid option for ``EstimatorV2``. + - Job methods ``interim_results()`` and ``stream_results()`` have been removed. (`1965 `__) +- The ``channel_strategy`` parameter in ``QiskitRuntimeService`` has been removed. + 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. (`1966 `__) diff --git a/release-notes/unreleased/1923.feat.rst b/release-notes/unreleased/1923.feat.rst deleted file mode 100644 index 7c375d143..000000000 --- a/release-notes/unreleased/1923.feat.rst +++ /dev/null @@ -1,15 +0,0 @@ -Add :func:`~.draw_execution_spans` function for creating a Plotly figure that -visualizes one or more :class:`~.ExecutionSpans` objects. Also add the convenience -method :meth:`~.ExecutionSpans.draw` for invoking the drawing function on a -particular instance. - -.. code::python - from qiskit_ibm_runtime.visualization import draw_execution_spans - - # use the drawing function on spans from sampler job data - spans1 = sampler_job1.result().metadata["execution"]["execution_spans"] - spans2 = sampler_job2.result().metadata["execution"]["execution_spans"] - draw_execution_spans(spans1, spans2) - - # convenience to plot just spans1 - spans1.draw() \ No newline at end of file diff --git a/release-notes/unreleased/1955.feat.rst b/release-notes/unreleased/1955.feat.rst deleted file mode 100644 index 59960305d..000000000 --- a/release-notes/unreleased/1955.feat.rst +++ /dev/null @@ -1,2 +0,0 @@ -Added a new method, ``backend.refresh()`` that refreshes the -current backend target with the latest updates from the server. \ No newline at end of file diff --git a/release-notes/unreleased/1965.other.rst b/release-notes/unreleased/1965.other.rst deleted file mode 100644 index b2c6706e0..000000000 --- a/release-notes/unreleased/1965.other.rst +++ /dev/null @@ -1,4 +0,0 @@ -Deprecations from the ``0.25.0`` release have been removed. - - - ``optimization_level`` is no longer a valid option for ``EstimatorV2``. - - Job methods ``interim_results()`` and ``stream_results()`` have been removed. \ No newline at end of file diff --git a/release-notes/unreleased/1966.other.rst b/release-notes/unreleased/1966.other.rst deleted file mode 100644 index 440dec91d..000000000 --- a/release-notes/unreleased/1966.other.rst +++ /dev/null @@ -1,11 +0,0 @@ -The ``channel_strategy`` parameter in ``QiskitRuntimeService`` has been removed. -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/1982.feat.rst b/release-notes/unreleased/1982.feat.rst deleted file mode 100644 index 31f634561..000000000 --- a/release-notes/unreleased/1982.feat.rst +++ /dev/null @@ -1 +0,0 @@ -Added :class:`.DoubleSliceSpan`, an :class:`ExecutionSpan` for batching with two slices. diff --git a/release-notes/unreleased/1995.feat.rst b/release-notes/unreleased/1995.feat.rst deleted file mode 100644 index f59d53ba3..000000000 --- a/release-notes/unreleased/1995.feat.rst +++ /dev/null @@ -1,2 +0,0 @@ -:class:`.SamplerV2`, :class:`.EstimatorV2`, and :class:`.noise_learner.NoiseLearner` now each has -a ``backend()`` method that returns the backend the class is configured with. \ No newline at end of file