surface_sim.layouts.Layout.get_qubits#

layouts.Layout.get_qubits(**conds)#

Return the qubit labels that meet a set of conditions.

Parameters:
**conds

Dictionary of the conditions.

Returns:
nodes

The list of qubit labels that meet all conditions.

Notes

The order that the qubits appear in is defined during the initialization of the layout and remains fixed.

The conditions conds are the keyward arguments that specify the value (object) that each parameter label (str) needs to take.