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_complex.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):
18
return
np.isclose(expected, actual, atol=1e-6)
19
20
21
def
test_complex_params():
Callers
15
test_complex_params
Function · 0.70
test_complex_capture
Function · 0.70
test_complex_definition
Function · 0.70
test_complex_definition_with_constructor
Function · 0.70
test_complex_definition_with_constructor_named_params
Function · 0.70
test_complex_use
Function · 0.70
test_np_complex128_params
Function · 0.70
test_np_complex128_capture
Function · 0.70
test_np_complex128_definition
Function · 0.70
test_np_complex128_use
Function · 0.70
test_np_complex64_params
Function · 0.70
test_np_complex64_capture
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected