iitis / PyQBench

Apache License 2.0
4 stars 3 forks source link

Simplifying API in Fourier module #10

Closed dexter2206 closed 2 years ago

dexter2206 commented 2 years ago

Our API makes it easy to mismatch the angles in different circuits produced by the fourier module. We might want to consider using another approach where:

The Gist below demonstrates the issue I see in the current code, and the solution as mentioned above. Let me know what you think, and I can implement the relevant changes today. https://gist.github.com/dexter2206/ce8cfda5d522e3f2a1cec60ea88a3ca8