surface_sim.layouts.check_overlap_layouts#

check_overlap_layouts(*layouts)[source]#

Checks if the given layouts share any qubits for when doing parallel logical computation with them.

It checks that there are no shared qubit (1) labels, (2) indices, (3) coordinates, and (4) logical qubit labels.

Parameters:
*layouts

Layouts.