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

Qiskit / qiskit / 36054689185
88%

Build:
DEFAULT BRANCH: main
Ran 24 Sep 2026 08:57PM UTC
Jobs 1
Files 979
Run time 3min
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

24 Sep 2026 07:58PM UTC coverage: 88.117% (+0.03%) from 88.091%
36054689185

push

github

web-flow
Add nodes to cast a dtype and broadcast a shape (#16934)

* Add ops to cast a dtype and broadcast a shape

Arithmetic promotes and broadcasts its own operands, so these two ops are
operations a caller may want rather than glue every op demands. `Cast` reaches a
dtype promotion would not choose, and `BroadcastTo` reaches a shape arithmetic
has no second operand to reach.

`BroadcastTo` right-aligns its operand against a target shape, so an axis of
size one grows to any size and leading axes may be added. An axis cannot be
dropped, since the result shape is the target. A bounded target axis means the
operand's axis is carried through, and is admitted only where the operand has
that same axis: nothing else supplies its size, and evaluation takes the size
from the operand.

`Cast` refuses a real target for a complex operand.

Their inference is two more entries in the per-family set,
`rules::broadcast_dims_to` is the type-level shape rule beside `broadcast_dims`,
and `Tensor::broadcast_to` is its value-level counterpart.

* Assert on error variants rather than on error messages

A test that reads an error's `Display` output has to change whenever the wording
does, and the errors these tests read no longer derive `PartialEq` either.

442 of 456 new or added lines in 6 files covered. (96.93%)

12 existing lines in 2 files now uncovered.

122367 of 138869 relevant lines covered (88.12%)

944506.01 hits per line

Uncovered Changes

Lines Coverage ∆ File
13
91.92
-1.36% crates/providers/src/tensor/value.rs
1
98.33
-0.09% crates/providers/src/ops/inference.rs

Coverage Regressions

Lines Coverage ∆ File
6
92.03
-1.03% crates/qasm2/src/lex.rs
6
97.66
-0.47% crates/qasm2/src/parse.rs
Jobs
ID Job ID Ran Files Coverage
1 36054689185.1 24 Sep 2026 08:57PM UTC 979
88.12
GitHub Action Run
Source Files on build 36054689185
  • Tree
  • List 979
  • Changed 8
  • Source Changed 5
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #36054689185
  • 18e4c02e on github
  • Prev Build on gh-readonly-queue/main/pr-16927-a4b0ce3fb027199fc62a6e2bba4bb759515cb295 (#36025565176)
  • Next Build on main (#36191590135)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc