Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NVIDIA/cuda-quantum
/ kernel_detector_vector
Function
kernel_detector_vector
python/tests/mlir/qec_ops.py:77–80 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
75
76
@cudaq.kernel
77
def
kernel_detector_vector():
78
qs = cudaq.qvector(4)
79
handles = mz(qs)
80
cudaq.detector(handles)
81
82
print(kernel_detector_vector)
83
Callers
nothing calls this directly
Calls
3
qvector
Method · 0.80
mz
Function · 0.50
detector
Method · 0.45
Tested by
no test coverage detected