qiskit/releasenotes/notes/2.0/remove-backend-props-transp...

25 lines
1.4 KiB
YAML

---
upgrade_transpiler:
- |
The following deprecated uses of the ``BackendProperties`` object in the transpilation
pipeline have been removed in Qiskit 2.0:
* ``backend_properties`` input argument in :func:`.transpile`
* ``backend_properties`` input argument in :class:`.PassManagerConfig`
* ``backend_properties`` input argument in :func:`.generate_preset_pass_manager`
* ``backend_properties`` input argument in :func:`.generate_routing_passmanager`
* ``backend_properties`` input argument in :func:`.generate_translation_passmanager`
* ``backend_properties`` input argument :meth:`.Target.from_configuration`
The following passes have also been updated to only accept a ``target`` instead of:
* ``backend_prop`` input argument in :class:`.DenseLayout`
* ``properties`` input argument in :class:`.VF2Layout`
* ``properties`` and ``coupling_map`` input arguments in :class:`.VF2PostLayout`
* ``backend_props`` input argument in :class:`.UnitarySynthesis`
The ``BackendProperties`` class has been deprecated since Qiskit 1.2, as it was part
of the BackendV1 workflow. Specific instruction properties such as gate errors or
durations can be added to a :class:`.Target` upon construction through the
:meth:`.Target.add_instruction` method, and communicated to the relevant transpiler
passes through the `target` input argument.