-
Notifications
You must be signed in to change notification settings - Fork 26
Integration of HQS automatic backend selection #234
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
Merged
MoritzWillmann
merged 94 commits into
sQUlearn:develop
from
David-Kreplin:hqs_integration
Oct 15, 2024
Merged
Changes from all commits
Commits
Show all changes
94 commits
Select commit
Hold shift + click to select a range
bea6ab3
added files from hqs
David-Kreplin 4bcb7e8
black format
David-Kreplin 3944a6b
wip
David-Kreplin 467bd96
first version of automatic selection is working
David-Kreplin ef9e341
modified parallel primitves
David-Kreplin ed5a58e
wip
David-Kreplin e52750c
wip
David-Kreplin 8330894
wip
David-Kreplin 345b079
wip
David-Kreplin 3dbe713
wip
David-Kreplin 51447b5
wip
David-Kreplin 2926adc
cleaning
David-Kreplin 670aaf0
wip
David-Kreplin 126510d
Add more comments
David-Kreplin 15bf55c
bug fix
David-Kreplin 4622136
removed unimportant code
David-Kreplin 994e364
fixed test
David-Kreplin 1f57755
wip
David-Kreplin b8b4547
ip
David-Kreplin d366d7d
doc strings fixed
David-Kreplin b874498
added test for parallel execution
David-Kreplin 80c6758
get everything working with fake backends
David-Kreplin 89efa45
added more tests for automatic selection
David-Kreplin 11f7c9b
add missng testjob
David-Kreplin 16a602c
Merge branch 'develop' into hqs_integration
David-Kreplin 13e1e5c
update off docu and dependencies
David-Kreplin ca7b813
deleted tests
David-Kreplin 13e6af1
reset of regression_example
David-Kreplin 6a739b6
merge with develop complete
David-Kreplin af83a71
Merge branch 'develop' into hqs_integration
David-Kreplin 917187a
black
David-Kreplin 7f5dd51
fixed testjobs
David-Kreplin 1f90b90
adjust testjobs
David-Kreplin 81d62bf
black
David-Kreplin 5fa0fc0
remove value checks in tests, since they are not reproduceable
David-Kreplin e3b5464
black
David-Kreplin c9350c4
remove result check from test_parallel_primtives.py
David-Kreplin 913fce0
cleaning of test
David-Kreplin 0e57613
black
David-Kreplin aeee91e
update executor graphic
David-Kreplin 8e158f0
Merge branch 'develop' into hqs_integration
David-Kreplin 10ea8a0
update of the doc
David-Kreplin 4ba9338
Merge branch 'develop' into hqs_integration
David-Kreplin abb2b86
fix of primitive
David-Kreplin 87ca8ad
Merge branch 'hqs_integration' of github.com:David-Kreplin/squlearn i…
David-Kreplin 444c21b
removed print statement
David-Kreplin 09eb4a8
final run of black
David-Kreplin 4740523
Merge branch 'develop' into hqs_integration
David-Kreplin 40ee7f9
Merge branch 'develop' into hqs_integration
MoritzWillmann 80fbf81
fix test
MoritzWillmann 328a617
fix some stuff
MoritzWillmann 2450b25
Merge branch 'develop' into hqs_integration
MoritzWillmann d449ea1
Update src/squlearn/util/executor.py
David-Kreplin 9668503
Update src/squlearn/util/execution/backend_auto_selection.py
David-Kreplin a7e951f
Update src/squlearn/util/execution/backend_auto_selection.py
David-Kreplin 29f76d9
Update src/squlearn/qnn/qnnr.py
David-Kreplin 8e238a6
Update src/squlearn/qnn/qnnc.py
David-Kreplin 05acb18
Update src/squlearn/qnn/lowlevel_qnn_qiskit.py
David-Kreplin c6baafe
merge develop
David-Kreplin 3924ee4
fix in test
David-Kreplin 2adcb05
renamed AutoSelBack
David-Kreplin 5c7ee54
Merge branch 'develop' into hqs_integration
David-Kreplin 57cb602
fixed merge
David-Kreplin 0672f78
fix pyproject.toml
David-Kreplin 36bf2d6
fix pyproject.toml v2
David-Kreplin 782b884
fix pyproject.toml v3
David-Kreplin 51239b8
update of testjob
David-Kreplin f43a6c3
black
David-Kreplin ba3c4d0
fix for testjobs
David-Kreplin ff7b8e9
fix test
David-Kreplin 85511e5
rechange dependencies
MoritzWillmann 4f75c86
remove IBMQuantum variable in the executor
David-Kreplin ad6c3fc
fix executor docstring
MoritzWillmann 68115ba
black
MoritzWillmann 851859c
add docstring for select_backend, remove comments
MoritzWillmann 397ce93
rename function
MoritzWillmann faecce9
change ValueError to TypeError
MoritzWillmann 1c9837f
fix if clauses
MoritzWillmann 628df25
update parallel primitives
MoritzWillmann ec8178f
rename `parse_openqasm`
MoritzWillmann a7904d6
clean backend auto selection code
MoritzWillmann b933adf
black
MoritzWillmann 3d50da9
fix in Qiskit lowleven QNN and fix of IBMQuantum variable in the exec…
David-Kreplin 4b0bd63
merge
David-Kreplin ccee656
black
David-Kreplin 92e1653
remove metric
MoritzWillmann 30c041b
remove result comparison in parallel primitives
David-Kreplin 4d23e56
make `heuristic` function and add tests
MoritzWillmann 9e55c0d
Merge branch 'hqs_integration' of github.com:David-Kreplin/squlearn i…
MoritzWillmann 0aa0e02
black
MoritzWillmann 6d24227
black tests
MoritzWillmann 5d67b92
rename remote and ibmquantum
MoritzWillmann c8a24fb
clean backend auto selection
MoritzWillmann 0bb9d5d
add hqaa modes
MoritzWillmann 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 hidden or 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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 hidden or 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
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| from .backend_auto_selection import AutoSelectionBackend | ||
| from .parallel_estimator import ParallelEstimator | ||
| from .parallel_sampler import ParallelSampler | ||
|
|
||
| __all__ = [ | ||
| "AutoSelectionBackend", | ||
| "ParallelEstimator", | ||
| "ParallelSampler", | ||
| ] |
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.
Uh oh!
There was an error while loading. Please reload this page.