Quantum Gate Decomposer
v1.3
Powerful decomposition of almost any unitary into U3 and CNOT gates
|
Header file for the paralleized calculation of the cost function of the final optimization problem (supporting TBB and OpenMP). More...
#include "qgd/common.h"
Go to the source code of this file.
Classes | |
class | functor_cost_fnc |
Function operator class to calculate the partial cost function of the final optimization process. More... | |
Functions | |
double | get_cost_function (Matrix matrix) |
Call co calculate the cost function during the final optimization process. More... | |
Header file for the paralleized calculation of the cost function of the final optimization problem (supporting TBB and OpenMP).
Definition in file N_Qubit_Decomposition_Cost_Function.h.
double get_cost_function | ( | Matrix | matrix | ) |
Call co calculate the cost function during the final optimization process.
matrix | The square shaped complex matrix from which the cost function is calculated. |
Definition at line 34 of file N_Qubit_Decomposition_Cost_Function.cpp.