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

Function leftapplyDiagMatr2

quest/src/api/multiplication.cpp:175–182  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

173extern "C" {
174
175void leftapplyDiagMatr2(Qureg qureg, int target1, int target2, DiagMatr2 matrix) {
176 validate_quregFields(qureg, __func__);
177 validate_twoTargets(qureg, target1, target2, __func__);
178 validate_matrixFields(matrix, __func__);
179
180 bool conj = false;
181 localiser_statevec_anyCtrlTwoTargDiagMatr(qureg, {}, {}, target1, target2, matrix, conj);
182}
183
184void rightapplyDiagMatr2(Qureg qureg, int target1, int target2, DiagMatr2 matrix) {
185 validate_quregFields(qureg, __func__);

Callers

nothing calls this directly

Calls 4

validate_quregFieldsFunction · 0.85
validate_twoTargetsFunction · 0.85
validate_matrixFieldsFunction · 0.85

Tested by

no test coverage detected