XACC
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
xacc::algorithm::MMDParameterShiftGradientStrategy Class Reference
Inheritance diagram for xacc::algorithm::MMDParameterShiftGradientStrategy:
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 Member Functions

double kernel_expect (Eigen::MatrixXd K, std::vector< double > px, std::vector< double > py)
 
Eigen::MatrixXd mix_rbf_kernel (std::vector< int > x, std::vector< int > y, std::vector< double > sigma_list, int num_bit)
 
Eigen::MatrixXd _mix_rbf_kernel_d (Eigen::MatrixXd dx2, std::vector< double > sigma_list)
 

Protected Attributes

std::vector< double > currentParameterSet
 

Member Function Documentation

const std::string xacc::algorithm::MMDParameterShiftGradientStrategy::description ( ) const
inlineoverridevirtual

Return the description of this instance

Returns
description The description of this object.

Implements xacc::Identifiable.

const std::string xacc::algorithm::MMDParameterShiftGradientStrategy::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 file: