ListOp.traverse

ListOp.traverse(convert_fn, coeff=None)[source]

Apply the convert_fn to each node in the oplist.

Return type

OperatorBase