-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Name-ordered circuit parameters #5759
Merged
Merged
Changes from 51 commits
Commits
Show all changes
54 commits
Select commit
Hold shift + click to select a range
9ae2fb9
change unique list to MappingView
Cryoris 86e4e90
Merge branch 'master' into sorted-circuit-parameters
Cryoris 6c5962a
fix test
Cryoris 51ebc78
start adding tests
Cryoris 3e87ec4
handle anonymous parameter assigment
ewinston 2a901ed
fix bind_parameters
ewinston 26e30f2
Merge branch 'sorted-circuit-parameters' into issue/5557/assign_list
ewinston 9e5bb10
Merge branch 'master' into sorted-circuit-parameters
Cryoris f85df15
Merge branch 'master' into sorted-circuit-parameters
Cryoris 0c6580f
Merge branch 'sorted-circuit-parameters' into issue/5557/assign_list
Cryoris fce5872
fix compose
Cryoris 082297e
add reno, remove todos
Cryoris 670c947
Merge branch 'master' into sorted-circuit-parameters
Cryoris b66964d
fix docstring
Cryoris 3ecd42a
Merge branch 'sorted-circuit-parameters' of github.com:Cryoris/qiskit…
Cryoris b791c5b
fix inconsistent argname
Cryoris b6e41e9
fix renaming gone wrong
Cryoris 44ab651
changes from code review
Cryoris a5b4a06
Merge branch 'master' into sorted-circuit-parameters
Cryoris e5db1b3
fix naming in reno
Cryoris e775265
make compose(front) more efficient
Cryoris 63ed6e1
Merge branch 'sorted-circuit-parameters' of github.com:Cryoris/qiskit…
Cryoris 9016715
update paramtables in compose w/o iterating over all gates
Cryoris 0360063
Merge branch 'master' into sorted-circuit-parameters
Cryoris 44b2f55
properly rebuild parameterable upon compose
Cryoris 5579937
Merge branch 'master' into sorted-circuit-parameters
Cryoris 5b41291
use params instead of param_dict
Cryoris c2b81fb
Merge branch 'master' into sorted-circuit-parameters
Cryoris bbe14ee
Merge branch 'master' into sorted-circuit-parameters
Cryoris 27813bd
fix __new__
Cryoris 5c0cccc
fix sorting
Cryoris 0f0680f
fix tests
Cryoris 7ac2950
fix parameter order in test
Cryoris 48275f1
Merge branch 'sorted-circuit-parameters' of github.com:Cryoris/qiskit…
Cryoris 34cf7f0
Merge branch 'master' into sorted-circuit-parameters
Cryoris f15fc12
Merge branch 'master' into sorted-circuit-parameters
Cryoris 512759e
Merge branch 'master' into sorted-circuit-parameters
Cryoris 456a4ca
Apply suggestions from code review
Cryoris 42e7a0a
Merge branch 'master' into sorted-circuit-parameters
Cryoris a6fdf57
rename params->parameters, update reno
Cryoris c533b99
Merge branch 'sorted-circuit-parameters' of github.com:Cryoris/qiskit…
Cryoris bb768a9
add tests, remove access table by index
Cryoris 7a4b0f5
use ListEqual over Equal
Cryoris a5b06dd
rm unused islice import
Cryoris 7f76114
Rm star-swallowers from bind/assign_parameters
Cryoris 721b4d3
store parent instance instead of just name
Cryoris ff9cdf9
Merge branch 'master' into sorted-circuit-parameters
Cryoris f93cfd1
fix name `params` -> `parameters`
Cryoris 253942d
Merge branch 'sorted-circuit-parameters' of github.com:Cryoris/qiskit…
Cryoris bba4b64
fix typo
Cryoris 5681083
fix typo #2
Cryoris 266d9ed
Merge branch 'master' into sorted-circuit-parameters
Cryoris 78f67e4
Merge branch 'master' into sorted-circuit-parameters
Cryoris 176b206
add test for pickling paramvecelements
Cryoris 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
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
Oops, something went wrong.
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.
Is this different to
qiskit.utils.deprecation.deprecate_function
?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.
It allows to print the method name in without having to hardcode it in the deprecation call. E.g. a solution using
deprecate_function
could beI can change it to that if you prefer, I was just being lazy and added a quick new method instead of having to type out the name of every method I want to deprecated 😉