File size: 688 Bytes
e66189d | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | {
"kind": "count_gates",
"label": "Gate Counter",
"family": "metric",
"tagline": "tally gate types in the current circuit",
"description": "Reports the count of each gate type in the upstream circuit. Useful as a quick sanity check after a compression / sparsification block.",
"color": "#0ea5e9",
"author": "QuDA Studio SDK example",
"params": [
{
"key": "include_barriers",
"label": "Count barriers",
"type": "select",
"options": [
{"value": "yes", "label": "Include barrier gates"},
{"value": "no", "label": "Skip barrier gates"}
],
"hint": "Barriers don't affect computation but inflate the count."
}
]
}
|