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.
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
[QHC-833] Improving digital Transpilation #862
base: main
Are you sure you want to change the base?
[QHC-833] Improving digital Transpilation #862
Changes from all commits
a0f70db
0288e5a
5313770
354f58e
ab6b082
48a3e9e
7b8dd49
90bb445
217740a
8f14eae
c3703d6
8989484
b6770ec
7506b2d
27e4874
def668f
cc56d71
72c9c5d
c22ac09
7d0f697
0764d9b
44cc7ec
51fab0c
872c2fe
9c17cbd
bddc5a8
7fb7339
8b23588
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
Is this comment needed here?
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.
Yeah, good point... I actually have a problem here, which I wanted to ask about:
If you see, Inside the
Transpiler
we have basically methods duplicated from theOptimizer
..., since we removed the handling of multiple circuits at the same time.. One option would be to remove such duplication, but at the same time that duplications serves as a kind of interface to add more functionality, and shows the user which functions can be called from the transpiler directly, so its not super bad...Of course this makes that the docstrings are duplicated, and that is more problematic, since we wouldn't; want our devs, only updating the
Optimizer
docstrings, but not theTranspiler
's which are more public. So the options we have are: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.
I'll think more about it the next days, and ask the group with a clearer head...
But such problem make me notice there is a structural code problem from base with having this duplication, which maybe should be addressed more deeply... But 😬 ...