About cookies on this site Our websites require some cookies to function properly (required). In addition, other cookies may be used with your consent to analyze site usage, improve the user experience and for advertising. For more information, please review your options. By visiting our website, you agree to our processing of information as described in IBM’sprivacy statement. To provide a smooth navigation, your cookie preferences will be shared across the IBM web domains listed here.
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.