This repository was archived by the owner on Dec 7, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 376
Implement selection of optimizer in the QGAN algorithm #1253
Merged
Merged
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
83ca514
Update qgan.py
Zoufalc 4d1d78d
Update qgan.py
Zoufalc 027b9ac
Update qgan.py
Zoufalc 5760d9b
Merge branch 'master' into master
woodsp-ibm 6aa8676
add possibility to choose an optimizer for the quantum generator in t…
Zoufalc 0f08731
Update quantum_generator.py
Zoufalc b306d44
Merge remote-tracking branch 'upstream/master'
Zoufalc 0e43ff3
Add optimizer instances to test_qgan.py
Zoufalc cdf8336
Merge remote-tracking branch 'upstream/master'
Zoufalc 83ad5fa
Update test_qgan.py
Zoufalc 694daef
remove forced maxiter and t=0 for optimizer
Zoufalc c9478e7
Update quantum_generator.py
Zoufalc 15af4a6
fix lint
Zoufalc 2a6f6b6
fix linting and brakets
Zoufalc cdf0117
fix optimizer argument
Zoufalc 067ffb9
Change maxiter check, fix tests to set maxiter to 1
woodsp-ibm 415dd68
Fix conflicts
woodsp-ibm 17f5e9b
Merge branch 'master' into master
woodsp-ibm 5d361f7
Merge branch 'master' into master
manoelmarques b4fee7f
fix lint
manoelmarques 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
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.
Are there any specific aspects or configuration of the optimizer that we could add here to the docstring to inform the user? For instance I see that the default optimizer just has one iteration.
Also in train I see this code that I think will fail if another optimizer is supplied.
Could we have a test case with different optimizer to assure things work.