XACC
Public Member Functions | Protected Member Functions | List of all members
xacc::algorithm::JSLossStrategy Class Reference
Inheritance diagram for xacc::algorithm::JSLossStrategy:
xacc::algorithm::LossStrategy xacc::Identifiable

Public Member Functions

std::pair< double, std::vector< double > > compute (Counts &counts, const std::vector< double > &target, const HeterogeneousMap &={}) override
 
bool isValidGradientStrategy (const std::string &gradientStrategy) 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 entropy (const std::vector< double > p, const std::vector< double > q)
 

Member Function Documentation

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

Return the description of this instance

Returns
description The description of this object.

Implements xacc::Identifiable.

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