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.
Remove Bit.register and Bit.index (Qiskit#10996)
* Remove Bit.register and Bit.index * remove impor * black * reno * Fixup release note --------- Co-authored-by: Jake Lishman <[email protected]>
- Loading branch information
1 parent
f808fe5
commit 9439c8f
Showing
3 changed files
with
10 additions
and
60 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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
upgrade: | ||
- | | ||
The properties ``Bit.register`` and ``Bit.index`` are removed. They were deprecated in | ||
Qiskit 0.25 (released in April, 2021). The qubits and bits now live only in the context of | ||
a :class:`.QuantumCircuit`. The alternative to the properties is | ||
to use :meth:`.QuantumCircuit.find_bit` to find all the containing | ||
registers within a circuit and the index of the bit within the | ||
circuit. |
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