Quantum Gate Decomposer
v1.3
Powerful decomposition of almost any unitary into U3 and CNOT gates
|
Methods to calculate the cost function of the final optimization problem (supporting parallel computations). More...
#include "qgd/N_Qubit_Decomposition_Cost_Function.h"
Go to the source code of this file.
Functions | |
double | get_cost_function (Matrix matrix) |
Call co calculate the cost function during the final optimization process. More... | |
Methods to calculate the cost function of the final optimization problem (supporting parallel computations).
Definition in file N_Qubit_Decomposition_Cost_Function.cpp.
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.