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

Function kernel

python/tests/kernel/test_kernel_float.py:255–256  ·  view source on GitHub ↗
(c: list[float], i: int)

Source from the content-addressed store, hash-verified

253
254 @cudaq.kernel
255 def kernel(c: list[float], i: int) -> float:
256 return c[i]
257
258 def non_kernel(c: list[float], i: int) -> float:
259 return c[i]

Callers 1

checkFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected