-
Notifications
You must be signed in to change notification settings - Fork 33
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
Suppress warnings from Qiskit Nature #230
Merged
+39
−27
Merged
Changes from 4 commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
b3554f4
Change PauliSumOp to SparsePauliOp; Remove QubitConverter()
SaashaJoshi eefd725
suppress warnings from qiskit-nature
SaashaJoshi f3c0d6a
minor style check changes
SaashaJoshi 70f7e40
change location of pauliSumOp setting
SaashaJoshi ed0521c
minor changes to docstrings
SaashaJoshi b83c49c
avoiding merge conflicts
SaashaJoshi 1ed13bb
Merge remote-tracking branch 'origin/main' into pauliSumOp
SaashaJoshi 244712e
import settings to avoid using pauliSumOp
SaashaJoshi 7c2c1bc
add comment
SaashaJoshi c83b88d
minor change
SaashaJoshi b61f3d5
remove upper bound on qiskit-nature version for notebooks
SaashaJoshi 71cc4e6
change qiskit-nature version dependencies
SaashaJoshi 4845f54
update README.md and quantum-serverless tutorial
SaashaJoshi 1566a9b
Update circuit_knitting/forging/cholesky_decomposition.py
SaashaJoshi d418f13
Update circuit_knitting/forging/entanglement_forging_ground_state_sol…
SaashaJoshi b8047f4
Merge branch 'Qiskit-Extensions:main' into pauliSumOp
SaashaJoshi 27279a7
add release note
SaashaJoshi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These lines actually need to be moved to
circuit_knitting/forging/__init__.py
now that #244 is merged.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And it'd be great if you could add a comment above it:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, once we finally figure out the magic to get everything working, we should double check that this block is actually required to get tests to pass. The migration guide suggests that it is not always necessary to change this setting. If you provide a
SparsePauliOp
to a function that returns an operator, it should result in aSparsePauliOp
regardless of this setting, from what I understand.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, this was in fact added after a discussion between @caleb-johnson and Max (Rossmannek). He suggested that we can suppress the warnings with these settings until opflow is dropped, which will be in the 0.8.0 release.