15 #include "Algorithm.hpp" 16 #include "AlgorithmGradientStrategy.hpp" 17 #include "CompositeInstruction.hpp" 25 const std::vector<std::string> requiredParameters()
const override;
26 void execute(
const std::shared_ptr<AcceleratorBuffer> buffer)
const override;
27 std::vector<double> execute(
const std::shared_ptr<AcceleratorBuffer> buffer,
const std::vector<double> ¶meters)
override;
28 const std::string
name()
const override {
return "QAOA"; }
30 DEFINE_ALGORITHM_CLONE(
QAOA)
37 std::shared_ptr<CompositeInstruction> externalAnsatz;
Definition: Algorithm.hpp:34
Definition: Accelerator.hpp:25
const std::string name() const override
Definition: qaoa.hpp:28
Definition: Accelerator.hpp:44
Definition: heterogeneous.hpp:45
const std::string description() const override
Definition: qaoa.hpp:29
Definition: Optimizer.hpp:48
Definition: Observable.hpp:31
Definition: AlgorithmGradientStrategy.hpp:21