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

Qiskit / qiskit / 14996124171
89%
main: 88%

Build:
Build:
LAST BUILD BRANCH: substitute_pi4_rotations
DEFAULT BRANCH: main
Ran 13 May 2025 12:32PM UTC
Jobs 1
Files 808
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

13 May 2025 12:04PM UTC coverage: 88.7% (-0.01%) from 88.711%
14996124171

push

github

web-flow
Remove py token from dag methods (#14313)

* Remove py token from dag methods

This commit updates several of the dag methods to remove the explicit
use of a py token. The active python usage in the dag is pretty minimal
after recent changes, the main places are any interaction with control
flow. As we move towards directly exposing transpiler functionality via
the C API we need to be able to do this in a python free context. Since
control flow is only defined in Python we can move the py token usage to
a with_gil() call on demand when we know we're working with control
flow. The actual python usage was pretty minimal but it ends up getting
wired through a ton of methods because of a few places. By making this
change we can greatly reduce the use of py token in function signatures
which get us much closer to being able to expose transpiler
functionality in C.

* Remove qargs_interner_mut method

* Make DAGCircuit name field Option<String>

* Simplify may_have_additional_wires

* Move gil acquisition to additional_wires callers

* Split bit/reg removal methods between python and rust

518 of 565 new or added lines in 10 files covered. (91.68%)

29 existing lines in 3 files now uncovered.

76044 of 85732 relevant lines covered (88.7%)

428425.94 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
94.85
-0.02% crates/transpiler/src/passes/unitary_synthesis.rs
45
85.66
-0.48% crates/circuit/src/dag_circuit.rs

Uncovered Existing Lines

Lines Coverage ∆ File
1
97.73
-0.06% crates/transpiler/src/passes/gate_direction.rs
5
92.23
0.25% crates/qasm2/src/lex.rs
23
85.66
-0.48% crates/circuit/src/dag_circuit.rs
Jobs
ID Job ID Ran Files Coverage
1 14996124171.1 13 May 2025 12:31PM UTC 808
88.7
GitHub Action Run
Source Files on build 14996124171
  • Tree
  • List 808
  • Changed 14
  • Source Changed 11
  • Coverage Changed 13
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #14996124171
  • 844de63c on github
  • Prev Build on gh-readonly-queue/main/pr-14347-0c2ce648830f30dfa4035da0467cebf84aaff660 (#14989835612)
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