qml.operation.is_trainable

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

Returns True if any of the parameters of an operator is trainable according to qml.math.requires_grad.