Skip to content

Commit 7f16b85

Browse files
jyu00kt474
andauthored
Prepare release 0.7 (#582)
* fix release notes * move release notes * update version * release note Co-authored-by: Kevin Tian <[email protected]>
1 parent 00a9816 commit 7f16b85

16 files changed

+40
-42
lines changed

docs/conf.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
# The short X.Y version
4747
version = ''
4848
# The full version, including alpha/beta/rc tags
49-
release = '0.7.0rc3'
49+
release = '0.7.0'
5050

5151
# -- General configuration ---------------------------------------------------
5252

qiskit_ibm_runtime/VERSION.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.7.0rc3
1+
0.7.0
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
deprecations:
3+
- |
4+
Qiskit Runtime programs ``torch-train``, ``torch-infer``, ``sample-expval``,
5+
``sample-program``, and ``quantum_kernal_alignment`` have been deprecated
6+
due to low usage.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
deprecations:
3+
- |
4+
Passing ``instance`` parameter to the
5+
:meth:`qiskit_ibm_runtime.QiskitRuntimeService.run` has been deprecated.
6+
Instead, you can pass the ``instance`` parameter inside the ``options``
7+
parameter.

releasenotes/notes/0.7/flexible-session-16ee0d1cba4863cd.yaml

+15-13
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
prelude: >
33
There are significant changes to how primitives are invoked within a
44
session, and the options available to the primitives. Please review the
5-
rest of the release note and the tutorials for full information.
5+
rest of the release notes and the tutorials for full information.
66
features:
77
- |
88
You can now invoke the same or different primitive programs multiple times
@@ -55,10 +55,11 @@ features:
5555
job = sampler.run(circuits=ReferenceCircuits.bell(), shots=4000)
5656
upgrade:
5757
- |
58-
The experimental parameters `transpilation_settings`, `resilience_settings`,
59-
and `max_time` to the `Sampler` and `Estimator` constructors have been removed.
60-
You can instead use the `qiskit_ibm_runtime.Options` class to specify
61-
the settings, and `max_time` can be specified when starting a new session.
58+
The experimental parameters ``transpilation_settings``, ``resilience_settings``,
59+
and ``max_time`` to the `:class:`qiskit_ibm_runtime.Sampler` and
60+
:class:`qiskit_ibm_runtime.Estimator` constructors have been removed.
61+
You can instead use the :class:`qiskit_ibm_runtime.Options` class to specify
62+
the settings, and ``max_time`` can be specified when starting a new session.
6263
For example::
6364
6465
from qiskit_ibm_runtime import Session, Sampler, Options
@@ -78,15 +79,16 @@ deprecations:
7879
You can instead use the `qiskit_ibm_runtime.Session` class to create a new
7980
session and invoke one or more primitives within the session.
8081
81-
As a result, passing input parameters, such as `circuits`, `observables`,
82-
`parameters`, and `parameter_values`, as well as `service`
83-
to the constructors of `Sampler` and
84-
`Estimator` has also been deprecated. The inputs can now be passed to the
85-
`run()` method of the primitive classes, and `service` can be passed
86-
to `qiskit_ibm_runtime.Session` when starting a new session.
82+
As a result, passing input parameters, such as ``circuits``, ``observables``,
83+
and ``parameter_values``, as well as ``service``
84+
to the constructors of ``Sampler`` and
85+
``Estimator`` has also been deprecated. The inputs can now be passed to the
86+
``run()`` method of the primitive classes, and ``service`` can be passed
87+
to :class:`qiskit_ibm_runtime.Session` when starting a new session.
8788
- |
88-
Passing `skip_transpilation` to the `Sampler` and `Estimator` constructors
89-
has been deprecated. You can instead use the `qiskit_ibm_runtime.Options`
89+
Passing ``skip_transpilation`` to the `:class:`qiskit_ibm_runtime.Sampler` and
90+
:class:`qiskit_ibm_runtime.Estimator` constructors
91+
has been deprecated. You can instead use the :class:`qiskit_ibm_runtime.Options`
9092
class to specify this option. For example::
9193
9294
from qiskit_ibm_runtime import Options

releasenotes/notes/0.7/job-metrics-endpoint-82d61cf269c27933.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
upgrade:
2+
features:
33
- |
44
:class:`qiskit_ibm_runtime.RuntimeJob` has a new method
55
:meth:`~qiskit_ibm_runtime.RuntimeJob.metrics`. This method returns

releasenotes/notes/0.7/job_id_backend_attr-20dffa6335e508f4.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ deprecations:
33
- |
44
``job_id`` and ``backend`` attributes of :class:`qiskit_ibm_runtime.RuntimeJob`
55
have been deprecated. Please use :meth:`qiskit_ibm_runtime.RuntimeJob.job_id`
6-
and :meth:`qiskit_ibm_runtime.RuntimeJob.backend` instead.
6+
and :meth:`qiskit_ibm_runtime.RuntimeJob.backend` methods instead.
77
upgrade:
88
- |
99
The :class:`~qiskit_ibm_runtime.RuntimeJob` class is now a subclass of
10-
:class:`qiskit.providers.Job`.
10+
:class:`qiskit.providers.Job`.

releasenotes/notes/options_kwargs-70805bc4464691a4.yaml renamed to releasenotes/notes/0.7/options_kwargs-70805bc4464691a4.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ features:
33
- |
44
:class:`qiskit_ibm_runtime.Options` class now accepts arbitrary
55
keyword arguments. This allows users to specify new options to the
6-
primitive programs without upgrading `qiskit_ibm_runtime`. These
6+
primitive programs without upgrading ``qiskit_ibm_runtime``. These
77
arbitrary keyword arguments, however, are not validated.
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
2-
upgrade:
2+
features:
33
- |
44
The :class:`qiskit_ibm_runtime.QiskitRuntimeService` ``channel`` can now be stored
5-
as an environment variable, ``QISKIT_IBM_CHANNEL``. This way, when using Runtime
6-
Primitives, the service does not have to be instantiated manually and can instead
5+
as an environment variable, ``QISKIT_IBM_CHANNEL``. This way, when using Runtime
6+
Primitives, the service does not have to be instantiated manually and can instead
77
be created directly from environment variables.
88
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
features:
33
- |
4-
The `run()` methods of the primitives now accept a `callback` parameter.
4+
The :class:`qiskit_ibm_runtime.options.EnvironmentOptions` class now
5+
accepts a ``callback`` parameter.
56
This parameter can be used to stream the interim and final results of the
67
primitives.

releasenotes/notes/tags-max-time-dc170df8d1bc8c25.yaml renamed to releasenotes/notes/0.7/tags-max-time-dc170df8d1bc8c25.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ features:
33
- |
44
The :class:`qiskit_ibm_runtime.Options` class now accepts
55
``max_execution_time`` as a first level option and ``job_tags``
6-
as an option under `environment`.
6+
as an option under ``environment``.
77
:class:`qiskit_ibm_runtime.RuntimeOptions` has also been updated
88
to include these two parameters.
99
deprecations:

releasenotes/notes/deprecated-programs-53fa730f52792bce.yaml

-6
This file was deleted.

releasenotes/notes/flexible-options-d3f7ea8b9cd5c5c3.yaml

-12
This file was deleted.

0 commit comments

Comments
 (0)