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

Function applyPauliGadget

quest/src/api/operations.cpp:1241–1246  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1239extern "C" {
1240
1241void applyPauliGadget(Qureg qureg, PauliStr str, qreal angle) {
1242 validate_quregFields(qureg, __func__);
1243 validate_pauliStrTargets(qureg, str, __func__);
1244
1245 applyMultiStateControlledPauliGadget(qureg, nullptr, nullptr, 0, str, angle);
1246}
1247
1248void applyNonUnitaryPauliGadget(Qureg qureg, PauliStr str, qcomp angle) {
1249 validate_quregFields(qureg, __func__);

Callers 1

_multiRotatePauliFunction · 0.85

Calls 3

validate_quregFieldsFunction · 0.85
validate_pauliStrTargetsFunction · 0.85

Tested by

no test coverage detected