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

Qiskit / qiskit / 11052142606
88%

Build:
DEFAULT BRANCH: main
Ran 26 Sep 2024 12:45PM UTC
Jobs 1
Files 885
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

26 Sep 2024 11:29AM UTC coverage: 88.74% (-0.03%) from 88.765%
11052142606

push

github

web-flow
Deprecate the unit and duration attributes (#13224)

* Deprecate the unit and duration attributes

This commit deprecates the unit and duration attributes for
QuantumCircuit and Instruction. These attributes will be removed in
Qiskit 2.0 as they're not needed anymore and are adding a lot of
complexity to the circuit data model as they're mutable state and extra
memory slots that we need to keep around. The better model for tracking
instruction duration is in the Target as it's inherently a property of
the backend running the instructions.

For the unittests this commit globally ignores the deprecation warning
raised by this commit because internally we access the now deprecated
access quite frequently as we need to check it when adding instructions
to circuits to populate the rust data model.

* Apply suggestions from code review

Co-authored-by: Elena Peña Tapia <57907331+ElePT@users.noreply.github.com>

---------

Co-authored-by: Elena Peña Tapia <57907331+ElePT@users.noreply.github.com>

18 of 18 new or added lines in 2 files covered. (100.0%)

26 existing lines in 3 files now uncovered.

73819 of 83186 relevant lines covered (88.74%)

361914.13 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
94.02
-0.24% crates/qasm2/src/expr.rs
7
92.23
-1.0% crates/qasm2/src/lex.rs
18
96.69
-1.39% crates/qasm2/src/parse.rs
Jobs
ID Job ID Ran Files Coverage
1 11052142606.1 26 Sep 2024 12:45PM UTC 885
88.74
GitHub Action Run
Source Files on build 11052142606
  • Tree
  • List 885
  • Changed 61
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • e3f5c25b on github
  • Prev Build on gh-readonly-queue/main/pr-13209-77b571db090cf8b002f326f8d9c3655dcd1ec460 (#11042155310)
  • Next Build on main (#11052352075)
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