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

Function kernel_observable_vector_default

python/tests/mlir/qec_ops.py:127–130  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

125
126 @cudaq.kernel
127 def kernel_observable_vector_default():
128 qs = cudaq.qvector(3)
129 handles = mz(qs)
130 cudaq.logical_observable(handles)
131
132 print(kernel_observable_vector_default)
133

Callers

nothing calls this directly

Calls 3

qvectorMethod · 0.80
mzFunction · 0.50
logical_observableMethod · 0.45

Tested by

no test coverage detected