Quantum Gate Decomposer
v1.3
Powerful decomposition of almost any unitary into U3 and CNOT gates
|
#include "qgd/dot.h"
#include <cstring>
#include <iostream>
#include "tbb/tbb.h"
#include <tbb/scalable_allocator.h>
Go to the source code of this file.
Macros | |
#define | SERIAL_CUTOFF 16 |
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... | |
Call to check the shape of the matrices for method dot.
(Called in DEBUG mode)
A | The first matrix in the product of type matrix. |
B | The second matrix in the product of type matrix |
Definition at line 103 of file dot.cpp.
void get_cblas_transpose | ( | Matrix & | A, |
CBLAS_TRANSPOSE & | transpose | ||
) |