XACC
Public Member Functions | List of all members
xacc::quantum::QVMAccelerator Class Reference

#include <QVMAccelerator.hpp>

Inheritance diagram for xacc::quantum::QVMAccelerator:
xacc::RemoteAccelerator xacc::Accelerator xacc::Identifiable

Public Member Functions

 QVMAccelerator (std::shared_ptr< Client > client)
 
const std::string getSignature () override
 
void execute (std::shared_ptr< AcceleratorBuffer > buffer, const std::vector< std::shared_ptr< CompositeInstruction >> functions) override
 
void initialize (const HeterogeneousMap &params={}) override
 
const std::vector< std::string > configurationKeys () override
 
void updateConfiguration (const HeterogeneousMap &config) override
 
const std::string processInput (std::shared_ptr< AcceleratorBuffer > buffer, std::vector< std::shared_ptr< CompositeInstruction >> functions) override
 
void processResponse (std::shared_ptr< AcceleratorBuffer > buffer, const std::string &response) override
 
const std::string name () const override
 
const std::string description () const override
 
- Public Member Functions inherited from xacc::RemoteAccelerator
 RemoteAccelerator (std::shared_ptr< Client > client)
 
void execute (std::shared_ptr< AcceleratorBuffer > buffer, const std::shared_ptr< CompositeInstruction > circuit) override
 
bool isRemote () override
 
void setClient (std::shared_ptr< Client > client)
 
- Public Member Functions inherited from xacc::Accelerator
virtual void updateConfiguration (const HeterogeneousMap &&config)
 
virtual HeterogeneousMap getProperties ()
 
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 ~Identifiable ()
 

Additional Inherited Members

- Public Types inherited from xacc::Accelerator
enum  BitOrder { LSB, MSB }
 
- Protected Member Functions inherited from xacc::RemoteAccelerator
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 inherited from xacc::RemoteAccelerator
std::shared_ptr< ClientrestClient
 
std::string postPath
 
std::string remoteUrl
 
std::map< std::string, std::string > headers
 

Detailed Description

The QVMAccelerator is a QPUGate Accelerator that provides an execute implementation that maps XACC IR to an equivalent Quil string, and executes it on the Rigetti QVM at 127.0.0.1:5000/qvm

Member Function Documentation

const std::string xacc::quantum::QVMAccelerator::description ( ) const
inlineoverridevirtual

Return the description of this instance

Returns
description The description of this object.

Implements xacc::Identifiable.

const std::string xacc::quantum::QVMAccelerator::name ( ) const
inlineoverridevirtual

Return the name of this instance.

Returns
name The string name

Implements xacc::Identifiable.


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