GT

pyquil.gates.GT(classical_reg1, classical_reg2, classical_reg3)[source]

Produce an GT instruction.

Parameters:
  • classical_reg1 – Memory address to which to store the comparison result.
  • classical_reg2 – Left comparison operand.
  • classical_reg3 – Right comparison operand.
Returns:

A ClassicalGreaterThan instance.