LOAD

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

Produce a LOAD instruction.

Parameters
  • target_reg (Union[MemoryReference, Tuple[str, int], List[Any], str]) – LOAD storage target.

  • region_name (str) – Named region of memory to load from.

  • offset_reg (Union[MemoryReference, Tuple[str, int], List[Any], str]) – Offset into region of memory to load from. Must be a MemoryReference.

Return type

ClassicalLoad

Returns

A ClassicalLoad instance.