pyquil.api.LocalQVMCompiler

class pyquil.api.LocalQVMCompiler(endpoint, device)[source]

Client to communicate with a locally executing quilc instance.

Parameters:
  • endpoint (str) – HTTP endpoint of the quilc instance.
  • device (AbstractDevice) – PyQuil Device object to use as the compilation target.
__init__(endpoint, device)[source]

Client to communicate with a locally executing quilc instance.

Parameters:
  • endpoint (str) – HTTP endpoint of the quilc instance.
  • device (AbstractDevice) – PyQuil Device object to use as the compilation target.
Return type:

None

Methods

__init__(endpoint, device) Client to communicate with a locally executing quilc instance.
get_version_info() Return version information for this compiler and its dependencies.
native_quil_to_executable(nq_program) Compile a native quil program to a binary executable.
quil_to_native_quil(program) Compile an arbitrary quil program according to the ISA of target_device.