I am currently implementing Shor’s algorithm with a custom modular multiplication matrix.
It doesn’t work well, so I want to draw it to have an idea of what the problem could be. However, the circuit is way too big to be fully displayed, because my multiplications use several additions, some cleanup routines, etc…
So I was wondering something: is it possible to draw a subroutine (like, let’s say, an addition circuit) as a block in the global circuit drawing ? That would be like for example the QFT, which is a complex circuit but in Pennylane drawing we just see a block “QFT”.