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

Function util_getPhaseFromGateAngle

quest/src/core/utilities.cpp:1002–1005  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1000 */
1001
1002qreal util_getPhaseFromGateAngle(qreal angle) {
1003
1004 return - angle / 2;
1005}
1006qcomp util_getPhaseFromGateAngle(qcomp angle) {
1007
1008 return - angle / 2;

Callers 10

util_getExpPauliXFunction · 0.85
util_getExpPauliYFunction · 0.85
util_getExpPauliZFunction · 0.85
leftapplyPauliGadgetFunction · 0.85
rightapplyPauliGadgetFunction · 0.85
leftapplyPhaseGadgetFunction · 0.85
rightapplyPhaseGadgetFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected