Skip to content

Improve consistency of arithmetic signatures #1534

Open
@christopherkang

Description

Similar to this issue, arithmetic methods currently have inconsistent signature types.

E.g., consider the Product and Add methods. While the Add method takes in QUInt registers of a specific size, Product takes in ints describing the size of Product inputs:

add_small = Add(QUInt(bitsize=4))
product = Product(a_bitsize=4, b_bitsize=6)

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions