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

Method is_compiled

python/cudaq/kernel/kernel_decorator.py:256–258  ·  view source on GitHub ↗

Whether the kernel has already been compiled.

(self)

Source from the content-addressed store, hash-verified

254 self.compile()
255
256 def is_compiled(self):
257 """Whether the kernel has already been compiled."""
258 return self._cached_qkeModule is not None
259
260 def supports_compilation(self):
261 """Whether the kernel can be compiled for the current target."""

Callers 8

apply_callMethod · 0.80
test_explicit_compileMethod · 0.80
test_direct_callMethod · 0.80
test_sampleMethod · 0.80

Calls

no outgoing calls

Tested by 7

test_explicit_compileMethod · 0.64
test_direct_callMethod · 0.64
test_sampleMethod · 0.64