Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
1002
qreal util_getPhaseFromGateAngle(qreal angle) {
1003
1004
return - angle / 2;
1005
}
1006
qcomp util_getPhaseFromGateAngle(qcomp angle) {
1007
1008
return - angle / 2;
Callers
10
util_getExpPauliX
Function · 0.85
util_getExpPauliY
Function · 0.85
util_getExpPauliZ
Function · 0.85
applyNonUnitaryPauliGadget
Function · 0.85
applyMultiStateControlledPauliGadget
Function · 0.85
applyMultiStateControlledPhaseGadget
Function · 0.85
leftapplyPauliGadget
Function · 0.85
rightapplyPauliGadget
Function · 0.85
leftapplyPhaseGadget
Function · 0.85
rightapplyPhaseGadget
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected