MarcSerraPeralta / surface-sim

Repository for simulations of surface code experiments
MIT License
0 stars 1 forks source link

Add `Detectors.new_circuit` #63

Closed MarcSerraPeralta closed 1 month ago

MarcSerraPeralta commented 1 month ago

Detectors.new_circuit is the equivalent of Model.new_circuit, in which all the internal states are reset as the classes were initialized in order to build a new circuit. Now, the experiments already call Detectors.new_circuit by default in order to avoid problems.