pennylane_calculquebec.utility.graph.path_length

Contents

pennylane_calculquebec.utility.graph.path_length#

pennylane_calculquebec.utility.graph.path_length(path)#

the length of a path

Parameters:

path (list[int]) – the path to find the length of

Returns:

the length of a given path

Return type:

int