Public Member Functions | Protected Attributes | List of all members
xacc::algorithm::JSParameterShiftGradientStrategy Class Reference
Inheritance diagram for xacc::algorithm::JSParameterShiftGradientStrategy:
xacc::algorithm::GradientStrategy xacc::Identifiable

Public Member Functions

std::vector< Circuit > getCircuitExecutions (Circuit circuit, const std::vector< double > &x) override
void compute (std::vector< double > &grad, std::vector< std::shared_ptr< AcceleratorBuffer >> results, const std::vector< double > &q_dist, const std::vector< double > &target_dist) override
const std::string name () const override
const std::string description () const override
- Public Member Functions inherited from xacc::Identifiable
virtual ~Identifiable ()

Protected Attributes

std::vector< double > currentParameterSet

Member Function Documentation

const std::string xacc::algorithm::JSParameterShiftGradientStrategy::description ( ) const

Return the description of this instance

description The description of this object.

Implements xacc::Identifiable.

const std::string xacc::algorithm::JSParameterShiftGradientStrategy::name ( ) const

Return the name of this instance.

name The string name

Implements xacc::Identifiable.

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