surface_sim.models.Model.store_state#

models.Model.store_state(filename)#

Stores the current state to the given YAML file. This is useful in a conditioned circuit to not encode the first part of the circuit for every realization.