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

Qiskit / qiskit / 9416939207
88%

Build:
DEFAULT BRANCH: main
Ran 07 Jun 2024 12:43PM UTC
Jobs 1
Files 834
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

07 Jun 2024 11:49AM UTC coverage: 89.579% (-0.006%) from 89.585%
9416939207

push

github

web-flow
Fix `QuantumCircuit.depth` with zero-operands and `Expr` nodes (#12429)

This causes `QuantumCircuit.depth` to correctly handle cases where a
circuit instruction has zero operands (such as `GlobalPhaseGate`), and
to treat classical bits and real-time variables used inside `Expr`
conditions as part of the depth calculations.  This is in line with
`DAGCircuit`.

This commit still does not add the same `recurse` argument from
`DAGCircuit.depth`, because the arguments for not adding it to
`QuantumCircuit.depth` at the time still hold; there is no clear meaning
to it for general control flow from a user's perspective, and it was
only added to the `DAGCircuit` methods because there it is more of a
proxy for optimising over all possible inner blocks.

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

10 existing lines in 2 files now uncovered.

62417 of 69678 relevant lines covered (89.58%)

252778.33 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
4
92.88
0.25% crates/qasm2/src/lex.rs
6
97.15
-0.46% crates/qasm2/src/parse.rs
Jobs
ID Job ID Ran Files Coverage
1 9416939207.1 07 Jun 2024 12:43PM UTC 834
89.58
GitHub Action Run
Source Files on build 9416939207
  • Tree
  • List 834
  • Changed 33
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • d18a74cd on github
  • Prev Build on main (#9410059639)
  • Next Build on main (#9418156791)
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