qml.operation.has_grad_method

has_grad_method = BooleanFn(has_grad_method)[source]

Returns True if an operator has a grad_method defined.

Warning

Deprecated: Use obj.grad_method is not None instead.