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

Function applyMultiControlledPauliGadget

quest/src/api/operations.cpp:1271–1276  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1269}
1270
1271void applyMultiControlledPauliGadget(Qureg qureg, int* controls, int numControls, PauliStr str, qreal angle) {
1272 validate_quregFields(qureg, __func__);
1273 validate_controlsAndPauliStrTargets(qureg, controls, numControls, str, __func__);
1274
1275 applyMultiStateControlledPauliGadget(qureg, controls, nullptr, numControls, str, angle);
1276}
1277
1278void applyMultiStateControlledPauliGadget(Qureg qureg, int* controls, int* states, int numControls, PauliStr str, qreal angle) {
1279 validate_quregFields(qureg, __func__);

Callers 1

Tested by

no test coverage detected