Conversation
Contributor
Author
|
I don't know what's wrong here, in my local system I'm getting 91% cover.Can anyone help me out with this? |
cclauss
reviewed
Oct 17, 2023
Comment on lines
-93
to
-96
| print( | ||
| f"Total count for quantum fourier transform state is: \ | ||
| {quantum_fourier_transform(3)}" | ||
| ) |
Contributor
Author
There was a problem hiding this comment.
i got error relating to more no of lines in the pre-commit.So i checked with other algorithms there were no print statements..So,but i can change it back
I think, qiskit module is not yet available for Python 3.12 +
maybe that is the reason?
cclauss
requested changes
Sep 13, 2026
Co-authored-by: Christian Clauss <cclauss@me.com>
cclauss
reviewed
Sep 13, 2026
github-actions
Bot
force-pushed
the
fix-doctest-q_fourier_transform.py
branch
2 times, most recently
from
September 13, 2026 04:28
e140b8d to
4bc28d6
Compare
Added print statements to display the total count for the quantum Fourier transform state when the module is run directly.
cclauss
approved these changes
Sep 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Describe your change:
I have corrected failure examples in the doctests and added testmod function to the program
Contributes to #9943
Checklist: