MCPcopy 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])

Calls 4

is_closeFunction · 0.70
kernelFunction · 0.70
non_kernelFunction · 0.70
rangeFunction · 0.50

Tested by

no test coverage detected