qml.operation.has_nopar

has_nopar = BooleanFn(has_nopar)[source]

Returns True if an operator has no parameters according to num_params.