Open NoureldinYosri opened 1 month ago
This uses the bit-magic a-b = ~(~a + b)
would be useful to include in the description
@NoureldinYosri can you make the requested changes
@mpharrigan done, I was getting test failures when doing the classical simulation test because classical simulation tools couldn't handle negative values and both Add and Subtract bloqs had faulty classical action definitions for the case of signed inputs... I fixed all of these issues
@mpharrigan ptal
What happens if a_bitsize is equal to b_bitsize?
This is a good example of a bloq that should support symbolic decomposition; at least for sizeof(a) == sizeof(b)
This uses the bit-magic
a-b = ~(~a + b)