XACC
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
xacc::RemoteAccelerator Class Referenceabstract
Inheritance diagram for xacc::RemoteAccelerator:
xacc::Accelerator xacc::Identifiable xacc::quantum::DWAccelerator xacc::quantum::IonQAccelerator xacc::quantum::QVMAccelerator

Public Member Functions

 RemoteAccelerator (std::shared_ptr< Client > client)
 
void updateConfiguration (const HeterogeneousMap &config) override
 
void execute (std::shared_ptr< AcceleratorBuffer > buffer, const std::shared_ptr< CompositeInstruction > circuit) override
 
void execute (std::shared_ptr< AcceleratorBuffer > buffer, const std::vector< std::shared_ptr< CompositeInstruction >> circuits) override
 
bool isRemote () override
 
void setClient (std::shared_ptr< Client > client)
 
- Public Member Functions inherited from xacc::Accelerator
virtual void initialize (const HeterogeneousMap &params={})=0
 
virtual void updateConfiguration (const HeterogeneousMap &&config)
 
virtual const std::vector< std::string > configurationKeys ()=0
 
virtual HeterogeneousMap getProperties ()
 
virtual const std::string getSignature ()
 
virtual void contributeInstructions (const std::string &custom_json_config="")
 
virtual const std::string defaultPlacementTransformation ()
 
virtual BitOrder getBitOrder ()
 
virtual void cancel ()
 
virtual std::vector< std::pair< int, int > > getConnectivity ()
 
virtual const std::vector< std::complex< double > > getAcceleratorState (std::shared_ptr< CompositeInstruction > program)
 
- Public Member Functions inherited from xacc::Identifiable
virtual const std::string name () const =0
 
virtual const std::string description () const =0
 
virtual ~Identifiable ()
 

Protected Member Functions

virtual const std::string processInput (std::shared_ptr< AcceleratorBuffer > buffer, std::vector< std::shared_ptr< CompositeInstruction >> circuits)=0
 
virtual void processResponse (std::shared_ptr< AcceleratorBuffer > buffer, const std::string &response)=0
 
std::string handleExceptionRestClientPost (const std::string &_url, const std::string &path, const std::string &postStr, std::map< std::string, std::string > headers)
 
std::string handleExceptionRestClientGet (const std::string &_url, const std::string &path, std::map< std::string, std::string > headers=std::map< std::string, std::string >{}, std::map< std::string, std::string > extraParams={})
 

Protected Attributes

std::shared_ptr< ClientrestClient
 
std::string postPath
 
std::string remoteUrl
 
std::map< std::string, std::string > headers
 

Additional Inherited Members

- Public Types inherited from xacc::Accelerator
enum  BitOrder { LSB, MSB }
 

The documentation for this class was generated from the following files: