-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Name-ordered circuit parameters (#5759)
* change unique list to MappingView * fix test * start adding tests * handle anonymous parameter assigment * fix bind_parameters * fix compose * add reno, remove todos * fix docstring * fix inconsistent argname * fix renaming gone wrong * changes from code review * use deprecate_arguments * add deprecation section in reno * add more tests * fix naming in reno * make compose(front) more efficient * update paramtables in compose w/o iterating over all gates * properly rebuild parameterable upon compose * use params instead of param_dict * fix __new__ * fix sorting * fix tests * fix parameter order in test * Apply suggestions from code review Co-authored-by: Luciano Bello <bel@zurich.ibm.com> * rename params->parameters, update reno * add tests, remove access table by index * use ListEqual over Equal * rm unused islice import * Rm star-swallowers from bind/assign_parameters * store parent instance instead of just name * fix name `params` -> `parameters` * fix typo * fix typo #2 * add test for pickling paramvecelements Co-authored-by: Erick Winston <ewinston@us.ibm.com> Co-authored-by: Luciano Bello <bel@zurich.ibm.com>
- Loading branch information
1 parent
cb21109
commit 296a745
Showing
8 changed files
with
569 additions
and
58 deletions.
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.