EXCHANGE

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

Produce an EXCHANGE instruction.

Parameters
Return type

ClassicalExchange

Returns

A ClassicalExchange instance.