From ad9237c469cf2a1aa2e765ef7da1da418f7ac199 Mon Sep 17 00:00:00 2001 From: Tarun Kumar Allamsetty <70093909+Tarun-Kumar07@users.noreply.github.com> Date: Thu, 13 Jun 2024 19:30:44 +0530 Subject: [PATCH] change: Replace `FreeParameter("b")` with `FreeParameter("d")` in unittests (#268) --- test/unit_tests/test_translation.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/unit_tests/test_translation.py b/test/unit_tests/test_translation.py index 4a3369e9..150762c0 100644 --- a/test/unit_tests/test_translation.py +++ b/test/unit_tests/test_translation.py @@ -248,14 +248,14 @@ def _aws_device( (CPhaseShift10, gates.CPhaseShift10, [0, 1], [np.pi], ["pi"], [FreeParameter("pi")]), (GPi, gates.GPi, [0], [2], ["a"], [FreeParameter("a")]), (GPi2, gates.GPi2, [0], [2], ["a"], [FreeParameter("a")]), - (MS, gates.MS, [0, 1], [2, 3], ["a", "b"], [FreeParameter("a"), FreeParameter("b")]), + (MS, gates.MS, [0, 1], [2, 3], ["a", "c"], [FreeParameter("a"), FreeParameter("c")]), ( AAMS, gates.MS, [0, 1], [2, 3, 0.5], - ["a", "b", "c"], - [FreeParameter("a"), FreeParameter("b"), FreeParameter("c")], + ["a", "c", "d"], + [FreeParameter("a"), FreeParameter("c"), FreeParameter("d")], ), (PSWAP, gates.PSwap, [0, 1], [np.pi], ["pi"], [FreeParameter("pi")]), (qml.ECR, gates.ECR, [0, 1], [], [], []),