STORE

pyquil.gates.STORE(region_name, offset_reg, source)[source]

Produce a STORE instruction.

Parameters:
  • region_name (str) – Named region of memory to store to.
  • offset_reg (Union[MemoryReference, Tuple[str, int], List[Any], str]) – Offset into memory region. Must be a MemoryReference.
  • source (Union[MemoryReference, Tuple[str, int], List[Any], str, int, float]) – Source data. Can be either a MemoryReference or a constant.
Return type:

ClassicalStore

Returns:

A ClassicalStore instance.