AND

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

Produce an AND instruction.

NOTE: The order of operands was reversed in pyQuil <=1.9 .

Parameters:
Return type:

ClassicalAnd

Returns:

A ClassicalAnd instance.