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

Qiskit / qiskit / 26908228715 / 1
87%
main: 87%

Build:
Build:
LAST BUILD BRANCH: gh-readonly-queue/main/pr-15567-d208387eb226ff4eb0ce6a0e989f3a104650a310
DEFAULT BRANCH: main
Ran 03 Jun 2026 08:02PM UTC
Files 943
Run time 40s
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

03 Jun 2026 07:33PM UTC coverage: 87.474% (-0.01%) from 87.486%
26908228715.1

push

github

web-flow
Refactor ProgramNode::call to flatten+call_flat+unflatten (#16298)

* Refactor ProgramNode to flat call_flat + DataTree flatten/unflatten helpers

Split the ProgramNode trait so implementations only define
`call_flat(args: &[Tensor]) -> Result<Vec<Tensor>, _>` while a blanket
ProgramNodeExt provides the DataTree-shaped `call(args: &DataTree<Tensor>)`
on top. Adds the supporting DataTree machinery (`flatten_against`,
`unflatten`, `map_leaves`, `into_leaves`, `TreeMatchError`,
`ArityMismatch`) and structured call errors (`CallInputError`, `CallError`,
`MissingCallError`). Store is rewritten on top of `call_flat` and stores
its tensors as a flat `Vec<Tensor>` aligned with `output_types`.

* Fix double iteration in unflatten()

* three small changes from code review

* inlined helper functions into the functions they help

* write a custom iterator struct for into_leaves()

* add docstring for IntoLeaves::stack

108916 of 124513 relevant lines covered (87.47%)

958943.44 hits per line

Source Files on job 26908228715.1
  • Tree
  • List 943
  • Changed 6
  • Source Changed 3
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 26908228715
  • 005fe52d on github
  • Prev Job for on gh-readonly-queue/main/pr-16298-560b91c678267fab10ee8d7da4d7f96fe47da36d (#26897534336.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