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

Function flip

python/tests/kernel/test_kernel_shadowing.py:62–63  ·  view source on GitHub ↗
(q: cudaq.qubit)

Source from the content-addressed store, hash-verified

60
61 @cudaq.kernel
62 def flip(q: cudaq.qubit):
63 x(q)
64
65 @cudaq.kernel
66 def test(a: bool, b: bool) -> bool:

Callers 1

testFunction · 0.70

Calls 1

xFunction · 0.50

Tested by

no test coverage detected