Sequential Quantum Gate Decomposer  v1.9.3
Powerful decomposition of general unitarias into one- and two-qubit gates gates
List of all members | Public Member Functions | Static Protected Member Functions | Protected Attributes
Bayes_Opt_Beam Class Reference

#include <Bayes_Opt.h>

Public Member Functions

 Bayes_Opt_Beam (double(*f_pointer)(Matrix_real, void *), void *meta_data_in, int start_in, Matrix_real parameters_original_in)
 
double Start_Optimization (Matrix_real &x, int max_iterations_in)
 
 ~Bayes_Opt_Beam ()
 

Static Protected Member Functions

static double optimization_problem (Matrix_real x_Beam, void *void_instance)
 

Protected Attributes

double(* costfnc )(Matrix_real x, void *params)
 function pointer to evaluate the cost function and its gradient vector More...
 
double current_maximum
 
std::mt19937 gen
 
long maximal_iterations
 maximal count of iterations during the optimization More...
 
void * meta_data
 additional data needed to evaluate the cost function More...
 
double num_precision
 numerical precision used in the calculations More...
 
Matrix_real parameters
 
int start
 
int variable_num
 number of independent variables in the problem More...
 

Detailed Description

Definition at line 136 of file Bayes_Opt.h.

Constructor & Destructor Documentation

◆ Bayes_Opt_Beam()

Bayes_Opt_Beam::Bayes_Opt_Beam ( double(*)(Matrix_real, void *)  f_pointer,
void *  meta_data_in,
int  start_in,
Matrix_real  parameters_original_in 
)

Definition at line 439 of file common/Bayes_Opt.cpp.

◆ ~Bayes_Opt_Beam()

Bayes_Opt_Beam::~Bayes_Opt_Beam ( )

Definition at line 483 of file common/Bayes_Opt.cpp.

Member Function Documentation

◆ optimization_problem()

double Bayes_Opt_Beam::optimization_problem ( Matrix_real  x_Beam,
void *  void_instance 
)
staticprotected

Definition at line 464 of file common/Bayes_Opt.cpp.

Here is the call graph for this function:

◆ Start_Optimization()

double Bayes_Opt_Beam::Start_Optimization ( Matrix_real x,
int  max_iterations_in 
)

Definition at line 473 of file common/Bayes_Opt.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ costfnc

double(* Bayes_Opt_Beam::costfnc) (Matrix_real x, void *params)
protected

function pointer to evaluate the cost function and its gradient vector

Definition at line 148 of file Bayes_Opt.h.

◆ current_maximum

double Bayes_Opt_Beam::current_maximum
protected

Definition at line 154 of file Bayes_Opt.h.

◆ gen

std::mt19937 Bayes_Opt_Beam::gen
protected

Definition at line 160 of file Bayes_Opt.h.

◆ maximal_iterations

long Bayes_Opt_Beam::maximal_iterations
protected

maximal count of iterations during the optimization

Definition at line 142 of file Bayes_Opt.h.

◆ meta_data

void* Bayes_Opt_Beam::meta_data
protected

additional data needed to evaluate the cost function

Definition at line 151 of file Bayes_Opt.h.

◆ num_precision

double Bayes_Opt_Beam::num_precision
protected

numerical precision used in the calculations

Definition at line 145 of file Bayes_Opt.h.

◆ parameters

Matrix_real Bayes_Opt_Beam::parameters
protected

Definition at line 156 of file Bayes_Opt.h.

◆ start

int Bayes_Opt_Beam::start
protected

Definition at line 158 of file Bayes_Opt.h.

◆ variable_num

int Bayes_Opt_Beam::variable_num
protected

number of independent variables in the problem

Definition at line 139 of file Bayes_Opt.h.


The documentation for this class was generated from the following files: