Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NVIDIA/cuda-quantum
/ kernel
Function
kernel
python/tests/backends/test_Quantinuum_ng_kernel.py:125–128 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
123
124
@cudaq.kernel
125
def
kernel():
126
qubit = cudaq.qubit()
127
u3(0.0, np.pi / 2, np.pi, qubit)
128
mz(qubit)
129
130
result = cudaq.sample(kernel)
131
Callers
nothing calls this directly
Calls
6
qvector
Method · 0.80
u3
Class · 0.50
mz
Function · 0.50
x
Function · 0.50
detector
Method · 0.45
logical_observable
Method · 0.45
Tested by
no test coverage detected