QCOR
Public Member Functions | Protected Attributes | List of all members
qcor::KernelCentralDifferenceGradient Class Reference
Inheritance diagram for qcor::KernelCentralDifferenceGradient:
qcor::KernelGradientService qcor::GradientFunction

Public Member Functions

const std::string name () const override
 
const std::string description () const override
 
virtual void initialize (std::function< std::shared_ptr< CompositeInstruction >(std::vector< double >)> kernel_eval, Operator &obs, xacc::HeterogeneousMap &&options={}) override
 
void initialize (std::shared_ptr< ObjectiveFunction > obj_func, HeterogeneousMap &&options) override
 
- Public Member Functions inherited from qcor::GradientFunction
 GradientFunction (GradientFunctionType func)
 
std::vector< double > operator() (const std::vector< double > &x, double current_val)
 

Protected Attributes

std::shared_ptr< ObjectiveFunctionm_objFunc
 
double m_step = 1e-3
 
std::function< std::shared_ptr< CompositeInstruction >std::vector< double >)> m_kernel_eval
 
Operator m_obs
 
- Protected Attributes inherited from qcor::GradientFunction
GradientFunctionType gradient_func
 

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