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

Function applyPauliX

quest/src/api/operations.cpp:785–791  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

783extern "C" {
784
785void applyPauliX(Qureg qureg, int target) {
786 validate_quregFields(qureg, __func__);
787 validate_target(qureg, target, __func__);
788
789 // harmlessly re-validates
790 applyMultiStateControlledPauliX(qureg, nullptr, nullptr, 0, target);
791}
792
793void applyPauliY(Qureg qureg, int target) {
794 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