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

Function applyControlledPauliZ

quest/src/api/operations.cpp:825–831  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

823}
824
825void applyControlledPauliZ(Qureg qureg, int control, int target) {
826 validate_quregFields(qureg, __func__);
827 validate_controlAndTarget(qureg, control, target, __func__);
828
829 // harmlessly re-validates
830 applyMultiStateControlledPauliZ(qureg, &control, nullptr, 1, target);
831}
832
833void applyMultiControlledPauliX(Qureg qureg, int* controls, int numControls, int target) {
834 validate_quregFields(qureg, __func__);

Callers

nothing calls this directly

Calls 3

validate_quregFieldsFunction · 0.85

Tested by

no test coverage detected