surface_sim.layouts.Layout.get_inds#

layouts.Layout.get_inds(qubits)#

Returns the indices of the qubits.

Parameters:
qubits

List of qubits.

Returns:
The list of qubit indices.