NOT

pyquil.gates.NOT(classical_reg)[source]

Produce a NOT instruction.

Parameters

classical_reg (Union[MemoryReference, Tuple[str, int], List[Any], str]) – A classical register to modify.

Return type

ClassicalNot

Returns

A ClassicalNot instance.