Skip to content

bloqade.analog.tree_depth

← Module overview

functiontree_depthsource

bloqade.analog.tree_depth

def tree_depth(depth: int = None)

Setting globally maximum depth for tree printing

If depth=None, return current depth. If depth is provided, setting current depth to depth

Parameters

NameTypeDefaultDescription
depthintNonethe user specified depth. Defaults to None.

Returns

int: current updated depth

source