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

Function applyMultiControlledPauliZ

quest/src/api/operations.cpp:849–855  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

847}
848
849void applyMultiControlledPauliZ(Qureg qureg, int* controls, int numControls, int target) {
850 validate_quregFields(qureg, __func__);
851 validate_controlsAndTarget(qureg, controls, numControls, target, __func__);
852
853 // harmlessly re-validates
854 applyMultiStateControlledPauliZ(qureg, controls, nullptr, numControls, target);
855}
856
857void applyMultiStateControlledPauliX(Qureg qureg, int* controls, int* states, int numControls, int target) {
858 validate_quregFields(qureg, __func__);

Callers

nothing calls this directly

Calls 3

validate_quregFieldsFunction · 0.85

Tested by

no test coverage detected