Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NVIDIA/cuda-quantum
/ kerneD
Function
kerneD
python/tests/kernel/test_run_kernel.py:1077–1082 ·
view source on GitHub ↗
(n: int)
Source
from the content-addressed store, hash-verified
1075
1076
@cudaq.kernel
1077
def
kerneD(n: int) -> Bar:
1078
q = cudaq.qvector(n)
1079
t = Bar(False, False, 4.14)
1080
t.x = True
1081
t.y = True
1082
return
t
1083
1084
results = cudaq.run(kerneD, 2, shots_count=1)
1085
print(results)
Callers
nothing calls this directly
Calls
2
qvector
Method · 0.80
Bar
Class · 0.70
Tested by
no test coverage detected