Sequential Quantum Gate Decomposer
v1.9.3
Powerful decomposition of general unitarias into one- and two-qubit gates gates
|
Methods to calculate the cost function of the sub-disantenglement problem with TBB parallelization. More...
#include "Sub_Matrix_Decomposition_Cost_Function.h"
#include <tbb/blocked_range.h>
#include <tbb/parallel_for.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.