Sequential Quantum Gate Decomposer
v1.9.3
Powerful decomposition of general unitarias into one- and two-qubit gates gates
|
Class to calculate a matrix product C=A*B in serial. More...
#include <dot.h>
Public Member Functions | |
void | print (const std::stringstream &sstream, int verbose_level=1) const |
Call to print output messages in the function of the verbosity level. More... | |
void | set_debugfile (std::string debugfile) |
Call to set the debugfile name. More... | |
void | set_verbose (int verbose_in) |
Call to set the verbose attribute. More... | |
void | zgemm_chunk () |
Call to calculate the product of matrix chunks defined by attributes rows, cols. More... | |
zgemm_Task_serial (Matrix &A_in, Matrix &B_in, Matrix &C_in) | |
Constructor of the class. More... | |
zgemm_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... | |
bool | debug |
Logical variable. Set true to write output messages to the 'debug.txt' file. More... | |
std::string | debugfile_name |
String variable. Set the debug file name. More... | |
CBLAS_ORDER | order |
CBLAS storage order. More... | |
row_indices | rows |
Structure containing row limits for the partitioning of the matrix product calculations. More... | |
int | verbose |
Set the verbosity level of the output messages. 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.
zgemm_Task_serial::zgemm_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. |
|
inherited |
Call to print output messages in the function of the verbosity level.
sstream | The stringstream input to store the output messages. |
verbose_level | Integer input. High level means write more to the standart output, 0 means write nothing. The default value is set to 1. |
Definition at line 55 of file logging.cpp.
|
inherited |
Call to set the debugfile name.
debugfile | String variable. Set the debugfile name. |
Definition at line 95 of file logging.cpp.
|
inherited |
Call to set the verbose attribute.
verbose_in | Integer variable. Set the number to specify the verbosity level for output messages. |
Definition at line 85 of file logging.cpp.
void zgemm_Task_serial::zgemm_chunk | ( | ) |
col_indices zgemm_Task_serial::cols |
|
inherited |
|
inherited |
CBLAS_ORDER zgemm_Task_serial::order |
row_indices zgemm_Task_serial::rows |
|
inherited |