---
title: BackendConfiguration (v1.4)
description: API reference for qiskit.providers.models.BackendConfiguration in qiskit v1.4
source: https://eu-de.quantum.cloud.ibm.com/docs/en/api/qiskit/1.4/qiskit.providers.models.BackendConfiguration
---

# BackendConfiguration

*class* `qiskit.providers.models.BackendConfiguration(*args, **kwargs)`

[GitHub](https://github.com/Qiskit/qiskit/tree/stable/1.4/qiskit/providers/models/backendconfiguration.py#L520-L533)

Bases: [`QasmBackendConfiguration`](/docs/api/qiskit/1.4/qiskit.providers.models.QasmBackendConfiguration "qiskit.providers.models.backendconfiguration.QasmBackendConfiguration")

Backwards compatibility shim representing an abstract backend configuration.

> **Deprecated since version 1.2**
>
> The class `qiskit.providers.models.backendconfiguration.BackendConfiguration` is deprecated as of qiskit 1.2. It will be removed in the 2.0 release. The models in `qiskit.providers.models` are part of the deprecated BackendV1 workflow and no longer necessary for BackendV2. If a user workflow requires these representations it likely relies on deprecated functionality and should be updated to use BackendV2.

## Attributes

### num\_qubits

Returns the number of qubits.

In future, n\_qubits should be replaced in favor of num\_qubits for consistent use throughout Qiskit. Until this is properly refactored, this property serves as intermediate solution.

## Methods

### from\_dict

*classmethod* `from_dict(data)`

[GitHub](https://github.com/Qiskit/qiskit/tree/stable/1.4/qiskit/providers/models/backendconfiguration.py#L413-L427)

Create a new GateConfig object from a dictionary.

**Parameters**

**data** ([*dict*](https://docs.python.org/3/library/stdtypes.html#dict)) – A dictionary representing the GateConfig to create. It will be in the same format as output by [`to_dict()`](#qiskit.providers.models.BackendConfiguration.to_dict "qiskit.providers.models.BackendConfiguration.to_dict").

**Returns**

The GateConfig from the input dictionary.

**Return type**

[GateConfig](/docs/api/qiskit/1.4/qiskit.providers.models.GateConfig "qiskit.providers.models.GateConfig")

### to\_dict

`to_dict()`

[GitHub](https://github.com/Qiskit/qiskit/tree/stable/1.4/qiskit/providers/models/backendconfiguration.py#L429-L498)

Return a dictionary format representation of the GateConfig.

**Returns**

The dictionary form of the GateConfig.

**Return type**

[dict](https://docs.python.org/3/library/stdtypes.html#dict)
