File size: 638 Bytes
e66189d | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | {
"kind": "prefix_x",
"label": "Prefix X",
"family": "algorithm",
"tagline": "prepend an X gate on a chosen qubit",
"description": "Adds an X gate at the beginning of the circuit on the target qubit. Doesn't change qubit count or anything else; useful for sanity-checking a downstream simulator's measurement statistics.",
"color": "#dc2626",
"author": "QuDA Studio SDK example",
"params": [
{
"key": "target_qubit",
"label": "Target qubit",
"type": "int",
"min": 0,
"max": 15,
"step": 1,
"hint": "Index of the qubit to apply X to before the rest of the circuit."
}
]
}
|