Closed bcdonovan closed 3 months ago
This PR improves the performance of the ExtractCircuitsPass by replacing insertArguments with getBody().addArugment.
insertArguments
getBody().addArugment
Also fixes a bug by inserting call_circuit after location of last operation in circuit rather than the first.
This PR improves the performance of the ExtractCircuitsPass by replacing
insertArguments
withgetBody().addArugment
.Also fixes a bug by inserting call_circuit after location of last operation in circuit rather than the first.