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

Qiskit / qiskit / 8835880616
89%
main: 88%

Build:
Build:
LAST BUILD BRANCH: dag/to-circuit
DEFAULT BRANCH: main
Ran 25 Apr 2024 04:25PM UTC
Jobs 1
Files 824
Run time 3min
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.456% (-0.02%) from 89.475%
8835880616

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.

66 of 78 new or added lines in 3 files covered. (84.62%)

15 existing lines in 3 files now uncovered.

60459 of 67585 relevant lines covered (89.46%)

220639.76 hits per line

Jobs
ID Job ID Ran Files Coverage
1 8835880616.1 25 Apr 2024 04:25PM UTC 0
89.46
GitHub Action Run
Source Files on build 8835880616
Detailed source file information is not available for this build.
  • Back to Repo
  • f15d7588 on github
  • Prev Build on main (#8833643516)
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