---
title: SimulatorOptions (latest version)
description: API reference for qiskit_ibm_runtime.options.SimulatorOptions in the latest version of qiskit-ibm-runtime
source: https://quantum.cloud.ibm.com/docs/en/api/qiskit-ibm-runtime/options-simulator-options
---

# SimulatorOptions

*class* `SimulatorOptions(noise_model=Unset, seed_simulator=Unset, coupling_map=Unset, basis_gates=Unset)`

[GitHub](https://github.com/Qiskit/qiskit-ibm-runtime/tree/stable/0.49/qiskit_ibm_runtime/options/simulator_options.py#L30-L110)

Bases: `object`

Simulator options.

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

## Attributes

**Parameters**

- **noise\_model** (*UnsetType | dict | NoiseModel | None*)
- **seed\_simulator** (*UnsetType | int*)
- **coupling\_map** (*UnsetType | list\[list\[int]] |* [*CouplingMap*](/docs/api/qiskit/qiskit.transpiler.CouplingMap))
- **basis\_gates** (*UnsetType | list\[str]*)

### basis\_gates

Type: `UnsetType | list[str]`

Default value: `Unset`

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.

### coupling\_map

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

Default value: `Unset`

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 interaction, e.g: `[[0, 1], [0, 3], [1, 2], [1, 5], [2, 5], [4, 1], [5, 3]]`.

Default: `None`, which implies no connectivity constraints.

### noise\_model

Type: `UnsetType | dict | NoiseModel | None`

Default value: `Unset`

Noise model for the simulator.

This option is only supported in local testing mode.

Default: `None`.

### seed\_simulator

Type: `UnsetType | int`

Default value: `Unset`

Random seed to control sampling.

Default: `None`.

## Methods

### set\_backend

`set_backend(backend)`

[GitHub](https://github.com/Qiskit/qiskit-ibm-runtime/tree/stable/0.49/qiskit_ibm_runtime/options/simulator_options.py#L88-L110)

Set backend for simulation.

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

**Parameters**

**backend** ([*BackendV2*](/docs/api/qiskit/qiskit.providers.BackendV2)) – backend to be set.

**Raises**

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

**Return type**

None
