Commit 88d4789f authored by Nguyen, Thien Minh's avatar Nguyen, Thien Minh
Browse files

fixed variables

Signed-off-by: Nguyen, Thien Minh's avatarThien Nguyen <>
parent e0b736a8
......@@ -48,6 +48,7 @@ bool QAOA::expand(const xacc::HeterogeneousMap& runtimeOptions)
// Expand to a parametric kernel
auto kernel = constructParameterizedKernel();
variables = kernel->getVariables();
for (int instId = 0; instId < kernel->nInstructions(); ++instId)
Supports Markdown
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