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

Qiskit / qiskit / 13410116438
88%

Build:
DEFAULT BRANCH: main
Ran 19 Feb 2025 10:35AM UTC
Jobs 1
Files 898
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

19 Feb 2025 09:29AM UTC coverage: 88.102% (-0.003%) from 88.105%
13410116438

push

github

web-flow
Add method to compute estimated duration of scheduled circuit (#13783)

* Add method to compute estimated duration of scheduled circuit

This commit adds a new QuantumCircuit method to compute the estimated
duration of a scheduled circuit. This is to replace the deprecated
duration attribute that the transpiler was potentially setting during
the scheduling stage. This method computes the longest duration path in
the dag view of the circuit internally.

This method should have been included in the 1.2.0 release prior to the
deprecation of the `QuantumCircuit.duration` attribute in 1.3.0. But,
this was an oversight in the path to deprecation, as it was part of
larger deprecation of numerous scheduling pieces in the 1.3.0. We should
definitely backport this for the 1.4.0 release for inclusion in that
release prior to the Qiskit 2.0.0 release which removes the deprecated
attribute

* Simplify dag node indexing

* Expand docs

* Fix handling for StandardInstruction in rust and add first test

* Expand test coverage

* Fix lint

72 of 89 new or added lines in 5 files covered. (80.9%)

11 existing lines in 2 files now uncovered.

78684 of 89310 relevant lines covered (88.1%)

349051.51 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
17
74.24
crates/accelerate/src/circuit_duration.rs

Uncovered Existing Lines

Lines Coverage ∆ File
5
92.23
-0.5% crates/qasm2/src/lex.rs
6
97.15
0.46% crates/qasm2/src/parse.rs
Jobs
ID Job ID Ran Files Coverage
1 13410116438.1 19 Feb 2025 10:35AM UTC 898
88.1
GitHub Action Run
Source Files on build 13410116438
  • Tree
  • List 898
  • Changed 73
  • Source Changed 5
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #13410116438
  • 8c50ce46 on github
  • Prev Build on gh-readonly-queue/main/pr-13722-3aa8cc12a1da332ceb7aa52115047cee12acc5de (#13396950178)
  • Next Build on main (#13411473274)
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