Represents a 2x2 matrix of complex numbers. More...
#include <QuEST.h>
Data Fields | |
qreal | imag [2][2] |
qreal | real [2][2] |
Detailed Description
Represents a 2x2 matrix of complex numbers.
In C, a ComplexMatrix2 can be initialised by separately specifying the real and imaginary components as nested arrays.
For example,
specifies matrix
- See also
Field Documentation
◆ imag
qreal ComplexMatrix2::imag[2][2] |
Definition at line 140 of file QuEST.h.
Referenced by densmatr_mixPauli(), getComplexPairAndPhaseFromUnitary(), getRotAngleFromUnitaryMatrix(), statevec_controlledUnitaryLocal(), statevec_multiControlledMultiRotatePauli(), statevec_multiControlledUnitaryLocal(), and statevec_unitaryLocal().
◆ real
qreal ComplexMatrix2::real[2][2] |
Definition at line 139 of file QuEST.h.
Referenced by densmatr_mixPauli(), getComplexPairAndPhaseFromUnitary(), getRotAngleFromUnitaryMatrix(), statevec_controlledUnitaryLocal(), statevec_multiControlledMultiRotatePauli(), statevec_multiControlledUnitaryLocal(), statevec_unitaryLocal(), and TEST_CASE().
The documentation for this struct was generated from the following file: