Open fdmalone opened 2 weeks ago
Yes, by design the musical score diagram will fail if it requires more than that number of lines. The real solution to this issue would be to make sure you're drawing what you want to. Other things to track/consider
So QROAMClean now generates an extra junk register of shape (K-1), for each target register for the QROM, I wonder if we can skip drawing these in the diagrams as 1) K could be large and 2) they don't really add any information to the diagram. Maybe the awkwardness of switching the block size momentarily for the purpose of drawing in the notebook outweighs the effort and specializing things.
Taking the prep_thc bloq from resource_estimation.ipynb results in:
My guess is there are so many junk registers that the default max_n_lines=100 isn't enough.
The issue is to see if there's a way of drawing the diagram without the extra junk registers which can be quite large (in this case the block size is 64 so each junk register of of shape (63,) to begin with.