Skip to content

Commit

Permalink
Update remaining docstrings and removal timeline.
Browse files Browse the repository at this point in the history
  • Loading branch information
ElePT committed Jul 24, 2024
1 parent 4d0cd05 commit a7b7361
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions qiskit/circuit/quantumcircuit.py
Original file line number Diff line number Diff line change
Expand Up @@ -1403,7 +1403,7 @@ def _increment_instances(cls):
@classmethod
@deprecate_func(
since=1.2,
removal_timeline="in qiskit 2.0",
removal_timeline="in the 2.0 release",
additional_msg="This method is only used as an internal helper "
"and will be removed with no replacement.",
)
Expand All @@ -1421,7 +1421,7 @@ def _cls_instances(cls) -> int:
@classmethod
@deprecate_func(
since=1.2,
removal_timeline="in qiskit 2.0",
removal_timeline="in the 2.0 release",
additional_msg="This method is only used as an internal helper "
"and will be removed with no replacement.",
)
Expand Down Expand Up @@ -2293,7 +2293,7 @@ def __getitem__(self, item):
@staticmethod
@deprecate_func(
since=1.2,
removal_timeline="in qiskit 2.0",
removal_timeline="in the 2.0 release",
additional_msg="This method is only used as an internal helper "
"and will be removed with no replacement.",
)
Expand All @@ -2314,7 +2314,7 @@ def _cast(value: S, type_: Callable[..., T]) -> Union[S, T]:

@deprecate_func(
since=1.2,
removal_timeline="in qiskit 2.0",
removal_timeline="in the 2.0 release",
additional_msg="This method is only used as an internal helper "
"and will be removed with no replacement.",
)
Expand All @@ -2338,18 +2338,18 @@ def _qbit_argument_conversion(self, qubit_representation: QubitSpecifier) -> lis
into a list of qubits.
Args:
qubit_representation (Object): representation to expand
qubit_representation: Representation to expand.
Returns:
List(Qubit): the resolved instances of the qubits.
The resolved instances of the qubits.
"""
return _bit_argument_conversion(
qubit_representation, self.qubits, self._qubit_indices, Qubit
)

@deprecate_func(
since=1.2,
removal_timeline="in qiskit 2.0",
removal_timeline="in the 2.0 release",
additional_msg="This method is only used as an internal helper "
"and will be removed with no replacement.",
)
Expand All @@ -2359,10 +2359,10 @@ def cbit_argument_conversion(self, clbit_representation: ClbitSpecifier) -> list
into a list of classical bits.
Args:
clbit_representation (Object): representation to expand
clbit_representation : Representation to expand.
Returns:
List(tuple): Where each tuple is a classical bit.
A list of tuples where each tuple is a classical bit.
"""
return self._cbit_argument_conversion(clbit_representation)

Expand All @@ -2372,10 +2372,10 @@ def _cbit_argument_conversion(self, clbit_representation: ClbitSpecifier) -> lis
into a list of classical bits.
Args:
clbit_representation (Object): representation to expand
clbit_representation : Representation to expand.
Returns:
List(tuple): Where each tuple is a classical bit.
A list of tuples where each tuple is a classical bit.
"""
return _bit_argument_conversion(
clbit_representation, self.clbits, self._clbit_indices, Clbit
Expand Down

0 comments on commit a7b7361

Please sign in to comment.