qml.operation.defines_diagonalizing_gates

defines_diagonalizing_gates = BooleanFn(defines_diagonalizing_gates)[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.