From e61d8bbbc0d88a5af45e6fc836311b07c0b835c4 Mon Sep 17 00:00:00 2001 From: Tanuj Khattar Date: Wed, 29 May 2024 17:57:37 -0400 Subject: [PATCH] update generalizer tests --- qualtran/resource_counting/generalizers_test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qualtran/resource_counting/generalizers_test.py b/qualtran/resource_counting/generalizers_test.py index 30f7b643c..d1c0b130c 100644 --- a/qualtran/resource_counting/generalizers_test.py +++ b/qualtran/resource_counting/generalizers_test.py @@ -113,7 +113,7 @@ def test_generalize_cvs(): Join(QAny(bitsize=5)), TwoBitSwap(), And(CV, CV), # changed - MultiAnd((CV,) * 4), # changed + MultiAnd((1,) * 4), # changed Rx(0.123), Allocate(QAny(bitsize=5)), Free(QAny(bitsize=5)), @@ -180,7 +180,7 @@ def test_many_generalizers(): # Join(QAny(n=5)), # TwoBitSwap(), And(CV, CV), - MultiAnd((CV,) * 4), + MultiAnd((1,) * 4), # changed Rx(PHI), # Allocate(QAny(n=5)), # Free(QAny(n=5)),