Skip to content

Enhance variable arity functions to accept optional parameters across multiple components#3419

Merged
msoeken merged 2 commits into
mainfrom
msoeken/generic_with_params
Jul 6, 2026
Merged

Enhance variable arity functions to accept optional parameters across multiple components#3419
msoeken merged 2 commits into
mainfrom
msoeken/generic_with_params

Conversation

@msoeken

@msoeken msoeken commented Jul 6, 2026

Copy link
Copy Markdown
Member
  • Updated space, time, error_rate, and related methods in Rust and Python to accept an optional params argument, e.g., concrete rotation angles from a rotation instruction in a trace.
  • Modified the generic_function to handle callables with an additional params argument.
  • Added tests to verify functionality with the new parameter handling in both Python and Rust.

… multiple components

- Updated `space`, `time`, `error_rate`, and related methods in Rust and Python to accept an optional `params` argument, e.g., concrete rotation angles from a rotation instruction in a trace.
- Modified the `generic_function` to handle callables with an additional `params` argument.
- Added tests to verify functionality with the new parameter handling in both Python and Rust.
@msoeken msoeken added this pull request to the merge queue Jul 6, 2026
Merged via the queue into main with commit 6066164 Jul 6, 2026
12 checks passed
@msoeken msoeken deleted the msoeken/generic_with_params branch July 6, 2026 17:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants