Skip to content

Conversation

@raynelfss
Copy link
Contributor

Summary

Introduce QkTranspileState to transmit attributes between transpiler stages. Should be used for #15151.

Details and comments

- Introduce `QkTranspileState` to transmit attributes between transpiler stages.
- Use double pointers to specify insgtances where a `QkTranspileState` is optional.
- Remove instances where stages would write to a `NULL` pointer.
@coveralls
Copy link

coveralls commented Jan 2, 2026

Pull Request Test Coverage Report for Build 20718068012

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details

  • 40 of 97 (41.24%) changed or added relevant lines in 1 file are covered.
  • 11 unchanged lines in 4 files lost coverage.
  • Overall coverage decreased (-0.008%) to 88.303%

Changes Missing Coverage Covered Lines Changed/Added Lines %
crates/cext/src/transpiler/transpile_function.rs 40 97 41.24%
Files with Coverage Reduction New Missed Lines %
crates/cext/src/transpiler/transpile_function.rs 1 51.91%
crates/circuit/src/parameter/parameter_expression.rs 1 82.3%
crates/circuit/src/parameter/symbol_expr.rs 4 72.98%
crates/qasm2/src/lex.rs 5 92.03%
Totals Coverage Status
Change from base Build 20663023597: -0.008%
Covered Lines: 96754
Relevant Lines: 109570

💛 - Coveralls

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.

2 participants