ComplexMatrix4 Struct Reference
Represents a 4x4 matrix of complex numbers. More...
#include <QuEST.h>
Data Fields | |
qreal | imag [4][4] |
qreal | real [4][4] |
Detailed Description
Represents a 4x4 matrix of complex numbers.
In C, a ComplexMatrix4 can be initialised by separately specifying the real and imaginary components as nested arrays. Note that in C99, a short row that ends with a 0 with be padded with 0.
For example,
specifies matrix
- See also
Field Documentation
◆ imag
qreal ComplexMatrix4::imag[4][4] |
Definition at line 178 of file QuEST.h.
Referenced by statevec_multiControlledTwoQubitUnitaryLocal(), statevec_sqrtSwapGate(), and statevec_sqrtSwapGateConj().
◆ real
qreal ComplexMatrix4::real[4][4] |
Definition at line 177 of file QuEST.h.
Referenced by statevec_multiControlledTwoQubitUnitaryLocal(), statevec_sqrtSwapGate(), statevec_sqrtSwapGateConj(), and TEST_CASE().
The documentation for this struct was generated from the following file: