Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NVIDIA/cuda-quantum
/ test2
Function
test2
python/tests/kernel/test_assignments.py:55–57 ·
view source on GitHub ↗
(arg: list[int])
Source
from the content-addressed store, hash-verified
53
54
@cudaq.kernel
55
def
test2(arg: list[int]) -> int:
56
double_entries(arg)
57
return
sum(arg)
58
59
arg = [4, 5, 6]
60
results = cudaq.run(test2, arg, shots_count=1)
Callers
4
test_list_of_dataclass_updates
Function · 0.70
test_list_of_dataclass_update_failures
Function · 0.70
test_list_of_list_updates
Function · 0.70
test_var_scopes
Function · 0.70
Calls
13
double_entries
Function · 0.85
sum
Function · 0.85
get_list_of_int_tuple
Function · 0.85
populate_MyTuple_list
Function · 0.85
serialize
Function · 0.85
populate_MyTuple_list2
Function · 0.85
fct
Function · 0.85
qvector
Method · 0.80
MyTuple
Class · 0.70
flatten
Function · 0.70
range
Function · 0.50
mz
Function · 0.50
Tested by
no test coverage detected