-
Notifications
You must be signed in to change notification settings - Fork 127
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
00981bc
commit ebe7a33
Showing
2 changed files
with
20 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,15 @@ | ||
--- | ||
prelude: > | ||
In this release we added support for the qiskit primitives so that | ||
qiskit-experiments will use the SamplerV2 run path. | ||
In this release we added support for the Qiskit primitives. | ||
Qiskit Experiments will execute circuits using :class:`qiskit_ibm_runtime.SamplerV2` by default. | ||
upgrade: | ||
- | | ||
Upgrade qiskit-experiments to use the SamplerV2 path. An option is | ||
left in to use the old backend.run path, however, this is scheduled | ||
to be deprecated by ibm-runtime in the near future. | ||
When only a ``backend`` is set on an experiment, :meth:`qiskit_experiments.framework.BaseExperiment.run` | ||
now defaults to wrapping the ``backend`` in a :class:`qiskit_ibm_runtime.SamplerV2` and | ||
using that to execute the circuits. A new ``sampler`` argument is also | ||
accepted by ``run()`` to allow for a custom :class:`qiskit.primitives.SamplerV2` | ||
instance to be used for circuit execution. ``run()`` also accepts a ``backend_run`` | ||
option which will cause the old ``backend.run`` path to be used for circuit execution. | ||
However, the ``backend.run()`` method is scheduled to be deprecated by | ||
qiskit-ibm-runtime in the near future. | ||