From 17801852edb7d25e5ce959a2c3f14d85ed0526fa Mon Sep 17 00:00:00 2001 From: Antal Spector-Zabusky Date: Thu, 9 Jan 2025 01:43:39 -0500 Subject: [PATCH] =?UTF-8?q?test:=20add=20failing=20test=20demonstrating=20?= =?UTF-8?q?issue=20#429=20=E2=80=93=20block=20terminators=20do=20not=20sho?= =?UTF-8?q?w=20up=20in=20the=20dependency=20graph?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- quil-rs/src/program/scheduling/graph.rs | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/quil-rs/src/program/scheduling/graph.rs b/quil-rs/src/program/scheduling/graph.rs index ead1b4fd..988de486 100644 --- a/quil-rs/src/program/scheduling/graph.rs +++ b/quil-rs/src/program/scheduling/graph.rs @@ -816,6 +816,18 @@ DECLARE integers INTEGER[1] LOAD bits[0] bits2 integers[0] # write LOAD bits[0] bits3 integers[0] # write LOAD bits4[0] bits integers[0] # read +"# + } + + build_dot_format_snapshot_test_case! { + memory_dependency_in_block_terminator, + r#" +DECLARE ro BIT + +NONBLOCKING CAPTURE 0 "readout_rx" flat(duration: 2.0000000000000003e-06, iq: 1.0, scale: 1.0, phase: 0.8745492960861506, detuning: 0.0) ro +JUMP-WHEN @eq ro +LABEL @eq +PULSE 0 "tx" gaussian(duration: 1, fwhm: 2, t0: 3) "# } }