Skip to content

Commit

Permalink
docs: remove input->const order edges from spec diagrams
Browse files Browse the repository at this point in the history
  • Loading branch information
ss2165 committed Jan 17, 2024
1 parent ffa9016 commit d15d2cc
Showing 1 changed file with 8 additions and 12 deletions.
20 changes: 8 additions & 12 deletions specification/hugr.md
Original file line number Diff line number Diff line change
Expand Up @@ -441,8 +441,7 @@ flowchart
subgraph BB1
direction TB
BB1In["Input"] -- "angle" --> G
BB1In -. "(Order)" .-> BB1_["Const"]
BB1_ -- "[()]" --> BB1Out["Output"]
BB1_["Const"] -- "[()]" --> BB1Out["Output"]
BB1In -- "qubit" --> BB1Out
G -- "angle" --> BB1Out
end
Expand All @@ -455,18 +454,16 @@ flowchart
end
subgraph BB3
direction TB
BB3In["Input"] -. "(Order)" .-> C
BB3In -. "(Order)" .-> BB3_["Const"]
BB3_ -- "[()]" --> BB3Out["Output"]
BB3In["Input"]
BB3_["Const"] -- "[()]" --> BB3Out["Output"]
BB3In -- "qubit" --> BB3Out
C -- "angle" --> BB3Out
end
subgraph BB4
direction TB
BB4In["Input"] -- "qubit" --> Rz
BB4In -- "angle" --> Rz
BB4In -. "(Order)" .-> BB4_["Const"]
BB4_ -- "[()]" --> BB4Out["Output"]
BB4_["Const"] -- "[()]" --> BB4Out["Output"]
Rz -- "qubit" --> BB4Out
end
subgraph Exit
Expand Down Expand Up @@ -655,8 +652,8 @@ flowchart
end
subgraph BB1
direction TB
BB1In["Input"] -. "(Order)" .-> BB1_["Const"]
BB1_ -- "[()]" --> BB1Out["Output"]
BB1In["Input"]
BB1_["Const"] -- "[()]" --> BB1Out["Output"]
G -- "angle" --> BB1Out
end
subgraph BB2
Expand All @@ -666,9 +663,8 @@ flowchart
end
subgraph BB3
direction TB
BB3In["Input"] -. "(Order)" .-> C
BB3In -. "(Order)" .-> BB3_["Const"]
BB3_ -- "[()]" --> BB3Out["Output"]
BB3In["Input"]
BB3_["Const"] -- "[()]" --> BB3Out["Output"]
C -- "angle" --> BB3Out
end
subgraph Exit
Expand Down

0 comments on commit d15d2cc

Please sign in to comment.