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

Function applyPauliZ

quest/src/api/operations.cpp:801–807  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

799}
800
801void applyPauliZ(Qureg qureg, int target) {
802 validate_quregFields(qureg, __func__);
803 validate_target(qureg, target, __func__);
804
805 // harmlessly re-validates
806 applyMultiStateControlledPauliZ(qureg, nullptr, nullptr, 0, target);
807}
808
809void applyControlledPauliX(Qureg qureg, int control, int target) {
810 validate_quregFields(qureg, __func__);

Callers

nothing calls this directly

Calls 3

validate_quregFieldsFunction · 0.85
validate_targetFunction · 0.85

Tested by

no test coverage detected