ADD

pyquil.gates.ADD(classical_reg, right)[source]

Produce an ADD instruction.

Parameters:
  • classical_reg – Left operand for the arithmetic operation. Also serves as the store target.
  • right – Right operand for the arithmetic operation.
Returns:

A ClassicalAdd instance.