Skip to content

Commit

Permalink
More small tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
mtreinish committed May 3, 2023
1 parent bf224db commit 4ea4334
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ upgrade_transpiler:
with the matching ``metadata`` attribute of :class:`.QuantumCircuit`.
deprecations_circuits:
- |
Setting the :class:`.QuantumCircuit` :attr:`.QuantumCircuit.metadata` attribute
to ``None`` has been deprecated. Instead, users should set it to an empty
dictionary if they want it to contain no data.
Setting the :class:`.QuantumCircuit` :attr:`~.QuantumCircuit.metadata` attribute
to ``None`` has been deprecated and will no longer be supported in a future
release. Instead, users should set it to an empty dictionary if they want
it to contain no data.
24 changes: 12 additions & 12 deletions releasenotes/notes/0.24/deprecate-algorithms-c6e1e28b6091c507.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,18 @@ deprecations_algorithms:
* Class :class:`qiskit.algorithms.TrotterQRTE` is deprecated and superseded by
:class:`qiskit.algorithms.time_evolvers.trotterization.TrotterQRTE`.
* Using :class:`~qiskit.utils.QuantumInstance` or :class:`~qiskit.providers.Backend`
is deprecated and superseded by :class:`~qiskit.primitives.BaseSampler` in the following
classes:
* :class:`~qiskit.algorithms.amplitude_amplifiers.Grover`,
* :class:`~qiskit.algorithms.amplitude_estimators.AmplitudeEstimation`,
* :class:`~qiskit.algorithms.amplitude_estimators.FasterAmplitudeEstimation`,
* :class:`~qiskit.algorithms.amplitude_estimators.IterativePhaseEstimation`,
* :class:`~qiskit.algorithms.amplitude_estimators.MaximumLikelihoodAmplitudeEstimation`,
* :class:`~qiskit.algorithms.phase_estimators.HamiltonianPhaseEstimation`,
* :class:`~qiskit.algorithms.phase_estimators.IterativePhaseEstimation`,
* :class:`~qiskit.algorithms.phase_estimators.PhaseEstimation`
* Using :class:`~qiskit.utils.QuantumInstance` or :class:`~qiskit.providers.Backend`
is deprecated and superseded by :class:`~qiskit.primitives.BaseSampler` in the following
classes:
* :class:`~qiskit.algorithms.Grover`
* :class:`~qiskit.algorithms.AmplitudeEstimation`
* :class:`~qiskit.algorithms.FasterAmplitudeEstimation`
* :class:`~qiskit.algorithms.IterativePhaseEstimation`
* :class:`~qiskit.algorithms.MaximumLikelihoodAmplitudeEstimation`
* :class:`~qiskit.algorithms.HamiltonianPhaseEstimation`
* :class:`~qiskit.algorithms.IterativePhaseEstimation`
* :class:`~qiskit.algorithms.PhaseEstimation`
* Using :class:`~qiskit.utils.QuantumInstance` or :class:`~qiskit.providers.Backend`
or :class:`~qiskit.opflow.ExpectationBase` is deprecated and superseded by
Expand Down

0 comments on commit 4ea4334

Please sign in to comment.