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

Function leftapplyPauliY

quest/src/api/multiplication.cpp:384–390  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

382}
383
384void leftapplyPauliY(Qureg qureg, int target) {
385 validate_quregFields(qureg, __func__);
386 validate_target(qureg, target, __func__);
387
388 PauliStr str = getPauliStr("Y", {target});
389 localiser_statevec_anyCtrlPauliTensor(qureg, {}, {}, str);
390}
391
392void leftapplyPauliZ(Qureg qureg, int target) {
393 validate_quregFields(qureg, __func__);

Callers

nothing calls this directly

Calls 4

validate_quregFieldsFunction · 0.85
validate_targetFunction · 0.85
getPauliStrFunction · 0.85

Tested by

no test coverage detected