CONVERT

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

Produce a CONVERT instruction.

Parameters:
  • classical_reg1 – MemoryReference to store to.
  • classical_reg2 – MemoryReference to read from.
Returns:

A ClassicalConvert instance.