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

Function applyControlledPauliGadget

quest/src/api/operations.cpp:1264–1269  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1262}
1263
1264void applyControlledPauliGadget(Qureg qureg, int control, PauliStr str, qreal angle) {
1265 validate_quregFields(qureg, __func__);
1266 validate_controlAndPauliStrTargets(qureg, control, str, __func__);
1267
1268 applyMultiStateControlledPauliGadget(qureg, &control, nullptr, 1, str, angle);
1269}
1270
1271void applyMultiControlledPauliGadget(Qureg qureg, int* controls, int numControls, PauliStr str, qreal angle) {
1272 validate_quregFields(qureg, __func__);

Callers

nothing calls this directly

Tested by

no test coverage detected