QNLP
v1.0
|
Templated methods to manipulate small matrices. More...
#include <complex>
#include <vector>
#include <iostream>
Go to the source code of this file.
Namespaces | |
QNLP | |
Functions | |
template<class Mat2x2Type > | |
const Mat2x2Type | QNLP::matrixSqrt (const Mat2x2Type &U) |
Calculates the unitary matrix square root (U == VV, where V is returned) More... | |
template<class Mat2x2Type > | |
Mat2x2Type | QNLP::adjointMatrix (const Mat2x2Type &U) |
Function to calculate the adjoint of an input matrix. More... | |
Templated methods to manipulate small matrices.
Definition in file mat_ops.hpp.