MCPcopy Create free account
hub / github.com/QuEST-Kit/QuEST / toQMatrix

Function toQMatrix

tests/deprecated/test_utilities.cpp:1199–1203  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1197}
1198
1199QMatrix toQMatrix(CompMatr1 src) {
1200 QMatrix dest = getZeroMatrix(2);
1201 macro_copyComplexMatrix(dest, src.elems, dest.size());
1202 return dest;
1203}
1204QMatrix toQMatrix(CompMatr2 src) {
1205 QMatrix dest = getZeroMatrix(4);
1206 macro_copyComplexMatrix(dest, src.elems, dest.size());

Calls 4

syncQuESTEnvFunction · 0.85
toQVectorFunction · 0.85
getZeroMatrixFunction · 0.70
getKroneckerProductFunction · 0.70

Tested by

no test coverage detected