-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Fanout/fanin are checkable currently so the places they can be used is limited, but we could guess at the expected size using the nat-solving framework, they'd be much more useful!
e.g.
f(Vec(Qubit, 2)) -o Bit
f = ...
g(Qubit, Qubit) -o Bit
g = [\/]; f
h(Qubit, Qubit) -o Bit
h = [\/]; ..; f
g succeeds but h fails. I think we could do better!
At the moment we are not using the nat-solving framework, fanout/fanin expects the vector type to have already been solved, so this needs parallisation. Instead we should guess a vector type (of variables), and then yield until the length is solved to a constant.
croyzor
Metadata
Metadata
Assignees
Labels
No labels