Quantum Gate Decomposer
v1.3
Powerful decomposition of almost any unitary into U3 and CNOT gates
|
Class to calculate a matrix product C=A*B in serial. More...
#include <dot.h>
Public Member Functions | |
void | zgemm3m_chunk () |
Call to calculate the product of matrix chunks defined by attributes rows, cols. More... | |
zgemm3m_Task_serial (Matrix &A_in, Matrix &B_in, Matrix &C_in) | |
Constructor of the class. More... | |
zgemm3m_Task_serial (Matrix &A_in, Matrix &B_in, Matrix &C_in, row_indices &rows_in, col_indices &cols_in) | |
Constructor of the class. More... | |
Public Attributes | |
Matrix | A |
The matrix A. More... | |
Matrix | B |
The matrix B. More... | |
Matrix | C |
The matrix C. More... | |
col_indices | cols |
Structure containing column limits for the partitioning of the matrix product calculations. More... | |
CBLAS_ORDER | order |
CBLAS storage order. More... | |
row_indices | rows |
Structure containing row limits for the partitioning of the matrix product calculations. More... | |
Class to calculate a matrix product C=A*B in serial.
This class is used to divide the multiplication into chunks for parallel calculations.
zgemm3m_Task_serial::zgemm3m_Task_serial | ( | Matrix & | A_in, |
Matrix & | B_in, | ||
Matrix & | C_in, | ||
row_indices & | rows_in, | ||
col_indices & | cols_in | ||
) |
Constructor of the class.
A_in | The object representing matrix A. |
B_in | The object representing matrix B. |
C_in | The object representing matrix C. |
rows_in | Structure containing row limits for the partitioning of the matrix product calculations. |
cols_in | Structure containing column limits for the partitioning of the matrix product calculations. |
void zgemm3m_Task_serial::zgemm3m_chunk | ( | ) |
col_indices zgemm3m_Task_serial::cols |
row_indices zgemm3m_Task_serial::rows |