surface_sim.detectors.Detectors.activate_detectors#

detectors.Detectors.activate_detectors(anc_qubits, gauge_dets=None)#

Activates the given ancilla detectors.

Parameters:
anc_qubits

List of ancilla detectors to activate.

gauge_dets

List of ancilla detectors that do not have a deterministic outcome in their first QEC round. This is only important if include_gauge_dets = False was set when initializing this object.