MCPcopy Create free account
hub / github.com/NVIDIA/cuda-quantum / function

Function function

targettests/execution/lambda_introspection.cpp:23–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21};
22
23void function() {
24 // Can have ll defined more than once
25 // but in non-inclusive scopes
26 auto lambdaFunctionParent = []() __qpu__ {
27 cudaq::qubit q;
28 x(q);
29 };
30 printf("5: %s", cudaq::get_quake(lambdaFunctionParent).data());
31}
32
33int main() {
34

Callers 2

for_loopMethod · 0.85
mainFunction · 0.85

Calls 3

xClass · 0.50
get_quakeFunction · 0.50
dataMethod · 0.45

Tested by

no test coverage detected