NEG

pyquil.gates.NEG(classical_reg)[source]

Produce a NEG instruction.

Parameters

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

Return type

ClassicalNeg

Returns

A ClassicalNeg instance.