qml.operation.has_gen

has_gen = BooleanFn(has_gen)[source]

Returns True if an operator has a generator defined.