-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
circuit.library.fourier_checking needs testing #4348
Comments
Hi I would like to work on this issue, please may I be assigned? |
Assigned! Let me know if you need any help. |
Thanks, I'll get on it now! |
Sorry I'm taking so long, have had a lot of stuff going on, Testing the FourierChecking object now |
Hi! Would it be fine for me to pick this issue up if it is not being worked on at the moment? I am working on a similar issue (#4349) at the moment, so I think I would have enough background to pick this one up. |
Hi again! I looked into this briefly and came up with the following:
Would something like this be good for this test? It is a simple check based on calculating the circuit matrix multiplying Hadamard and diagonal truth table matrices. I assumed this straightforward check should be fine. Additionally, I thought it would make sense to add a check that an error is raised with an invalid input. If you would think this looks good, I would be more than glad to make a pull request with the test. If someone else is working on this issue maybe this piece of code could be helpful for others. Thank you! |
Thanks for the contribution @mantcep, please open a PR for this! 👍 |
Thank you for the feedback, @Cryoris! I have created the PR and already got a review on that 🙂 |
The object
FourierChecking
(inqiskit/circuit/library/fourier_checking.py
) needs testing. No line is currently coveraged.The text was updated successfully, but these errors were encountered: