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

Method isFunctionArgument

python/cudaq/kernel/ast_bridge.py:489–491  ·  view source on GitHub ↗
(self, value)

Source from the content-addressed store, hash-verified

487 ty) or quake.StruqType.isinstance(ty)
488
489 def isFunctionArgument(self, value):
490 return (BlockArgument.isinstance(value) and
491 isinstance(value.owner.owner, func.FuncOp))
492
493 def containsList(self, ty, innerListsOnly=False):
494 """Returns true if the give type is a vector or contains items that are

Callers 3

process_assignmentMethod · 0.95
visit_ReturnMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected