scqubits.utils.misc.number_of_lists_in_list#

scqubits.utils.misc.number_of_lists_in_list(list_object)[source]#

Takes a list as an argument and returns the number of lists in that list. (Counts lists at root level only, no recursion.)

Parameters:

list_object (list) – List to be analyzed

Return type:

The number of lists in the list