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

Qiskit / qiskit / 10166686322
90%
main: 88%

Build:
Build:
LAST BUILD BRANCH: gh-readonly-queue/main/pr-15562-f617d0afcca71953581b4085f032cc83b3ecbd21
DEFAULT BRANCH: main
Ran 30 Jul 2024 05:26PM 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

30 Jul 2024 05:06PM UTC coverage: 89.954%. Remained the same
10166686322

push

github

web-flow
Recreate full dag instead of inplace substitution in BasisTranslator (#12195) (#12855)

* Recreate full dag instead of inplace substitution in BasisTranslator

This commit tweaks the internal logic of the basis translator transpiler
pass to do a full dag recreation instead of inplace modification. If
only a few operations were to be substituted it would probably be more
efficient to do an inplace modification, but in general the basis
translator ends up replacing far more operations than not. In such cases
just iterating over the dag and rebuilding it is more efficient because
the overhead of `apply_operation_back()` is minimal compared to
`substitute_node_with_dag()` (although it's higher than
`subtitute_node(.., inplace=True)`).

* Return boolean together with dag in 'apply_translation' to maintain original 'flow_blocks' logic and fix drawer test.

* Remove print

---------

Co-authored-by: Elena Peña Tapia <epenatap@gmail.com>
(cherry picked from commit 37b334fb7)

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

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

13 existing lines in 3 files now uncovered.

66350 of 73760 relevant lines covered (89.95%)

230901.49 hits per line

Jobs
ID Job ID Ran Files Coverage
1 10166686322.1 30 Jul 2024 05:26PM UTC 0
89.95
GitHub Action Run
Source Files on build 10166686322
Detailed source file information is not available for this build.
  • Back to Repo
  • 81e8aaf4 on github
  • Prev Build on gh-readonly-queue/stable/1.2/pr-12854-e3cd5b3c97cce0423def8a8806196ca6f4a8aa03 (#10166251010)
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