surface_sim.detectors.Detectors.from_layouts#
- classmethod detectors.Detectors.from_layouts(*layouts, frame='pre-gate', include_gauge_dets=False)#
Creates a
Detectorsobject using the information from the layouts. It loads all the ancilla qubits and their coordinates.