Skip to main contentIBM Quantum Documentation

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)

GitHub

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.

Deprecated since version 1.3

qiskit.providers.backend_compat.convert_to_target()’s argument defaults is deprecated as of Qiskit 1.3. It will be removed in Qiskit 2.0. The entire Qiskit Pulse package is being deprecated and this argument uses a dependency on the package.

Parameters

  • configuration (BackendConfiguration) – Backend configuration as BackendConfiguration
  • properties (BackendProperties) – Backend property dictionary or BackendProperties
  • defaults (PulseDefaults) – DEPRECATED. 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.