qml.operation.has_unitary_gen

has_unitary_gen = <pennylane.boolean_fn.BooleanFn object>[source]

Returns True if an operator has a unitary_generator according to the has_unitary_generator flag.