---
title: SimulatorOptions (v0.26)
description: API reference for qiskit_ibm_runtime.options.SimulatorOptions in qiskit-ibm-runtime v0.26
source: https://quantum.cloud.ibm.com/docs/en/api/qiskit-ibm-runtime/0.26/options-simulator-options
---

# SimulatorOptions

*class* `SimulatorOptions(*args, **kwargs)`

[GitHub](https://github.com/Qiskit/qiskit-ibm-runtime/tree/stable/0.26/qiskit_ibm_runtime/options/simulator_options.py#L33-L107)

Simulator options.

For best practice in simulating a backend make sure to pass the basis gates and coupling map of that backend.

**Parameters**

- **noise\_model** – Noise model for the simulator. Default: `None`.
- **seed\_simulator** – Random seed to control sampling. Default: `None`.
- **coupling\_map** – Directed coupling map to target in mapping. If the coupling map is symmetric, both directions need to be specified. Each entry in the list specifies a directed two-qubit interactions, e.g: `[[0, 1], [0, 3], [1, 2], [1, 5], [2, 5], [4, 1], [5, 3]]`. Default: `None`, which implies no connectivity constraints.
- **basis\_gates** – List of basis gate names to unroll to. For example, `['u1', 'u2', 'u3', 'cx']`. Unrolling is not done if not set. Default: all basis gates supported by the simulator.

## Attributes

### basis\_gates

Type: `UnsetType | List[str]`

Default value: `Unset`

### coupling\_map

Type: `UnsetType | List[List[int]] | CouplingMap`

Default value: `Unset`

### noise\_model

Type: `UnsetType | dict | NoiseModel | None`

Default value: `Unset`

### seed\_simulator

Type: `UnsetType | int`

Default value: `Unset`

## Methods

### set\_backend

`set_backend(backend)`

[GitHub](https://github.com/Qiskit/qiskit-ibm-runtime/tree/stable/0.26/qiskit_ibm_runtime/options/simulator_options.py#L81-L107)

Set backend for simulation. This method changes noise\_model, coupling\_map, basis\_gates according to given backend.

**Parameters**

**backend** (`Union`\[[BackendV1](/docs/api/qiskit/1.4/qiskit.providers.BackendV1), [`BackendV2`](/docs/api/qiskit/qiskit.providers.BackendV2)]) – backend to be set.

**Raises**

**MissingOptionalLibraryError** – if qiskit-aer is not found.

**Return type**

`None`
