qml.operation.is_trainable

is_trainable = BooleanFn(is_trainable)[source]

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