-
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.
remove deprecated clifford get/set item (#11555)
* remove deprecated clifford getitem and setitum * add release note * Update releasenotes/notes/deprecate_clifford_indexing-5e3500301a696bdc.yaml Co-authored-by: Julien Gacon <gaconju@gmail.com> * Update releasenotes/notes/deprecate_clifford_indexing-5e3500301a696bdc.yaml --------- Co-authored-by: Luciano Bello <bel@zurich.ibm.com> Co-authored-by: Julien Gacon <gaconju@gmail.com>
- Loading branch information
1 parent
75c30e2
commit 7039037
Showing
2 changed files
with
6 additions
and
19 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
6 changes: 6 additions & 0 deletions
6
releasenotes/notes/deprecate_clifford_indexing-5e3500301a696bdc.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,6 @@ | ||
--- | ||
upgrade: | ||
- | | ||
Remove deprecated ``__getitem__``/``__setitem__`` magic methods of | ||
:class:`~qiskit.quantum_info.operators.symplectic.Clifford`. | ||
The methods were deprecated since Qiskit 0.44, released on July 2023. Instead, index or iterate through the :attr:`.Clifford.tableau` attribute. |