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

Function getCompMatr1

quest/src/api/matrices.cpp:50–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48
49
50CompMatr1 getCompMatr1(vector<vector<qcomp>> in) {
51 validate_matrixNumNewElems(1, in, __func__);
52
53 qcomp* rowPtrs[] = {in[0].data(), in[1].data()};
54 return getCompMatr1(rowPtrs);
55}
56
57CompMatr2 getCompMatr2(vector<vector<qcomp>> in) {
58 validate_matrixNumNewElems(2, in, __func__);

Callers 7

util_getPauliXFunction · 0.50
util_getPauliYFunction · 0.50
util_getExpPauliXFunction · 0.50
util_getExpPauliYFunction · 0.50

Calls 1

Tested by

no test coverage detected