Struct Params

Struct Documentation

struct Params

Data container for VQE optimizer problems. Everything is constant, except theta and value which should be updated during iterations.

Public Members

std::shared_ptr<xacc::CompositeInstruction> ansatz = {}
std::string circuitString = {}
std::string pauliString = {}
std::string acceleratorName = {"qpp"}
double tolerance = {1E-6}
double optimalValue = {}
std::vector<double> energies = {}
std::vector<double> theta = {}
int nQubits = {1}
int nShots = {1}
int maxIters = {50}
int nWorker = {1}
int nThreadsPerWorker = {1}
bool isDeterministic = {true}
bool partitioned = {false}