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

Function isa_kernel_decorator

python/cudaq/kernel/kernel_decorator.py:750–754  ·  view source on GitHub ↗

Return True if and only if object is an instance of PyKernelDecorator.

(object)

Source from the content-addressed store, hash-verified

748
749
750def isa_kernel_decorator(object):
751 """
752 Return True if and only if object is an instance of PyKernelDecorator.
753 """
754 return isinstance(object, PyKernelDecorator)
755
756
757def _get_source(function):

Callers 15

runFunction · 0.90
run_asyncFunction · 0.90
get_unitaryFunction · 0.90
_detail_drawFunction · 0.90
get_stateFunction · 0.90
get_state_asyncFunction · 0.90
__isBroadcastFunction · 0.90
sample_asyncFunction · 0.90
dem_from_kernelFunction · 0.90
translateFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected