Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NVIDIA/cuda-quantum
/ check
Function
check
python/tests/kernel/test_kernel_float.py:261–263 ·
view source on GitHub ↗
(c: any)
Source
from the content-addressed store, hash-verified
259
return
c[i]
260
261
def
check(c: any):
262
for
i in range(len(c)):
263
is_close(kernel(c, i), non_kernel(c, i))
264
265
check([np.pi / 2, 0])
266
check([0, np.pi / 2])
Callers
4
test_float_list_parameter_promotion
Function · 0.70
test_float64_list_parameter_promotion
Function · 0.70
test_float32_list_parameter_promotion
Function · 0.70
VisitFunctionDecl
Method · 0.50
Calls
4
is_close
Function · 0.70
kernel
Function · 0.70
non_kernel
Function · 0.70
range
Function · 0.50
Tested by
no test coverage detected