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

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

Build:
DEFAULT BRANCH: main
Ran 25 Apr 2024 05:05PM UTC
Files 824
Run time 36s
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

25 Apr 2024 04:09PM UTC coverage: 89.458% (-0.02%) from 89.475%
8836396414.1

push

github

web-flow
Add support for returning a DAGCircuit to TwoQubitBasisDecomposer (#12109)

* Add support for returning a DAGCircuit to TwoQubitBasisDecomposer

This commit adds a new flag, use_dag, to the constructor for the
TwoQubitBasisDecomposer. When set to True, the __call__ method will
return a DAGCircuit instead of a QuantumCircuit. This is useful when the
two qubit basis decomposer is called from within a transpiler context,
as with the UnitarySynthesis pass, to avoid an extra conversion step.

* Pivot to argument on __call__ and add to XXDecomposer too

This commit moves the use_dag flag to the __call__ method directly
instead of storing it as an instance variable. To make the interface
consistent between the 2 built-in decomposers the flag is also added to
the XXDecomposer class's __call__ method too. This was needed because
the unitary synthesis pass calls the decomposers interchangeably and to
be able to use them without type checking they both will need the flag.

60460 of 67585 relevant lines covered (89.46%)

223014.13 hits per line

Source Files on job 8836396414.1
  • Tree
  • List 0
  • Changed 32
  • Source Changed 0
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 8836396414
  • f15d7588 on github
  • Prev Job for on main (#8833643516.1)
  • Next Job for on main (#8838198368.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