Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NVIDIA/cuda-quantum
/ kernel
Function
kernel
python/tests/kernel/test_kernel_complex.py:585–586 ·
view source on GitHub ↗
(c: list[complex], i: int)
Source
from the content-addressed store, hash-verified
583
584
@cudaq.kernel
585
def
kernel(c: list[complex], i: int) -> complex:
586
return
c[i]
587
588
def
non_kernel(c: list[complex], i: int) -> complex:
589
return
c[i]
Callers
1
check
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected