Commit 132dce5b authored by Mccaskey, Alex's avatar Mccaskey, Alex
Browse files

update to README, removing erroneous commited filesystem include



Signed-off-by: Mccaskey, Alex's avatarAlex McCaskey <mccaskeyaj@ornl.gov>
parent ae073d74
Pipeline #123352 passed with stages
in 67 minutes and 22 seconds
......@@ -110,12 +110,12 @@ int main(int argc, char **argv) {
auto q = qalloc(2);
// Create the Deuteron Hamiltonian (Observable)
auto H = qcor::createObservable(
auto H = createObservable(
"5.907 - 2.1433 X0X1 - 2.1433 Y0Y1 + .21829 Z0 - 6.125 Z1");
// Create the ObjectiveFunction, here we want to run VQE
// need to provide ansatz and the Observable
auto objective = qcor::createObjectiveFunction("vqe", ansatz, H);
auto objective = createObjectiveFunction("vqe", ansatz, H);
// Evaluate the ObjectiveFunction at a specified set of parameters
auto energy = (*objective)(q, .59);
......
#include <clang/CodeGen/CodeGenAction.h>
#include <filesystem>
#include <fstream>
#include <memory>
......
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