Commit 369c30a5 authored by Nguyen, Thien Minh's avatar Nguyen, Thien Minh
Browse files

Fixed arguments


Signed-off-by: Nguyen, Thien Minh's avatarNguyen, Thien <nguyentm@ornl.gov>
parent d691f54d
......@@ -21,13 +21,8 @@ namespace circuits {
class QAOA : public xacc::quantum::Circuit {
public:
QAOA() : Circuit("qaoa") {
// Runtime arguments
// Default runtime arguments
arguments.push_back(std::make_shared<xacc::CompositeArgument>("qReg", "qreg"));
arguments.push_back(std::make_shared<xacc::CompositeArgument>("nbQubits", "int"));
arguments.push_back(std::make_shared<xacc::CompositeArgument>("gamma", "std::vector<double>"));
arguments.push_back(std::make_shared<xacc::CompositeArgument>("beta", "std::vector<double>"));
arguments.push_back(std::make_shared<xacc::CompositeArgument>("cost", "Observable*"));
arguments.push_back(std::make_shared<xacc::CompositeArgument>("ref", "Observable*"));
}
bool expand(const xacc::HeterogeneousMap &runtimeOptions) override;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment