Quantum Gate Decomposer  v1.3
Powerful decomposition of almost any unitary into U3 and CNOT gates
Classes | Macros | Functions
dot.h File Reference
#include <gsl/gsl_blas_types.h>
#include "qgd/matrix.h"
Include dependency graph for dot.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  col_indices
 Structure containing column limits for the partitioning of the matrix product calculations. More...
 
class  Cont_Task_rowsA
 Empty task class to utilize task continuation for saving stack space. More...
 
struct  row_indices
 Structure containing row limits for the partitioning of the matrix product calculations. More...
 
class  zgemm3m_Task
 Class to calculate a matrix product C=A*B in parallel. More...
 
class  zgemm3m_Task_serial
 Class to calculate a matrix product C=A*B in serial. More...
 

Macros

#define CblasConjNoTrans   114
 

Functions

bool check_matrices (Matrix &A, Matrix &B)
 Call to check the shape of the matrices for method dot. More...
 
Matrix dot (Matrix &A, Matrix &B)
 Call to calculate the product of two complex matrices by calling method zgemm3m from the CBLAS library. More...
 
void get_cblas_transpose (Matrix &A, CBLAS_TRANSPOSE &transpose)
 Call to get the transpose properties of the input matrix for CBLAS calculations. More...
 

Macro Definition Documentation

◆ CblasConjNoTrans

#define CblasConjNoTrans   114

Definition at line 14 of file dot.h.

Function Documentation

◆ check_matrices()

bool check_matrices ( Matrix A,
Matrix B 
)

Call to check the shape of the matrices for method dot.

(Called in DEBUG mode)

Parameters
AThe first matrix in the product of type matrix.
BThe second matrix in the product of type matrix
Returns
Returns with true if the test passed, false otherwise.

Definition at line 103 of file dot.cpp.

Here is the call graph for this function:

◆ dot()

Matrix dot ( Matrix A,
Matrix B 
)

Call to calculate the product of two complex matrices by calling method zgemm3m from the CBLAS library.

Parameters
AThe first matrix in the product of type matrix.
BThe second matrix in the product of type matrix
Returns
Returns with the resulted matrix.
Parameters
AThe first matrix.
BThe second matrix
Returns
Returns with the resulted matrix.

Definition at line 20 of file dot.cpp.

Here is the call graph for this function:

◆ get_cblas_transpose()

void get_cblas_transpose ( Matrix A,
CBLAS_TRANSPOSE &  transpose 
)

Call to get the transpose properties of the input matrix for CBLAS calculations.

Parameters
AThe matrix of type matrix.
transposeThe returned vale of CBLAS_TRANSPOSE.

Definition at line 153 of file dot.cpp.

Here is the call graph for this function: