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

Function _multiRotatePauli

quest/include/deprecated.h:1246–1251  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1244 applyMultiControlledPhaseGadget(__VA_ARGS__)
1245
1246static inline void _multiRotatePauli(Qureg qureg, int* targs, _NoWarnPauliOpType* enums, int numTargs, qreal angle) {
1247 int codes[100];
1248 for (int i=0; i<numTargs && i<100; i++)
1249 codes[i] = enums[i];
1250 applyPauliGadget(qureg, getPauliStr(codes, targs, numTargs), angle);
1251}
1252#define multiRotatePauli(...) \
1253 _WARN_FUNC_RENAMED( \
1254 "multiRotatePauli(qureg, targs, paulis, numTargs, angle)", \

Callers

nothing calls this directly

Calls 2

applyPauliGadgetFunction · 0.85
getPauliStrFunction · 0.85

Tested by

no test coverage detected