|
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 parallel. More...
#include <dot.h>

Public Member Functions | |
| void | execute (tbb::task_group &g) |
| This function is called when a task is spawned. More... | |
| 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 (Matrix &A_in, Matrix &B_in, Matrix &C_in) | |
| Constructor of the class. More... | |
| zgemm_Task (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 parallel.
The parallelism follow the strategy of divide-and-conquer.
Constructor of the class.
(In this case the row/col limits are extracted from matrices A,B,C).
| A_in | The object representing matrix A. |
| B_in | The object representing matrix B. |
| C_in | The object representing matrix C. |
Definition at line 366 of file dot.cpp.

| zgemm_Task::zgemm_Task | ( | 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 zgemm_Task::execute | ( | tbb::task_group & | g | ) |
This function is called when a task is spawned.
It divides the work into chunks following the strategy of divide-and-conquer until the problem size meets a predefined treshold.
Definition at line 387 of file dot.cpp.


|
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.

|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
1.8.13