Skip to content

Add support for adapter-specific parameters#44

Merged
armalikhani merged 2 commits into
developfrom
feat/aa/adapter-spesific-params
May 26, 2026
Merged

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

Conversation

@armalikhani

@armalikhani armalikhani commented Apr 28, 2026

Copy link
Copy Markdown
Collaborator

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

@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
- 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 force-pushed the feat/aa/adapter-spesific-params branch from 38100df to 0dce2d6 Compare May 26, 2026 13:02
@armalikhani armalikhani merged commit 751e11c into develop May 26, 2026
1 check passed
armalikhani added a commit that referenced this pull request Jun 1, 2026
* ✨ Add support for adapter-specific parameters

- 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`.

* 🔧 Limit adapter circuit printing to verbose mode for better batch run experience
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