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

Function applyControlledPauliY

quest/src/api/operations.cpp:817–823  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

815}
816
817void applyControlledPauliY(Qureg qureg, int control, int target) {
818 validate_quregFields(qureg, __func__);
819 validate_controlAndTarget(qureg, control, target, __func__);
820
821 // harmlessly re-validates
822 applyMultiStateControlledPauliY(qureg, &control, nullptr, 1, target);
823}
824
825void applyControlledPauliZ(Qureg qureg, int control, int target) {
826 validate_quregFields(qureg, __func__);

Callers

nothing calls this directly

Calls 3

validate_quregFieldsFunction · 0.85

Tested by

no test coverage detected