XACC
Public Member Functions | Protected Attributes | List of all members
xacc::algorithm::SingleQubitQAOA Class Reference
Inheritance diagram for xacc::algorithm::SingleQubitQAOA:
xacc::algorithm::OperatorPool xacc::Identifiable

Public Member Functions

bool optionalParameters (const HeterogeneousMap parameters) override
 
std::vector< std::shared_ptr< Observable > > generate (const int &nQubits) override
 
std::string operatorString (const int index) override
 
std::shared_ptr< CompositeInstructiongetOperatorInstructions (const int opIdx, const int varIdx) const 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< std::shared_ptr< Observable > > pool
 
std::shared_ptr< ObservablecostHamiltonian
 

Member Function Documentation

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

Return the description of this instance

Returns
description The description of this object.

Implements xacc::Identifiable.

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