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

Qiskit / qiskit / 11051321121
89%
main: 88%

Build:
Build:
LAST BUILD BRANCH: substitute_pi4_rotations
DEFAULT BRANCH: main
Ran 26 Sep 2024 11:52AM 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.735% (-0.03%) from 88.765%
11051321121

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%)

30 existing lines in 5 files now uncovered.

73815 of 83186 relevant lines covered (88.73%)

361463.17 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
94.02
-0.24% crates/qasm2/src/expr.rs
2
88.26
-0.36% qiskit/transpiler/passes/synthesis/unitary_synthesis.py
6
90.91
-4.55% qiskit/synthesis/two_qubit/xx_decompose/decomposer.py
9
91.73
-1.5% crates/qasm2/src/lex.rs
12
97.15
-0.92% crates/qasm2/src/parse.rs
Jobs
ID Job ID Ran Files Coverage
1 11051321121.1 26 Sep 2024 11:52AM UTC 885
88.73
GitHub Action Run
Source Files on build 11051321121
  • Tree
  • List 885
  • Changed 65
  • Source Changed 0
  • Coverage Changed 7
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)
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