RemoteAccelerator

class RemoteAccelerator : public xacc::Accelerator

Subclassed by xacc::quantum::DWAccelerator, xacc::quantum::IBMAccelerator, xacc::quantum::QVMAccelerator

Public Functions

void execute(std::shared_ptr<AcceleratorBuffer> buffer, const std::shared_ptr<Function> function)

Execute the provided XACC IR Function on the provided AcceleratorBuffer.

Parameters
  • buffer: The buffer of bits this Accelerator should operate on.

  • function: The kernel to execute.

std::vector<std::shared_ptr<AcceleratorBuffer>> execute(std::shared_ptr<AcceleratorBuffer> buffer, const std::vector<std::shared_ptr<Function>> functions)

Execute a set of kernels with one remote call. Return a list of AcceleratorBuffers that provide a new view of the given one AcceleratorBuffer. The ith AcceleratorBuffer contains the results of the ith kernel execution.

Return

tempBuffers The list of new AcceleratorBuffers

Parameters

virtual bool isRemote()

Return true if this Accelerator is a remotely hosted resource.

Return

remote True if this is a remote Accelerator