Quantum Gate Decomposer
v1.3
Powerful decomposition of almost any unitary into U3 and CNOT gates
|
Methods to calculate the cost function of the sub-disantenglement problem with TBB parallelization. More...
#include "qgd/Sub_Matrix_Decomposition_Cost_Function.h"
Go to the source code of this file.
Functions | |
double | get_submatrix_cost_function (Matrix &matrix) |
Call to calculate the cost function of a given matrix during the submatrix decomposition process. More... | |
Methods to calculate the cost function of the sub-disantenglement problem with TBB parallelization.
Definition in file Sub_Matrix_Decomposition_Cost_Function.cpp.
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.