• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In
Info updated!

Qiskit / qiskit / 13438669891 / 1
89%
main: 88%

Build:
Build:
LAST BUILD BRANCH: deprecate-qk-optimize-1q
DEFAULT BRANCH: main
Ran 20 Feb 2025 03:47PM UTC
Files 915
Run time 28s
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.1

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>

79329 of 89271 relevant lines covered (88.86%)

357810.5 hits per line

Source Files on job 13438669891.1
  • Tree
  • List 915
  • Changed 73
  • Source Changed 5
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 13438669891
  • 744037a5 on github
  • Prev Job for on stable/1.4 (#13437314861.1)
  • Next Job for on stable/1.4 (#13440046844.1)
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