24 #ifndef N_Qubit_Decomposition_Cost_Function_H 25 #define N_Qubit_Decomposition_Cost_Function_H 67 void operator()( tbb::blocked_range<size_t> r )
const;
QGD_Complex16 * data
Pointer to the data stored in the matrix.
void operator()(tbb::blocked_range< size_t > r) const
Operator to calculate the partial cost function derived from the row of the matrix labeled by row_idx...
Function operator class to calculate the partial cost function of the final optimization process.
double get_cost_function(Matrix matrix)
Call co calculate the cost function during the final optimization process.
Matrix matrix
Array stroing the matrix.
functor_cost_fnc(Matrix matrix_in, tbb::combinable< double > *partial_cost_functions_in)
Constructor of the class.
Structure type representing complex numbers in the QGD package.
Class to store data of complex arrays and its properties.
Header file for commonly used functions and wrappers to CBLAS functions.
tbb::combinable< double > * partial_cost_functions
array storing the partial cost functions