# SimulationType

Source: https://docs.q-ctrl.com/references/fire-opal/fireopal/fireopal.types.SimulationType

```python
class fireopal.types.SimulationType(time_step, step_count, method='trotter')
```

Definition of the time-evolution scheme used to simulate a model.

### Parameters
* **time_step** (*float*) – Duration of a single time step dt.
* **step_count** (*int*) – Number of time steps to take.
* **method** (*str* *,* *optional*) – Time-evolution method (for example, “trotter”). Currently only “trotter” is
  supported. Defaults to “trotter”.
### Raises
**QctrlArgumentsValueError** – If any field has an invalid type or value.

## Methods

|||
|-----------------------------------------------------------------------------------------------------|-------------------------------------------------|
| [from_dict](https://docs.q-ctrl.com/references/fire-opal/fireopal/fireopal.types.SimulationType.from_dict.md#fireopal.types.SimulationType.from_dict)   | Deserialize the simulation from a dictionary.   |
| [to_dict](https://docs.q-ctrl.com/references/fire-opal/fireopal/fireopal.types.SimulationType.to_dict.md#fireopal.types.SimulationType.to_dict)         | Serialize the simulation to a dictionary.       |

## Attributes

|||
|------------------------------------------------------------------------------------------------------|----|
| [method](https://docs.q-ctrl.com/references/fire-opal/fireopal/fireopal.types.SimulationType.method.md#fireopal.types.SimulationType.method)             |    |
| [time_step](https://docs.q-ctrl.com/references/fire-opal/fireopal/fireopal.types.SimulationType.time_step.md#fireopal.types.SimulationType.time_step)    |    |
| [step_count](https://docs.q-ctrl.com/references/fire-opal/fireopal/fireopal.types.SimulationType.step_count.md#fireopal.types.SimulationType.step_count) |    |
