qml.operation.defines_diagonalizing_gates

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

Returns True if an operator defines the diagonalizing gates.

This helper function is useful if the property is to be checked in a queuing context, but the resulting gates must not be queued.