|Home > Iris APIs > Checkpointing > simulation_reset()|
This global function resets the simulation to the same state it had after it was instantiated with
If simulation time is progressing, the simulation is stopped before resetting the system. The simulation time is not resumed after the reset is finished.
A hardware reset can leave some state undefined. A simulation reset must leave all state defined, even state that is architecturally marked as undefined after reset.
A simulation reset must also reset all internal state machines, for example quantum counters.