-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Extend deprecation of QuantumCircuit.duration and DAGCircuit.duration
Since we're unlikely to be able to include these removals as part of Qiskit 2.0.0 given the dependencies on them and that the removals are not critical for any work we have in the 2.x series this commit opts to just update the deprecation message to say the removal will occur in Qiskit 3.0.0 not 2.0.0 like was originally planned.
- Loading branch information
Showing
3 changed files
with
21 additions
and
6 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
15 changes: 15 additions & 0 deletions
15
releasenotes/notes/extend-deprecation-duration-0221fcc9887ced0d.yaml
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- | ||
deprecations_circuits: | ||
- | | ||
The deprecated :attr:`.QuantumCircuit.duration` attribute was not removed | ||
in this release as originally planned, it will be removed as part of the | ||
Qiskit 3.0.0 release instead. This functionality has been superseded | ||
by the :meth:`.QuantumCircuit.estimate_duration` method which should be used | ||
instead. | ||
deprecations_transpiler: | ||
- | | ||
The deprecated :attr:`.DAGCircuit.duration` attribute was not removed | ||
in this release as originally planned, it will be removed as part of the | ||
Qiskit 3.0.0 release instead. This functionality has been superseded | ||
by the :meth:`.QuantumCircuit.estimate_duration` method which should be used | ||
instead. |