Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NVIDIA/cuda-quantum
/ SingleListInt
Class
SingleListInt
python/tests/kernel/test_kernel_features.py:2850–2851 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
2848
# Case 1: struct with a single list[int] member
2849
@dataclass(slots=True)
2850
class
SingleListInt:
2851
values: list[int]
2852
2853
@cudaq.kernel
2854
def
kernel_read_int(params: SingleListInt) -> int:
Callers
1
test_struct_list_int_member
Function · 0.85
Calls
no outgoing calls
Tested by
1
test_struct_list_int_member
Function · 0.68