-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
267 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 28 additions & 0 deletions
28
src/program/snapshots/quil_rs__program__graphviz_dot__tests__graph__blocking_2q_pulse.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
--- | ||
source: src/program/graphviz_dot.rs | ||
expression: dot_format | ||
--- | ||
digraph { | ||
entry -> "block_0_start"; | ||
entry [label="Entry Point"]; | ||
subgraph cluster_0 { | ||
label="block_0"; | ||
node [style="filled"]; | ||
"block_0_start" [shape=circle, label="start"]; | ||
"block_0_start" -> "block_0_0" [label="frame"]; | ||
"block_0_start" -> "block_0_1" [label="frame"]; | ||
"block_0_start" -> "block_0_2" [label="frame"]; | ||
"block_0_start" -> "block_0_end" [label="frame | ||
ordering"]; | ||
"block_0_0" [shape=rectangle, label="[0] PULSE 0 \"rf\" test(duration: 1e-6)"]; | ||
"block_0_0" -> "block_0_2" [label="frame"]; | ||
"block_0_0" -> "block_0_end" [label="frame"]; | ||
"block_0_1" [shape=rectangle, label="[1] PULSE 1 \"rf\" test(duration: 1e-6)"]; | ||
"block_0_1" -> "block_0_2" [label="frame"]; | ||
"block_0_1" -> "block_0_end" [label="frame"]; | ||
"block_0_2" [shape=rectangle, label="[2] PULSE 0 1 \"cz\" test(duration: 1e-6)"]; | ||
"block_0_2" -> "block_0_end" [label="frame"]; | ||
"block_0_end" [shape=circle, label="end"]; | ||
} | ||
} | ||
|
29 changes: 29 additions & 0 deletions
29
...hots/quil_rs__program__graphviz_dot__tests__graph__blocking_pulses_after_nonblocking.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
--- | ||
source: src/program/graphviz_dot.rs | ||
expression: dot_format | ||
--- | ||
digraph { | ||
entry -> "block_0_start"; | ||
entry [label="Entry Point"]; | ||
subgraph cluster_0 { | ||
label="block_0"; | ||
node [style="filled"]; | ||
"block_0_start" [shape=circle, label="start"]; | ||
"block_0_start" -> "block_0_0" [label="frame"]; | ||
"block_0_start" -> "block_0_1" [label="frame"]; | ||
"block_0_start" -> "block_0_2" [label="frame"]; | ||
"block_0_start" -> "block_0_end" [label="frame | ||
ordering"]; | ||
"block_0_0" [shape=rectangle, label="[0] NONBLOCKING PULSE 0 \"ro_tx\" test(duration: 1000000.0)"]; | ||
"block_0_0" -> "block_0_1" [label="frame"]; | ||
"block_0_0" -> "block_0_2" [label="frame"]; | ||
"block_0_0" -> "block_0_end" [label="frame"]; | ||
"block_0_1" [shape=rectangle, label="[1] PULSE 0 \"rf\" test(duration: 1000000.0)"]; | ||
"block_0_1" -> "block_0_2" [label="frame"]; | ||
"block_0_1" -> "block_0_end" [label="frame"]; | ||
"block_0_2" [shape=rectangle, label="[2] PULSE 0 \"ro_rx\" test(duration: 1000000.0)"]; | ||
"block_0_2" -> "block_0_end" [label="frame"]; | ||
"block_0_end" [shape=circle, label="end"]; | ||
} | ||
} | ||
|
32 changes: 32 additions & 0 deletions
32
...shots/quil_rs__program__graphviz_dot__tests__graph__blocking_pulses_wrap_nonblocking.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
--- | ||
source: src/program/graphviz_dot.rs | ||
expression: dot_format | ||
--- | ||
digraph { | ||
entry -> "block_0_start"; | ||
entry [label="Entry Point"]; | ||
subgraph cluster_0 { | ||
label="block_0"; | ||
node [style="filled"]; | ||
"block_0_start" [shape=circle, label="start"]; | ||
"block_0_start" -> "block_0_0" [label="frame"]; | ||
"block_0_start" -> "block_0_1" [label="frame"]; | ||
"block_0_start" -> "block_0_3" [label="frame"]; | ||
"block_0_start" -> "block_0_end" [label="ordering"]; | ||
"block_0_0" [shape=rectangle, label="[0] PULSE 0 \"rf\" test(duration: 1000000.0)"]; | ||
"block_0_0" -> "block_0_1" [label="frame"]; | ||
"block_0_0" -> "block_0_2" [label="frame"]; | ||
"block_0_0" -> "block_0_3" [label="frame"]; | ||
"block_0_1" [shape=rectangle, label="[1] NONBLOCKING PULSE 0 \"ro_tx\" test(duration: 1000000.0)"]; | ||
"block_0_1" -> "block_0_2" [label="frame"]; | ||
"block_0_1" -> "block_0_3" [label="frame"]; | ||
"block_0_2" [shape=rectangle, label="[2] PULSE 0 \"rf\" test(duration: 1000000.0)"]; | ||
"block_0_2" -> "block_0_3" [label="frame"]; | ||
"block_0_3" [shape=rectangle, label="[3] FENCE 0"]; | ||
"block_0_3" -> "block_0_4" [label="frame"]; | ||
"block_0_4" [shape=rectangle, label="[4] FENCE 0"]; | ||
"block_0_4" -> "block_0_end" [label="frame"]; | ||
"block_0_end" [shape=circle, label="end"]; | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.