qat.qpus.RemoteQPU
- class qat.qpus.RemoteQPU(port=None, ip=None, connection=None, plugins=None)
RemoteQPUs are built from a port and an ip address. They behave similarly to a local QPU Handler but also allow adjunction of local Plugins. The information flow inside a RemoteQPU is comparable to the information flow inside a QPUHandler:
when compiling a batch the batch goes through all the local plugins and is sent to the connection. The resulting batch is then returned to the user
when submitting, the batch is compiled using the local plugins and then forwarded through the connection. The results are then post processed by the local Plugins.
- Parameters
port (optional, int) – the port to connect to
ip (optional, str) – the IP address to connect to
plugins (list<qat.plugins.AbstractPlugins>) – a list of plugins. Optional. Defaults to None.
connection (optional Thrift connection) – for internal use