surface_sim.detectors.Detectors.store_state#

detectors.Detectors.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.