• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Qiskit / qiskit / 17290062644
88%
main: 88%

Build:
Build:
LAST BUILD BRANCH: substitute_pi4_rotations
DEFAULT BRANCH: main
Ran 28 Aug 2025 08:56AM UTC
Jobs 1
Files 855
Run time 2min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

28 Aug 2025 08:18AM UTC coverage: 88.418% (+0.02%) from 88.394%
17290062644

push

github

web-flow
C API: Burn `Optimize1qGatesDecomposition`. (#14710)

* Initial: Introduce C-API Access to `Optimize1qGatesDecomposition`.
- The following commit adds initial access to a standalone C foreign function interface that allows users to run the `Optimize1qGatesDecomposition` transpiler pass. The feature as it stands requires the user to build a target prior to submitting the circuit; This might change in the future.
- Added 1 initial testing suite for the pass which converts a sequence of H gates into a different sequences depending on the provided target. More tests will be added with time.

* Fix: Add target identity test.

* Chore: Fix docstring and free some pointers.

* Add: Support for optional target for `Optimize1qGatesDecomposition` C API.
- Add ability of running the pass without passing a `Target`.
- Add proper formatting to unit tests with multiple tests inside.
- Add tests without target.

* Chore: Add release note.

* Chore: Fix docstring.

* Chore: Fix bug in release note

* Chore: Address review comments
- Make tha function call run in-place and modify the pointer to the `QkCircuit` in use.
- Remove `h_p_target` from tests.
- Use parametric gates in the target with generic parameter expressions instead of fixed ones.

* Update crates/cext/src/transpiler/passes/optimize_1q_decomposition.rs

Co-authored-by: Matthew Treinish <mtreinish@kortar.org>

* Chore: Fix docstring

* Chore: Fix release note

* Update test/c/test_optimize_1q_decomposition.c

Co-authored-by: Julien Gacon <gaconju@gmail.com>

* Chore: Address review comments.

* Fix: Review comments

* Fix: Address some memory leakage.

* Fix: Incorrect function name call

* Chore: Address different review items
- Rename files from `optimize_1q_decomposition` to `optiize_1q_sequences`.
- Fixed previous oversight that counted operations before the pass was ran.

* Fix: Replace `QkOpCounts` failures until it is fixed.

* Fix: Add final review comments.
- Update release note to include explan... (continued)

17 of 17 new or added lines in 1 file covered. (100.0%)

6 existing lines in 2 files now uncovered.

90345 of 102179 relevant lines covered (88.42%)

485977.18 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
82.8
0.0% crates/circuit/src/parameter/parameter_expression.rs
5
91.75
0.0% crates/qasm2/src/lex.rs
Jobs
ID Job ID Ran Files Coverage
1 17290062644.1 28 Aug 2025 08:56AM UTC 855
88.42
GitHub Action Run
Source Files on build 17290062644
  • Tree
  • List 855
  • Changed 6
  • Source Changed 0
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #17290062644
  • e868803c on github
  • Prev Build on gh-readonly-queue/main/pr-14833-7e90e42d216cd00d9bd2a928be1c230f49e43ff6 (#17271632409)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc