Open fdmalone opened 2 months ago
The general philosophy is "as symbolic as possible". But: what would you expect the behavior to be here?
Things you can do:
I can't quite remember what I was thinking here, but I believe I had a case during block encoding where the register bitsize would potentially be symbolic but was needed for the input to the Partition bloq and then mypy was complaining, but I didn't think it necessarily made sense that Partition (or split / ..) expected a symbolic bitsize. In the end I rewrote the code so the issue didn't come up.
Does it make sense for these to have symbolic register sizes?