IOR

pyquil.gates.IOR(classical_reg1, classical_reg2)[source]

Produce an inclusive OR instruction.

Parameters:
  • classical_reg1 – The first classical register, which gets modified.
  • classical_reg2 – The second classical register or immediate value.
Returns:

A ClassicalOr instance.