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

Function applyMultiControlledPauliX

quest/src/api/operations.cpp:833–839  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

831}
832
833void applyMultiControlledPauliX(Qureg qureg, int* controls, int numControls, int target) {
834 validate_quregFields(qureg, __func__);
835 validate_controlsAndTarget(qureg, controls, numControls, target, __func__);
836
837 // harmlessly re-validates
838 applyMultiStateControlledPauliX(qureg, controls, nullptr, numControls, target);
839}
840
841void applyMultiControlledPauliY(Qureg qureg, int* controls, int numControls, int target) {
842 validate_quregFields(qureg, __func__);

Callers

nothing calls this directly

Calls 3

validate_quregFieldsFunction · 0.85

Tested by

no test coverage detected