OR

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

Produce an OR instruction.

NOTE: Deprecated. Use IOR instead.

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

A ClassicalOr instance.