Skip to main content
IBM Quantum Platform
Diese Seite stammt aus einer alten Version von Qiskit SDK und ist in der aktuellen Version nicht mehr vorhanden. Wir empfehlen Ihnen, auf die neueste Version umzusteigen. Weitere Informationen finden Sie in den Versionshinweisen.

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.

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.

War diese Seite hilfreich?
Melden Sie auf GitHub einen Fehler, einen Tippfehler oder fordern Sie Inhalte an.