Public Member Functions | Protected Attributes | List of all members
xacc::AlgorithmGradientStrategy Class Referenceabstract
Inheritance diagram for xacc::AlgorithmGradientStrategy:
xacc::Identifiable xacc::algorithm::ParameterShiftGradient

Public Member Functions

virtual bool optionalParameters (const HeterogeneousMap parameters)=0
virtual std::vector< std::shared_ptr< CompositeInstruction > > getGradientExecutions (std::shared_ptr< CompositeInstruction > circuit, const std::vector< double > &x)=0
virtual void compute (std::vector< double > &dx, std::vector< std::shared_ptr< AcceleratorBuffer >> results)=0
- Public Member Functions inherited from xacc::Identifiable
virtual const std::string name () const =0
virtual const std::string description () const =0
virtual ~Identifiable ()

Protected Attributes

std::vector< int > nInstructionsElement
std::vector< double > coefficients

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