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

Qiskit / qiskit / 13438669891
89%
main: 88%

Build:
Build:
LAST BUILD BRANCH: add-pauli-lindblad-map-generators-15228
DEFAULT BRANCH: main
Ran 20 Feb 2025 03:47PM UTC
Jobs 1
Files 915
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

20 Feb 2025 02:20PM UTC coverage: 88.863% (-0.01%) from 88.873%
13438669891

push

github

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

* 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

(cherry picked from commit 8c50ce463)

* Update rust code to work with 1.4.0 rust data model

* Fix bug in arithmetic for converting dt to sec

* Add fix test

* Fix lint

---------

Co-authored-by: Matthew Treinish <mtreinish@kortar.org>
Co-authored-by: Elena Peña Tapia <57907331+ElePT@users.noreply.github.com>
Co-authored-by: Elena Peña Tapia <epenatap@gmail.com>

73 of 91 new or added lines in 5 files covered. (80.22%)

9 existing lines in 2 files now uncovered.

79329 of 89271 relevant lines covered (88.86%)

357810.5 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
18
73.53
crates/accelerate/src/circuit_duration.rs

Uncovered Existing Lines

Lines Coverage ∆ File
3
92.98
1.25% crates/qasm2/src/lex.rs
6
96.69
-0.46% crates/qasm2/src/parse.rs
Jobs
ID Job ID Ran Files Coverage
1 13438669891.1 20 Feb 2025 03:47PM UTC 915
88.86
GitHub Action Run
Source Files on build 13438669891
  • Tree
  • List 915
  • Changed 73
  • Source Changed 5
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #13438669891
  • 744037a5 on github
  • Prev Build on stable/1.4 (#13437314861)
  • Next Build on stable/1.4 (#13440046844)
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