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

Fixed the QAOA circuit signature



Signed-off-by: default avatarNguyen, Thien <nguyentm@ornl.gov>
parent 3622d174
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -101,7 +101,7 @@ TEST(VQETester, checkQaoa) {
          gammas.emplace_back(x[i]);
        }

        const double costVal = (*vqe)(buffer.size(), betas, gammas, observable.get(), refHamiltonian.get());
        const double costVal = (*vqe)(buffer, buffer.size(), betas, gammas, observable.get(), refHamiltonian.get());
        std::cout << "Iter " << iterCount << ": Cost = " << costVal << "\n";
        iterCount++;
        return costVal;