QPU

class pyquil.api.QPU(endpoint, user='pyquil-user', priority=1)[source]

A connection to the QPU.

Parameters:
  • endpoint (str) – Address to connect to the QPU server.
  • user (str) – A string identifying who’s running jobs.
  • priority (int) – The priority with which to insert jobs into the QPU queue. Lower integers correspond to higher priority.