QNLP  v1.0
mat_ops.hpp File Reference

Templated methods to manipulate small matrices. More...

#include <complex>
#include <vector>
#include <iostream>
Include dependency graph for mat_ops.hpp:
This graph shows which files directly or indirectly include this file:

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

Detailed Description

Templated methods to manipulate small matrices.

Author
Lee J. O'Riordan (lee.o.nosp@m.rior.nosp@m.dan@i.nosp@m.chec.nosp@m..ie)
Version
0.1
Date
2019-12-10

Definition in file mat_ops.hpp.