---
title: convert_to_target (v1.3)
description: API reference for qiskit.providers.convert_to_target in qiskit v1.3
source: https://eu-de.quantum.cloud.ibm.com/docs/en/api/qiskit/1.3/qiskit.providers.convert_to_target
---

# 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](https://github.com/Qiskit/qiskit/tree/stable/1.3/qiskit/providers/backend_compat.py#L34-L64)

Decode transpiler target from backend data set.

This function generates `` Target` `` instance from intermediate legacy objects such as [`BackendProperties`](/docs/api/qiskit/1.3/qiskit.providers.models.BackendProperties "qiskit.providers.models.BackendProperties") and [`PulseDefaults`](/docs/api/qiskit/1.3/qiskit.providers.models.PulseDefaults "qiskit.providers.models.PulseDefaults"). These objects are usually components of the legacy [`BackendV1`](/docs/api/qiskit/1.3/qiskit.providers.BackendV1 "qiskit.providers.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*](/docs/api/qiskit/1.3/qiskit.providers.models.BackendConfiguration "qiskit.providers.models.backendconfiguration.BackendConfiguration")) – Backend configuration as `BackendConfiguration`
- **properties** ([*BackendProperties*](/docs/api/qiskit/1.3/qiskit.providers.models.BackendProperties "qiskit.providers.models.backendproperties.BackendProperties")) – Backend property dictionary or `BackendProperties`
- **defaults** ([*PulseDefaults*](/docs/api/qiskit/1.3/qiskit.providers.models.PulseDefaults "qiskit.providers.models.pulsedefaults.PulseDefaults")) – DEPRECATED. Backend pulse defaults dictionary or `PulseDefaults`
- **custom\_name\_mapping** ([*Dict*](https://docs.python.org/3/library/typing.html#typing.Dict)*\[*[*str*](https://docs.python.org/3/library/stdtypes.html#str)*,* [*Any*](https://docs.python.org/3/library/typing.html#typing.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*](https://docs.python.org/3/library/functions.html#bool)) – If True, adds delay to the instruction set.
- **filter\_faulty** ([*bool*](https://docs.python.org/3/library/functions.html#bool)) – If True, this filters the non-operational qubits.

**Returns**

A `Target` instance.
