Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NVIDIA/cuda-quantum
/ bar
Function
bar
python/tests/visualization/test_draw.py:26–29 ·
view source on GitHub ↗
(qvec: cudaq.qview)
Source
from the content-addressed store, hash-verified
24
25
@cudaq.kernel
26
def
bar(qvec: cudaq.qview):
27
rx(np.e, qvec[0])
28
ry(np.pi, qvec[1])
29
rz.adj(np.pi, qvec[2])
30
31
@cudaq.kernel
32
def
zaz(qub: cudaq.qubit):
Callers
1
kernel
Function · 0.70
Calls
2
rx
Function · 0.50
ry
Function · 0.50
Tested by
no test coverage detected