Skip to content

Commit 488de58

Browse files
committed
add dev comment
1 parent 8b2ec3c commit 488de58

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

frontend/catalyst/python_interface/visualization/construct_circuit_dag.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -394,5 +394,6 @@ def _operator(op: Operator) -> str:
394394
wires_str = "all"
395395
else:
396396
wires_str = f"[{', '.join(map(str, wires))}]"
397+
# Using <...> lets us use ports (https://graphviz.org/doc/info/shapes.html#record)
397398
return f"<name> {op.name}|<wire> {wires_str}"
398399

0 commit comments

Comments
 (0)