XACC
rotoselect.hpp
1 /*******************************************************************************
2  * Copyright (c) 2020 UT-Battelle, LLC.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * and Eclipse Distribution License v1.0 which accompanies this
6  * distribution. The Eclipse Public License is available at
7  * http://www.eclipse.org/legal/epl-v10.html and the Eclipse Distribution
8  *License is available at https://eclipse.org/org/documents/edl-v10.php
9  *
10  * Contributors:
11  * Thien Nguyen - initial API and implementation
12  *******************************************************************************/
13 #pragma once
14 
15 #include "Algorithm.hpp"
16 
17 namespace xacc {
18 namespace algorithm {
19 class Rotoselect : public Algorithm {
20 public:
21  bool initialize(const HeterogeneousMap& in_parameters) override;
22  const std::vector<std::string> requiredParameters() const override;
23 
24  void execute(const std::shared_ptr<AcceleratorBuffer> buffer) const override;
25 
26  const std::string name() const override { return "rotoselect"; }
27  const std::string description() const override { return ""; }
28  DEFINE_ALGORITHM_CLONE(Rotoselect)
29 
30 private:
31  HeterogeneousMap m_parameters;
32 };
33 } // namespace algorithm
34 } // namespace xacc
const std::string description() const override
Definition: rotoselect.hpp:27
Definition: Algorithm.hpp:34
const std::string name() const override
Definition: rotoselect.hpp:26
Definition: Accelerator.hpp:25
Definition: heterogeneous.hpp:45
Definition: rotoselect.hpp:19