Skip to content

Commit 31366f9

Browse files
authored
Prepare release 0.26.0 (#1834)
1 parent f9c907d commit 31366f9

14 files changed

+52
-35
lines changed

release-notes/0.26.0.rst

+52
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
0.26.0 (2024-07-31)
2+
===================
3+
4+
Deprecation Notes
5+
-----------------
6+
7+
- Passing in a backend as a string into ``Session``, ``Batch``, ``EstimatorV2``, and ``SamplerV2``
8+
has been deprecated. Use the actual backend object instead. (`1804 <https://github.com/Qiskit/qiskit-ibm-runtime/pull/1804>`__)
9+
- Passing a backend as the mode in :class:`SamplerV2` and :class:`EstimatorV2`
10+
currently runs a job in job mode even if inside of a :class:`Session` or
11+
:class:`Batch` context manager. This behavior is deprecated and in a future release
12+
the the Session/Batch will take precedence. (`1816 <https://github.com/Qiskit/qiskit-ibm-runtime/pull/1816>`__)
13+
- Passing in ``service`` in ``Session``, ``Batch``
14+
has been deprecated. The ``service`` parameter is no longer necessary because the service
15+
can be extracted from the backend. (`1826 <https://github.com/Qiskit/qiskit-ibm-runtime/pull/1826>`__)
16+
17+
18+
New Features
19+
------------
20+
21+
- The methods ``properties``, ``defaults``, ``configuration``,
22+
and ``check_faulty`` have been added to :class:`FakeBackendV2`. (`1765 <https://github.com/Qiskit/qiskit-ibm-runtime/pull/1765>`__)
23+
- If jobs are run in a session created with :meth:`QiskitRuntimeService.Session.from_id` where the
24+
session is already closed, the jobs are rejected immediately. (`1780 <https://github.com/Qiskit/qiskit-ibm-runtime/pull/1780>`__)
25+
- The input parameters for jobs will no longer be cached. These parameters can include large circuits
26+
and should not be automatically kept in memory. (`1783 <https://github.com/Qiskit/qiskit-ibm-runtime/pull/1783>`__)
27+
- :class:`QiskitRuntimeLocalService` was created to support a local
28+
testing mode. To avoid having to initialize a separate class, "local"
29+
has been added as a valid :class:`QiskitRuntimeService` channel.
30+
31+
.. code-block:: python
32+
33+
service = QiskitRuntimeService(channel="local")
34+
35+
will return a :class:`QiskitRuntimeLocalService` instance. (`1793 <https://github.com/Qiskit/qiskit-ibm-runtime/pull/1793>`__)
36+
- When running jobs on the open plan, there will now be a warning if the limit for the
37+
maximum number of pending jobs has been reached. The service will also attempt to wait
38+
for the oldest pending jobs to finish running before submitting a new job. (`1794 <https://github.com/Qiskit/qiskit-ibm-runtime/pull/1794>`__)
39+
- Added :class:`NoiseLearner` and related functionality, such as
40+
:class:`NoiseLearnerOptions` and :class:`NoiseLearnerResults`. (`1805 <https://github.com/Qiskit/qiskit-ibm-runtime/pull/1805>`__)
41+
42+
43+
Bug Fixes
44+
---------
45+
46+
- Every circuit is checked to be ISA compliant. As part of this check, an error is raised if instructions that are not supported by the backend are detected. Previously, a bug caused some of the instructions to be skipped (those that reside inside bodies of control flow operations). We have fixed the bug in this release. (`1784 <https://github.com/Qiskit/qiskit-ibm-runtime/pull/1784>`__)
47+
- Fixed an issue where calling :meth:`IBMBackend.target_history` would cache the backend target and
48+
then calling :meth:`IBMBackend.target` would incorrectly return that cached target. (`1791 <https://github.com/Qiskit/qiskit-ibm-runtime/pull/1791>`__)
49+
- The options validation for checking if ``zne_mitigation`` or ``pec_mitigation`` are set
50+
to ``True`` when using other related options has been removed. (`1792 <https://github.com/Qiskit/qiskit-ibm-runtime/pull/1792>`__)
51+
- Fixed an issue where users were unable to retrieve job results if
52+
the python library ``simplejson`` was installed in their environment. (`1800 <https://github.com/Qiskit/qiskit-ibm-runtime/pull/1800>`__)

release-notes/unreleased/1765.feat.rst

-2
This file was deleted.

release-notes/unreleased/1780.feat.rst

-2
This file was deleted.

release-notes/unreleased/1783.feat.rst

-2
This file was deleted.

release-notes/unreleased/1784.bug.rst

-1
This file was deleted.

release-notes/unreleased/1791.bug.rst

-2
This file was deleted.

release-notes/unreleased/1792.bug.rst

-2
This file was deleted.

release-notes/unreleased/1793.feat.rst

-8
This file was deleted.

release-notes/unreleased/1794.feat.rst

-3
This file was deleted.

release-notes/unreleased/1800.bug.rst

-2
This file was deleted.

release-notes/unreleased/1804.deprecation.rst

-2
This file was deleted.

release-notes/unreleased/1805.feat.rst

-2
This file was deleted.

release-notes/unreleased/1816.deprecation.rst

-4
This file was deleted.

release-notes/unreleased/1826.deprecation.rst

-3
This file was deleted.

0 commit comments

Comments
 (0)