MCPcopy Create free account
hub / github.com/NVIDIA/cuda-quantum / complex_vec_param

Function complex_vec_param

python/tests/kernel/test_kernel_complex.py:28–29  ·  view source on GitHub ↗
(vec: list[complex], i: int)

Source from the content-addressed store, hash-verified

26
27 @cudaq.kernel
28 def complex_vec_param(vec: list[complex], i: int) -> complex:
29 return vec[i]
30
31 for i in range(len(c)):
32 is_close(c[i].real, complex_vec_param(c, i).real)

Callers 3

test_complex_paramsFunction · 0.85
test_np_complex64_paramsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected