Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NVIDIA/cuda-quantum
/ is_close
Function
is_close
python/tests/kernel/test_kernel_float.py:17–18 ·
view source on GitHub ↗
(expected, actual)
Source
from the content-addressed store, hash-verified
15
16
17
def
is_close(expected, actual) -> bool:
18
return
np.isclose(expected, actual, atol=1e-6)
19
20
21
def
test_float_params():
Callers
13
test_float_params
Function · 0.70
test_float_capture
Function · 0.70
test_float_definition
Function · 0.70
test_float_use
Function · 0.70
test_float64_params
Function · 0.70
test_float64_capture
Function · 0.70
test_float64_definition
Function · 0.70
test_float64_use
Function · 0.70
test_float32_params
Function · 0.70
test_float32_capture
Function · 0.70
test_float32_definition
Function · 0.70
test_float32_use
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected