forked from Qiskit/qiskit
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deprecate accidentally public internal helper methods on QuantumCircu…
…it (Qiskit#12785) * Deprecate accidentally public qc helper methods * Fix lint * Complete reno and add removal timeline * Update qiskit/circuit/quantumcircuit.py Co-authored-by: Julien Gacon <[email protected]> * Update remaining docstrings and removal timeline. * Trailing whitespace --------- Co-authored-by: Julien Gacon <[email protected]>
- Loading branch information
Showing
4 changed files
with
113 additions
and
23 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
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
11 changes: 11 additions & 0 deletions
11
releasenotes/notes/deprecate-circuit-internal-helpers-ee65fbac455de47c.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,11 @@ | ||
--- | ||
deprecations_circuits: | ||
- | | ||
The following circuit methods were not intended for public use, but were accidentally left documented in the | ||
public API during the 1.0 release. They are now deprecated from Qiskit 1.2 and will be removed in Qiskit 2.0: | ||
* ``QuantumCircuit.cast`` | ||
* ``QuantumCircuit.cls_instances`` | ||
* ``QuantumCircuit.cls_prefix`` | ||
* ``QuantumCircuit.cbit_argument_conversion`` | ||
* ``QuantumCircuit.qbit_argument_conversion`` |