Add support for adapter-specific parameters#44
Open
armalikhani wants to merge 2 commits into
Open
Conversation
- introduce `adapter_params` as a unified configuration section for adapters - add `backend_params` for adapter-specific backend configuration - support for `mqss_qiskit` and `qiskit_simulator` - move existing adapter fields (`backend`, `credentials`, `shots`) under `adapter_params` - refactor BenchmarkRunner and adapters to use the new config structure - update tests, examples and README BREAKING CHANGE: Top-level `backend`, `credentials`, and `shots` fields are removed. They must now be defined under `adapter_params`.
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This PR introduces support for adapter-specific configuration parameters by restructuring how adapter and backend settings are defined and consumed.
The goal is to allow users to directly define adapter-specific runtime configurations (such as
no_modifyorqueuedarguments for the MQSS Qiskit adapter). This improves modularity and makes the configuration system more extensible for future adapters.Changes
adapter_paramsas a unified top-level configuration section for adapter-specific settingsbackend_paramsfor adapter-specific backend configurationmqss_qiskitandqiskit_simulatoradaptersbackend,credentials,shots) underadapter_paramsBenchmarkRunnerandDeviceAdapterimplementations to use the new structureBreaking Changes
This change introduces a breaking change in the configuration schema.
backend,credentials, andshotshave been removedadapter_paramsExample:
Closes #32