Skip to content

Add support for adapter-specific parameters#44

Open
armalikhani wants to merge 2 commits into
developfrom
feat/aa/adapter-spesific-params
Open

Add support for adapter-specific parameters#44
armalikhani wants to merge 2 commits into
developfrom
feat/aa/adapter-spesific-params

Conversation

@armalikhani
Copy link
Copy Markdown
Collaborator

@armalikhani armalikhani commented Apr 28, 2026

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_modify or queued arguments for the MQSS Qiskit adapter). This improves modularity and makes the configuration system more extensible for future adapters.

Changes

  • Introduced adapter_params as a unified top-level configuration section for adapter-specific settings
  • Added backend_params for adapter-specific backend configuration
    • Supports mqss_qiskit and qiskit_simulator adapters
  • Moved existing adapter fields (backend, credentials, shots) under adapter_params
  • Refactored BenchmarkRunner and DeviceAdapter implementations to use the new structure
  • Updated tests, examples, and README
  • Limit adapter circuit printing to verbose mode for cleaner batch run logs

Breaking Changes

This change introduces a breaking change in the configuration schema.

  • Top-level fields backend, credentials, and shots have been removed
  • These fields must now be defined under adapter_params

Example:

adapter_params:
  backend: ...
  backend_params:
    ...
  credentials: ...
  shots: ...

Closes #32

- 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`.
@armalikhani armalikhani marked this pull request as ready for review April 28, 2026 13:29
@armalikhani armalikhani requested a review from Bmete7 April 28, 2026 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support adapter-specific parameters in configuration

1 participant