diff --git a/qiskit/transpiler/target.py b/qiskit/transpiler/target.py index bc42a9c11e99..806cfa9e61f6 100644 --- a/qiskit/transpiler/target.py +++ b/qiskit/transpiler/target.py @@ -44,7 +44,6 @@ from qiskit.transpiler.timing_constraints import TimingConstraints from qiskit.providers.exceptions import BackendPropertyError from qiskit.pulse.exceptions import PulseError, UnassignedDurationError -from qiskit.utils.deprecation import deprecate_arg, deprecate_func from qiskit.exceptions import QiskitError # import QubitProperties here to provide convenience alias for building a @@ -242,12 +241,6 @@ class Target(Mapping): "concurrent_measurements", ) - @deprecate_arg( - "aquire_alignment", - new_alias="acquire_alignment", - since="0.23.0", - package_name="qiskit-terra", - ) def __init__( self, description=None, @@ -1143,28 +1136,6 @@ def get_non_global_operation_names(self, strict_direction=False): self._non_global_basis = incomplete_basis_gates return incomplete_basis_gates - @property - @deprecate_func( - additional_msg="Use the property ``acquire_alignment`` instead.", - since="0.24.0", - is_property=True, - package_name="qiskit-terra", - ) - def aquire_alignment(self): - """Alias of deprecated name. This will be removed.""" - return self.acquire_alignment - - @aquire_alignment.setter - @deprecate_func( - additional_msg="Use the property ``acquire_alignment`` instead.", - since="0.24.0", - is_property=True, - package_name="qiskit-terra", - ) - def aquire_alignment(self, new_value: int): - """Alias of deprecated name. This will be removed.""" - self.acquire_alignment = new_value - def __iter__(self): return iter(self._gate_map) diff --git a/releasenotes/notes/deprecate_aquire_alignment-28f64480ed838328.yaml b/releasenotes/notes/deprecate_aquire_alignment-28f64480ed838328.yaml new file mode 100644 index 000000000000..2c67abc3fd10 --- /dev/null +++ b/releasenotes/notes/deprecate_aquire_alignment-28f64480ed838328.yaml @@ -0,0 +1,4 @@ +--- +upgrade: + - | + The method ``qiskit.transpiler.target.Target.aquire_alignment``, deprecated in 0.24, has been removed. The method ``qiskit.transpiler.target.Target.acquire_alignment`` should be used instead.