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

Qiskit / qiskit / 16806288664 / 1
88%
main: 88%

Build:
DEFAULT BRANCH: main
Ran 07 Aug 2025 02:14PM UTC
Files 836
Run time 44s
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

07 Aug 2025 01:13PM UTC coverage: 87.637% (-0.01%) from 87.647%
16806288664.1

push

github

web-flow
Add Python free path to unitary synthesis rust function (#14732)

* Add Python free path to unitary synthesis rust function

This commit updates the UnitarySynthesis transpiler pass's rust
internals to add a path for running the pass without Python. This is a
requirement for using the pass from the C API. The complexity is that
part of the pass's core functionality is still in Python, mainly two
decomposers the XXDecomposer and the QSD function. These code paths are
super commonly used, although the QSD function will be necessary to
decompose 3+ qubit unitaries this is an ok limitation for the initial
C API especially since development of a rust QSD is in progress this is
only a temporary limitation.

The path through the pass without Python removes the explicit py token
from the main entrypoint and also adds a new rust entrypoint distinct
from the Python caller that has a new argument run_python_decomposers.
If this argument is set to `false` and either the xx decomposer or qsd
path are triggered the function will now either skip it or return an
error if there is no alternative.

Part of #14451

* Duplicated decomposer matcher for StandardGate objects

This commit adds a custom macro to provide the matcher for determining
if a standard gate is supported by each decomposer. This provides a
single source of truth for the matcher which may be used more than once.

* Fix typo

* Apply suggestions from code review

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

* Evaluate 3q python path after target check

* Simplify basis_gates path logic

* Fix docstring reference to old xxdecomposer synth function

* Fix lint

---------

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

81911 of 93466 relevant lines covered (87.64%)

547264.25 hits per line

Source Files on job 16806288664.1
  • Tree
  • List 836
  • Changed 9
  • Source Changed 4
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 16806288664
  • 8eb5dc9c on github
  • Prev Job for on main (#16796677154.1)
  • Next Job for on main (#16809071341.1)
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

© 2026 Coveralls, Inc