---
title: RunConfig (v1.1)
description: API reference for qiskit.assembler.RunConfig in qiskit v1.1
source: https://eu-de.quantum.cloud.ibm.com/docs/en/api/qiskit/1.1/qiskit.assembler.RunConfig
---

# RunConfig

*class* `qiskit.assembler.RunConfig(shots=None, seed_simulator=None, memory=None, parameter_binds=None, **kwargs)`

[GitHub](https://github.com/Qiskit/qiskit/tree/stable/1.1/qiskit/assembler/run_config.py#L18-L77)

Bases: [`SimpleNamespace`](https://docs.python.org/3/library/types.html#types.SimpleNamespace)

Class for Run Configuration.

### shots

the number of shots

**Type**

[int](https://docs.python.org/3/library/functions.html#int)

### seed\_simulator

the seed to use in the simulator

**Type**

[int](https://docs.python.org/3/library/functions.html#int)

### memory

whether to request memory from backend (per-shot readouts)

**Type**

[bool](https://docs.python.org/3/library/functions.html#bool)

### parameter\_binds

List of parameter bindings

**Type**

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

Initialize a RunConfig object

**Parameters**

- **shots** ([*int*](https://docs.python.org/3/library/functions.html#int)) – the number of shots
- **seed\_simulator** ([*int*](https://docs.python.org/3/library/functions.html#int)) – the seed to use in the simulator
- **memory** ([*bool*](https://docs.python.org/3/library/functions.html#bool)) – whether to request memory from backend (per-shot readouts)
- **parameter\_binds** ([*list*](https://docs.python.org/3/library/stdtypes.html#list)*\[*[*dict*](https://docs.python.org/3/library/stdtypes.html#dict)*]*) – List of parameter bindings
- **\*\*kwargs** – optional fields

## Methods

### from\_dict

*classmethod* `from_dict(data)`

[GitHub](https://github.com/Qiskit/qiskit/tree/stable/1.1/qiskit/assembler/run_config.py#L57-L69)

Create a new RunConfig object from a dictionary.

**Parameters**

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

**Returns**

The RunConfig from the input dictionary.

**Return type**

[RunConfig](#qiskit.assembler.RunConfig "qiskit.assembler.RunConfig")

### to\_dict

`to_dict()`

[GitHub](https://github.com/Qiskit/qiskit/tree/stable/1.1/qiskit/assembler/run_config.py#L71-L77)

Return a dictionary format representation of the RunConfig

**Returns**

The dictionary form of the RunConfig.

**Return type**

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