Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NVIDIA/cuda-quantum
/ walk
Method
walk
python/cudaq/kernel/kernel_builder.py:633–638 ·
view source on GitHub ↗
(topLevel, functor)
Source
from the content-addressed store, hash-verified
631
""
"
632
633
def
walk(topLevel, functor):
634
for
region in topLevel.regions:
635
for
block in region:
636
for
op in block:
637
functor(op)
638
walk(op, functor)
639
640
def
visitAllCallOps(funcOp):
641
Callers
15
bindAltLaunchKernel
Method · 0.80
isValidObserveKernel_impl
Function · 0.80
build
Method · 0.80
performAnalysis
Method · 0.80
appendMeasurements
Method · 0.80
performAnalysis
Method · 0.80
computeActionAnalysis
Method · 0.80
createControlVariantOf
Method · 0.80
countResourcesFromIR
Method · 0.80
validateRealtimeDeviceCalls
Function · 0.80
countLoopOps
Method · 0.80
runOnOperation
Method · 0.80
Calls
no outgoing calls
Tested by
6
performAnalysis
Method · 0.64
computeActionAnalysis
Method · 0.64
createControlVariantOf
Method · 0.64
TEST
Function · 0.64
collectGateTypesInModule
Function · 0.64
countOps
Function · 0.64