Commit ccadfdf2 authored by Mccaskey, Alex's avatar Mccaskey, Alex
Browse files

set maxeval on qsim vqe test



Signed-off-by: Mccaskey, Alex's avatarAlex McCaskey <mccaskeyaj@ornl.gov>
parent ac52bc59
Pipeline #152603 failed with stage
in 4 minutes and 32 seconds
......@@ -198,7 +198,7 @@ TEST(QsimAcceleratorTester, testVqeMode) {
"- 2.1433 Y0Y1"
"+ .21829 Z0 - 6.125 Z1"));
auto optimizer = xacc::getOptimizer("nlopt");
auto optimizer = xacc::getOptimizer("nlopt", {{"maxeval", 40}});
xacc::qasm(R"(
.compiler xasm
.circuit deuteron_ansatz
......
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