Closed peter-campora closed 5 months ago
The problem is, that the circuit has two quantum registers, you can solve this with using the pytket pass FlattenRelabelRegistersPass
and it should work. If you think we should apply this pass by default, I am happy to discuss this.
Seems that using pytket-quantinuum or manually invoking that pass, as @cqc-melf mentioned takes care of the issue!
When compiling a simple qasm program via pytket-qir, I hit the following error:
The relevant code to hit the error is: