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

update to README, removing erroneous commited filesystem include

parent ae073d74
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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);
+0 −1
Original line number Diff line number Diff line
#include <clang/CodeGen/CodeGenAction.h>

#include <filesystem>
#include <fstream>
#include <memory>