qiskit.providers.convert_to_target
qiskit.providers.convert_to_target(configuration, properties=None, defaults=None, custom_name_mapping=None, add_delay=True, filter_faulty=True)
Decode transpiler target from backend data set.
This function generates Target`
instance from intermediate legacy objects such as BackendProperties
and PulseDefaults
. These objects are usually components of the legacy BackendV1
model.
Parameters
- configuration (BackendConfiguration) – Backend configuration as
BackendConfiguration
- properties (BackendProperties | None) – Backend property dictionary or
BackendProperties
- defaults (PulseDefaults | None) – Backend pulse defaults dictionary or
PulseDefaults
- custom_name_mapping (Dict[str, Any] | None) – A name mapping must be supplied for the operation not included in Qiskit Standard Gate name mapping, otherwise the operation will be dropped in the resulting
Target
object. - add_delay (bool) – If True, adds delay to the instruction set.
- filter_faulty (bool) – If True, this filters the non-operational qubits.
Returns
A Target
instance.
Was this page helpful?
Report a bug or request content on GitHub.