Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/QuEST-Kit/QuEST
/ localiser_statevec_scaleAmps
Function
localiser_statevec_scaleAmps
quest/src/core/localiser.cpp:679–682 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
677
}
678
679
void localiser_statevec_scaleAmps(Qureg qureg, qcomp factor) {
680
681
localiser_statevec_setQuregToWeightedSum(qureg, {factor}, {qureg});
682
}
683
684
685
Callers
2
localiser_statevec_multiQubitProjector
Function · 0.85
setQuregToRenormalized
Function · 0.85
Calls
1
localiser_statevec_setQuregToWeightedSum
Function · 0.85
Tested by
no test coverage detected