qml.boolean_fn.Not

class Not(left)[source]

Bases: pennylane.boolean_fn.BooleanFn

Developer facing class for implemeting bitwise NOT for callables wrapped up with BooleanFn.

Parameters

left (BooleanFn) – Left operand in the bitwise expression.

bitwise

Determine whether the wrapped callable performs a bitwise operation or not.

conditional

Determine whether the wrapped callable is for a conditional or not.

bitwise

Determine whether the wrapped callable performs a bitwise operation or not. This checks for the operands attribute that should be defined by it.

conditional

Determine whether the wrapped callable is for a conditional or not. This checks for the condition attribute that should be defined by it.