Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NVIDIA/cuda-quantum
/ kernel_detector_variadic
Function
kernel_detector_variadic
python/tests/mlir/qec_ops.py:48–55 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
46
47
@cudaq.kernel
48
def
kernel_detector_variadic():
49
q0 = cudaq.qubit()
50
q1 = cudaq.qubit()
51
q2 = cudaq.qubit()
52
h0 = mz(q0)
53
h1 = mz(q1)
54
h2 = mz(q2)
55
cudaq.detector(h0, h1, h2)
56
57
print(kernel_detector_variadic)
58
Callers
nothing calls this directly
Calls
2
mz
Function · 0.50
detector
Method · 0.45
Tested by
no test coverage detected