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

Qiskit / qiskit / 17259836956
88%

Build:
DEFAULT BRANCH: main
Ran 27 Aug 2025 07:46AM UTC
Jobs 1
Files 853
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

27 Aug 2025 06:40AM UTC coverage: 88.418% (+0.02%) from 88.398%
17259836956

push

github

web-flow
Add UnitarySynthesis transpiler pass to C API (#14740)

* Add UnitarySynthesis transpiler pass to C API

This commit adds a standalone transpiler pass function to the C API for
running the UnitarySynthesis transpiler pass. This pass mutates a dag
in place and updates the provided circuit pointer with the newly
generated circuit. Right now the pass doesn't support >= 3q unitaries,
targets that would rely on the XX decomposer, or have the unitary
synthesis plugin interface that exists in Python. The first two could be
fixed if/when those synthesis algorithms are ported to C, but the plugin
interface will need some thought to think about how to expose that via
the C FFI, it will certainly be different/distinct from the Python
interface but some discovery and design will be needed to come up with a
reasonable interface to make unitary synthesis pluggable from C.

Fixes #14451

* Apply suggestions from code review

Co-authored-by: Eli Arbel <46826214+eliarbel@users.noreply.github.com>

* Update docs

* Remove swap from gates to synthesize

* Fix lint

---------

Co-authored-by: Eli Arbel <46826214+eliarbel@users.noreply.github.com>

116 of 120 new or added lines in 1 file covered. (96.67%)

9 existing lines in 3 files now uncovered.

90240 of 102061 relevant lines covered (88.42%)

486387.92 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
4
96.67
crates/cext/src/transpiler/passes/unitary_synthesis.rs

Uncovered Existing Lines

Lines Coverage ∆ File
1
82.8
0.0% crates/circuit/src/parameter/parameter_expression.rs
3
92.27
0.52% crates/qasm2/src/lex.rs
5
72.78
-0.16% crates/circuit/src/parameter/symbol_expr.rs
Jobs
ID Job ID Ran Files Coverage
1 17259836956.1 27 Aug 2025 07:46AM UTC 853
88.42
GitHub Action Run
Source Files on build 17259836956
  • Tree
  • List 853
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #17259836956
  • 7e90e42d on github
  • Prev Build on gh-readonly-queue/main/pr-14954-183e9f407fa2fdbf963af4d06ed3431df8b789c8 (#17251611444)
  • Next Build on main (#17272224988)
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