XACC
Public Member Functions | Protected Attributes | List of all members
xacc::algorithm::DDCL Class Reference
Inheritance diagram for xacc::algorithm::DDCL:
xacc::Algorithm xacc::Identifiable xacc::Cloneable< Algorithm >

Public Member Functions

bool initialize (const HeterogeneousMap &parameters) override
 
const std::vector< std::string > requiredParameters () const override
 
void execute (const std::shared_ptr< AcceleratorBuffer > buffer) const override
 
std::vector< double > execute (const std::shared_ptr< AcceleratorBuffer > buffer, const std::vector< double > &parameters) override
 
const std::string name () const override
 
const std::string description () const override
 
- Public Member Functions inherited from xacc::Algorithm
virtual double calculate (const std::string &calculation_task, const std::shared_ptr< AcceleratorBuffer > buffer, const HeterogeneousMap &extra_data={})
 
- Public Member Functions inherited from xacc::Identifiable
virtual ~Identifiable ()
 
- Public Member Functions inherited from xacc::Cloneable< Algorithm >
virtual std::shared_ptr< Algorithmclone ()=0
 
virtual bool shouldClone ()
 
virtual ~Cloneable ()
 

Protected Attributes

std::shared_ptr< Optimizeroptimizer
 
std::shared_ptr< CompositeInstructionkernel
 
std::shared_ptr< Acceleratoraccelerator
 
std::vector< double > initial_params
 
std::vector< double > target_dist
 
std::string gradient
 
std::string loss
 
bool persistBuffer = false
 
HeterogeneousMap _parameters
 

Member Function Documentation

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

Return the description of this instance

Returns
description The description of this object.

Implements xacc::Identifiable.

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