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 subdecomposition (supporting TBB and OpenMP). More...
#include "qgd/common.h"
Go to the source code of this file.
Classes | |
class | functor_extract_submatrices |
Function operator class to extract the submatrices from a unitary. More... | |
class | functor_submtx_cost_fnc |
Function operator class to calculate the partial cost function derived from the individual products of the submatrices. More... | |
Functions | |
double | get_submatrix_cost_function (Matrix &matrix) |
Call to calculate the cost function of a given matrix during the submatrix decomposition process. More... | |
Header file for the paralleized calculation of the cost function of the subdecomposition (supporting TBB and OpenMP).
Definition in file Sub_Matrix_Decomposition_Cost_Function.h.
double get_submatrix_cost_function | ( | Matrix & | matrix | ) |
Call to calculate the cost function of a given matrix during the submatrix decomposition process.
matrix | The square shaped complex matrix from which the cost function is calculated during the submatrix decomposition process. |
matrix_size | The number rows in the matrix matrix_new |
Definition at line 35 of file Sub_Matrix_Decomposition_Cost_Function.cpp.