XOR

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

Produce an exclusive OR instruction.

Parameters:
Return type:

ClassicalExclusiveOr

Returns:

A ClassicalExclusiveOr instance.