Skip to content

Commit

Permalink
Prepare release 0.7 (#582)
Browse files Browse the repository at this point in the history
* fix release notes

* move release notes

* update version

* release note

Co-authored-by: Kevin Tian <[email protected]>
  • Loading branch information
jyu00 and kt474 authored Oct 27, 2022
1 parent 00a9816 commit 7f16b85
Show file tree
Hide file tree
Showing 16 changed files with 40 additions and 42 deletions.
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
# The short X.Y version
version = ''
# The full version, including alpha/beta/rc tags
release = '0.7.0rc3'
release = '0.7.0'

# -- General configuration ---------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion qiskit_ibm_runtime/VERSION.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.7.0rc3
0.7.0
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
deprecations:
- |
Qiskit Runtime programs ``torch-train``, ``torch-infer``, ``sample-expval``,
``sample-program``, and ``quantum_kernal_alignment`` have been deprecated
due to low usage.
7 changes: 7 additions & 0 deletions releasenotes/notes/0.7/flexible-options-d3f7ea8b9cd5c5c3.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
deprecations:
- |
Passing ``instance`` parameter to the
:meth:`qiskit_ibm_runtime.QiskitRuntimeService.run` has been deprecated.
Instead, you can pass the ``instance`` parameter inside the ``options``
parameter.
28 changes: 15 additions & 13 deletions releasenotes/notes/0.7/flexible-session-16ee0d1cba4863cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
prelude: >
There are significant changes to how primitives are invoked within a
session, and the options available to the primitives. Please review the
rest of the release note and the tutorials for full information.
rest of the release notes and the tutorials for full information.
features:
- |
You can now invoke the same or different primitive programs multiple times
Expand Down Expand Up @@ -55,10 +55,11 @@ features:
job = sampler.run(circuits=ReferenceCircuits.bell(), shots=4000)
upgrade:
- |
The experimental parameters `transpilation_settings`, `resilience_settings`,
and `max_time` to the `Sampler` and `Estimator` constructors have been removed.
You can instead use the `qiskit_ibm_runtime.Options` class to specify
the settings, and `max_time` can be specified when starting a new session.
The experimental parameters ``transpilation_settings``, ``resilience_settings``,
and ``max_time`` to the `:class:`qiskit_ibm_runtime.Sampler` and
:class:`qiskit_ibm_runtime.Estimator` constructors have been removed.
You can instead use the :class:`qiskit_ibm_runtime.Options` class to specify
the settings, and ``max_time`` can be specified when starting a new session.
For example::
from qiskit_ibm_runtime import Session, Sampler, Options
Expand All @@ -78,15 +79,16 @@ deprecations:
You can instead use the `qiskit_ibm_runtime.Session` class to create a new
session and invoke one or more primitives within the session.
As a result, passing input parameters, such as `circuits`, `observables`,
`parameters`, and `parameter_values`, as well as `service`
to the constructors of `Sampler` and
`Estimator` has also been deprecated. The inputs can now be passed to the
`run()` method of the primitive classes, and `service` can be passed
to `qiskit_ibm_runtime.Session` when starting a new session.
As a result, passing input parameters, such as ``circuits``, ``observables``,
and ``parameter_values``, as well as ``service``
to the constructors of ``Sampler`` and
``Estimator`` has also been deprecated. The inputs can now be passed to the
``run()`` method of the primitive classes, and ``service`` can be passed
to :class:`qiskit_ibm_runtime.Session` when starting a new session.
- |
Passing `skip_transpilation` to the `Sampler` and `Estimator` constructors
has been deprecated. You can instead use the `qiskit_ibm_runtime.Options`
Passing ``skip_transpilation`` to the `:class:`qiskit_ibm_runtime.Sampler` and
:class:`qiskit_ibm_runtime.Estimator` constructors
has been deprecated. You can instead use the :class:`qiskit_ibm_runtime.Options`
class to specify this option. For example::
from qiskit_ibm_runtime import Options
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
upgrade:
features:
- |
:class:`qiskit_ibm_runtime.RuntimeJob` has a new method
:meth:`~qiskit_ibm_runtime.RuntimeJob.metrics`. This method returns
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ deprecations:
- |
``job_id`` and ``backend`` attributes of :class:`qiskit_ibm_runtime.RuntimeJob`
have been deprecated. Please use :meth:`qiskit_ibm_runtime.RuntimeJob.job_id`
and :meth:`qiskit_ibm_runtime.RuntimeJob.backend` instead.
and :meth:`qiskit_ibm_runtime.RuntimeJob.backend` methods instead.
upgrade:
- |
The :class:`~qiskit_ibm_runtime.RuntimeJob` class is now a subclass of
:class:`qiskit.providers.Job`.
:class:`qiskit.providers.Job`.
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ features:
- |
:class:`qiskit_ibm_runtime.Options` class now accepts arbitrary
keyword arguments. This allows users to specify new options to the
primitive programs without upgrading `qiskit_ibm_runtime`. These
primitive programs without upgrading ``qiskit_ibm_runtime``. These
arbitrary keyword arguments, however, are not validated.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
upgrade:
features:
- |
The :class:`qiskit_ibm_runtime.QiskitRuntimeService` ``channel`` can now be stored
as an environment variable, ``QISKIT_IBM_CHANNEL``. This way, when using Runtime
Primitives, the service does not have to be instantiated manually and can instead
as an environment variable, ``QISKIT_IBM_CHANNEL``. This way, when using Runtime
Primitives, the service does not have to be instantiated manually and can instead
be created directly from environment variables.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
features:
- |
The `run()` methods of the primitives now accept a `callback` parameter.
The :class:`qiskit_ibm_runtime.options.EnvironmentOptions` class now
accepts a ``callback`` parameter.
This parameter can be used to stream the interim and final results of the
primitives.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ features:
- |
The :class:`qiskit_ibm_runtime.Options` class now accepts
``max_execution_time`` as a first level option and ``job_tags``
as an option under `environment`.
as an option under ``environment``.
:class:`qiskit_ibm_runtime.RuntimeOptions` has also been updated
to include these two parameters.
deprecations:
Expand Down
6 changes: 0 additions & 6 deletions releasenotes/notes/deprecated-programs-53fa730f52792bce.yaml

This file was deleted.

12 changes: 0 additions & 12 deletions releasenotes/notes/flexible-options-d3f7ea8b9cd5c5c3.yaml

This file was deleted.

0 comments on commit 7f16b85

Please sign in to comment.