Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NVIDIA/cuda-quantum
/ update_tuple2
Function
update_tuple2
python/tests/kernel/test_assignments.py:277–280 ·
view source on GitHub ↗
(arg: MyTuple)
Source
from the content-addressed store, hash-verified
275
276
@cudaq.kernel
277
def
update_tuple2(arg: MyTuple) -> MyTuple:
278
t = arg.copy()
279
t.angle = 5.
280
return
t
281
282
@cudaq.kernel
283
def
update2() -> MyTuple:
Callers
2
update2
Function · 0.85
test4
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected