|
Sequential Quantum Gate Decomposer
v1.9.6
Powerful decomposition of general unitarias into one- and two-qubit gates gates
|
Non-owning carrier that references either Matrix (complex128) or Matrix_float (complex64) without data conversion. More...
#include <matrix_any.h>
Public Member Functions | |
| Matrix_float & | as_float32 () |
| Matrix & | as_float64 () |
| int | cols () const |
| bool | is_float32 () const |
| bool | is_float64 () const |
| Matrix_any (Matrix &m) | |
| Matrix_any (Matrix_float &m) | |
| matrix_precision | precision () const |
| int | rows () const |
| int | size () const |
| int | stride () const |
Private Attributes | |
| Matrix_float * | m32_ |
| Matrix * | m64_ |
| matrix_precision | precision_ |
Non-owning carrier that references either Matrix (complex128) or Matrix_float (complex64) without data conversion.
Definition at line 30 of file matrix_any.h.
|
inline |
Definition at line 32 of file matrix_any.h.
|
inline |
Definition at line 35 of file matrix_any.h.
|
inline |
|
inline |
|
inline |
Definition at line 44 of file matrix_any.h.
|
inline |
|
inline |
|
inline |
Definition at line 38 of file matrix_any.h.
|
inline |
Definition at line 43 of file matrix_any.h.
|
inline |
Definition at line 46 of file matrix_any.h.
|
inline |
Definition at line 45 of file matrix_any.h.
|
private |
Definition at line 65 of file matrix_any.h.
|
private |
Definition at line 64 of file matrix_any.h.
|
private |
Definition at line 63 of file matrix_any.h.
1.8.13