Loading README.md +1 −1 Original line number Diff line number Diff line Loading @@ -76,7 +76,7 @@ int main(int argc, char **argv) { // Schedule an asynchronous VQE execution // with the given quantum kernel ansatz auto handle = qcor::taskInitiateWithSyntax(ansatz, "vqe", opt, obs, 0.45); auto handle = qcor::taskInitiate(ansatz, "vqe", opt, obs, 0.45); auto results_buffer = handle.get(); auto energy = qcor::extract_results<double>(results_buffer, "opt-val"); Loading Loading
README.md +1 −1 Original line number Diff line number Diff line Loading @@ -76,7 +76,7 @@ int main(int argc, char **argv) { // Schedule an asynchronous VQE execution // with the given quantum kernel ansatz auto handle = qcor::taskInitiateWithSyntax(ansatz, "vqe", opt, obs, 0.45); auto handle = qcor::taskInitiate(ansatz, "vqe", opt, obs, 0.45); auto results_buffer = handle.get(); auto energy = qcor::extract_results<double>(results_buffer, "opt-val"); Loading