---
title: BackendConfiguration (latest version)
description: API reference for qiskit_ibm_runtime.models.BackendConfiguration in the latest version of qiskit-ibm-runtime
source: https://eu-de.quantum.cloud.ibm.com/docs/en/api/qiskit-ibm-runtime/models-backend-configuration
---

# BackendConfiguration

*class* `BackendConfiguration(backend_name, backend_version, n_qubits, basis_gates, gates, local, simulator, conditional, open_pulse, memory, coupling_map, meas_levels=None, meas_kernels=None, discriminators=None, meas_map=None, supported_instructions=None, dynamic_reprate_enabled=False, rep_delay_range=None, default_rep_delay=None, sample_name=None, n_registers=None, register_map=None, configurable=None, credits_required=None, online_date=None, display_name=None, description=None, tags=None, dt=None, dtm=None, processor_type=None, parametric_pulses=None, **kwargs)`

[GitHub](https://github.com/Qiskit/qiskit-ibm-runtime/tree/stable/0.49/qiskit_ibm_runtime/models/backend_configuration.py#L491-L494)

Bases: [`QasmBackendConfiguration`](/docs/api/qiskit-ibm-runtime/models-qasm-backend-configuration "qiskit_ibm_runtime.models.backend_configuration.QasmBackendConfiguration")

Backwards compat shim representing an abstract backend configuration.

## Attributes

**Parameters**

- **backend\_name** (*str*)
- **backend\_version** (*str*)
- **n\_qubits** (*int*)
- **basis\_gates** (*list*)
- **gates** (*list*)
- **local** (*bool*)
- **simulator** (*bool*)
- **conditional** (*bool*)
- **open\_pulse** (*bool*)
- **memory** (*bool*)
- **coupling\_map** (*list*)
- **meas\_levels** (*list\[int] | None*)
- **meas\_kernels** (*list\[str] | None*)
- **discriminators** (*list\[str] | None*)
- **meas\_map** (*list | None*)
- **supported\_instructions** (*list\[str] | None*)
- **dynamic\_reprate\_enabled** (*bool*)
- **rep\_delay\_range** (*list\[float] | None*)
- **default\_rep\_delay** (*float | None*)
- **sample\_name** (*str | None*)
- **n\_registers** (*int | None*)
- **register\_map** (*list | None*)
- **configurable** (*bool | None*)
- **credits\_required** (*bool | None*)
- **online\_date** (*datetime.datetime | None*)
- **display\_name** (*str | None*)
- **description** (*str | None*)
- **tags** (*list | None*)
- **dt** (*float | None*)
- **dtm** (*float | None*)
- **processor\_type** (*dict | None*)
- **parametric\_pulses** (*list | None*)
- **kwargs** (*Any*)

### 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-ibm-runtime/tree/stable/0.49/qiskit_ibm_runtime/models/backend_configuration.py#L375-L391)

Create a new GateConfig object from a dictionary.

**Parameters**

**data** (*dict\[str, Any]*) – A dictionary representing the GateConfig to create. It will be in the same format as output by [`to_dict()`](#qiskit_ibm_runtime.models.BackendConfiguration.to_dict "qiskit_ibm_runtime.models.BackendConfiguration.to_dict").

**Returns**

The GateConfig from the input dictionary.

**Return type**

*QasmBackendConfigurationT*

### to\_dict

`to_dict()`

[GitHub](https://github.com/Qiskit/qiskit-ibm-runtime/tree/stable/0.49/qiskit_ibm_runtime/models/backend_configuration.py#L393-L469)

Return a dictionary format representation of the GateConfig.

**Returns**

The dictionary form of the GateConfig.

**Return type**

dict\[str, *Any*]
