SimulationType

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_dictDeserialize the simulation from a dictionary.
to_dictSerialize the simulation to a dictionary.

Attributes

method
time_step
step_count

Was this useful?