From 0e5bb8ca325dfbbff0923658316161f61be1ff69 Mon Sep 17 00:00:00 2001 From: Antal Spector-Zabusky Date: Fri, 20 Sep 2024 16:41:54 -0400 Subject: [PATCH] test: add `pad_*` parameters for `erf_square` to quil-py test cases --- quil-py/tests_py/program/test_program.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/quil-py/tests_py/program/test_program.py b/quil-py/tests_py/program/test_program.py index 86f81179..93e35247 100644 --- a/quil-py/tests_py/program/test_program.py +++ b/quil-py/tests_py/program/test_program.py @@ -134,8 +134,8 @@ def test_basic_block_fixed_schedule(): FENCE q0 q1 SET-PHASE q0 "flux_tx_cz" 0.0 SET-PHASE q1 "flux_tx_iswap" 0.0 - NONBLOCKING PULSE q0 "flux_tx_cz" erf_square(duration: 6.000000000000001e-08) - NONBLOCKING PULSE q1 "flux_tx_iswap" erf_square(duration: 6.000000000000001e-08) + NONBLOCKING PULSE q0 "flux_tx_cz" erf_square(duration: 6.000000000000001e-08, pad_left: 0.1e-08, pad_right: 0.1e-08) + NONBLOCKING PULSE q1 "flux_tx_iswap" erf_square(duration: 6.000000000000001e-08, pad_left: 0.1e-08, pad_right: 0.1e-08) SHIFT-PHASE q0 "flux_tx_cz" 1.0 SHIFT-PHASE q1 "flux_tx_iswap" 1.0 FENCE q0 q1