qat.plugins.RemotePlugin

A remote plugin started in server mode can be accessed by connecting to the port and IP address. The usage of a remote plugin is detailed in the executing section

class qat.plugins.RemotePlugin(port, ip: str = None, ssl_cert: str = None, ssl_key: str = None, check_server_cert: bool = False, connection=None)

RemotePlugins are built from a port and an ip address.

Parameters
  • port (int) – port number of the QPU server

  • ip (str, optional) – QPU server IP Default: None

  • ssl_cert (str, optional) – path to the client SSL certificate Default: None

  • ssl_key (str, optional) – path to the client SSL key, use SSL if provided Default: None

  • check_server_cert (bool, optional) – check the server certificate if True and in SSL mode

  • connection (optional Thrift connection) – for internal use

compile(batch, specs)

Compile the batch via the connection