qat.qpus.UploadedQPU

An uploadable QPU must be defined using the metaclass MetaLocalQPU().

class qat.qpus.UploadedQPU(qpu, *args, **kwargs)

A uploaded QPU is a myQLM QPU uploaded to the server side, to be included in a myQLM Power Access remote stack

Note

This QPU is useless if not used in a myQLM Power Access stack

from qlmaas.qpus import UploadedQPU

# Build a local QPU (should be build using MetaLocalQPU metaclass)
local_qpu = LocalQPU()

# Create a remote stack
stack = RemotePlugin() | UploadedQPU(qpu=local_qpu)

# Submit a batch
stack.submit(...)
Parameters

qpu (CommonQPU) – QPU defined locally and dillable