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

Qiskit / qiskit / 13707387645
88%

Build:
DEFAULT BRANCH: main
Ran 06 Mar 2025 08:38PM UTC
Jobs 1
Files 789
Run time 8min
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

06 Mar 2025 07:39PM UTC coverage: 88.24% (+0.05%) from 88.186%
13707387645

push

github

web-flow
[Stretch] Support stretch and duration expressions for `Delay` instruction. (#13853)

* WIP

* Add try_const to lift.

* Try multiple singletons, new one for const.

* Revert "Try multiple singletons, new one for const."

This reverts commit e2b322125.

* Remove Bool singleton test.

* Add const handling for stores, fix test bugs.

* Fix formatting.

* Remove Duration and Stretch for now.

* Cleanup, fix const bug in index.

* Fix ordering issue for types with differing const-ness.

Types that have some natural order no longer have an ordering
when one of them is strictly greater but has an incompatible
const-ness (i.e. when the greater type is const but the other
type is not).

* Fix QPY serialization.

We need to reject types with const=True in QPY until it supports them.

For now, I've also made the Index and shift operator constructors
lift their RHS to the same const-ness as the target to make it
less likely that existing users of expr run into issues when
serializing to older QPY versions.

* Make expr.Lift default to non-const.

This is probably a better default in general, since we
don't really have much use for const except for timing
stuff.

* Revert to old test_expr_constructors.py.

* Make binary_logical lift independent again.

Since we're going for using a Cast node when const-ness
differs, this will be fine.

* Update tests, handle a few edge cases.

* Fix docstring.

* Remove now redundant arg from tests.

* Add const testing for ordering.

* Add const tests for shifts.

* Add release note.

* Add const store tests.

* Address lint, minor cleanup.

* Add Float type to classical expressions.

* Allow DANGEROUS conversion from Float to Bool.

I wasn't going to have this, but since we have DANGEROUS
Float => Int, and we have Int => Bool, I think this makes the
most sense.

* Test Float ordering.

* Improve error messages for using Float with logical operators.

* Float tests for constructors.

* Add release ... (continued)

98 of 108 new or added lines in 8 files covered. (90.74%)

7 existing lines in 2 files now uncovered.

71979 of 81572 relevant lines covered (88.24%)

485913.22 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
93.48
-0.97% qiskit/transpiler/passes/scheduling/padding/base_padding.py
4
92.17
-4.44% qiskit/transpiler/passes/scheduling/time_unit_conversion.py
5
74.7
-1.06% qiskit/circuit/delay.py

Uncovered Existing Lines

Lines Coverage ∆ File
3
92.98
0.75% crates/qasm2/src/lex.rs
4
92.17
-4.44% qiskit/transpiler/passes/scheduling/time_unit_conversion.py
Jobs
ID Job ID Ran Files Coverage
1 13707387645.1 06 Mar 2025 08:38PM UTC 789
88.24
GitHub Action Run
Source Files on build 13707387645
  • Tree
  • List 789
  • Changed 13
  • Source Changed 9
  • Coverage Changed 13
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #13707387645
  • e17af6a5 on github
  • Prev Build on gh-readonly-queue/main/pr-12850-2ec8f8f66650d84159f3bc058b9f38a1285175cb (#13703397598)
  • Next Build on main (#13730247126)
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