Skip to content

Commit

Permalink
update generalizer tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tanujkhattar committed May 29, 2024
1 parent b20d9d2 commit e61d8bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions qualtran/resource_counting/generalizers_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)),
Expand Down Expand Up @@ -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)),
Expand Down

0 comments on commit e61d8bb

Please sign in to comment.