LOAD

pyquil.gates.LOAD(target_reg, region_name, offset_reg)[source]

Produce a LOAD instruction.

Parameters:
  • target_reg – LOAD storage target.
  • region_name – Named region of memory to load from.
  • offset_reg – Offset into region of memory to load from. Must be a MemoryReference.
Returns:

A ClassicalLoad instance.