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

Qiskit / qiskit / 25324164608
88%
main: 88%

Build:
Build:
LAST BUILD BRANCH: stop-leaking-files
DEFAULT BRANCH: main
Ran 04 May 2026 02:46PM UTC
Jobs 1
Files 938
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

04 May 2026 02:16PM UTC coverage: 87.574% (-0.009%) from 87.583%
25324164608

push

github

web-flow
Add data tree struct (#15901)

* Add data tree struct

This commit adds a new data structure to the new providers crate
DataTree. The DataTree is a generic tree structure that will be used to
define the operation ports in the QuantumProgram's tensor compute
graph's nodes. Right now this is just one of the building blocks towards
defining the QuantumProgram. As it isn't being used right now since the
rest of the components don't exist yet, this is solely self tested. When
subsequent components are added tests using the DataTree as part of
Operation types and eventually in a QuantumProgram will be needed as
well.

* Add PathEntry enum to track a path through a DataTree

This commit adds a new type PathEntry that is used to outline a path
through the DataTree into a leaf node. Along with this are two new
methods to lookup a leaf node by a path and also to traverse the tree to
get leaf nodes along with the path to that node.

* Invert type hierarchy

This commit changes the type hierarchy for DataTree to move the struct
from being a vec of enums of either leaves or branches. To each DataTree
being an enum of either a leaf or branch and each branch contains a vec
of DataTrees. This is a more natural form as the outer type can either
be a leaf or branch and simplifies working with the tree.

* Fix MSRV clippy error

* Adjust visibility of branch struct's helper methods

* Fix clippy in tests

377 of 453 new or added lines in 1 file covered. (83.22%)

5 existing lines in 1 file now uncovered.

106667 of 121802 relevant lines covered (87.57%)

963278.22 hits per line

Uncovered Changes

Lines Coverage ∆ File
76
83.22
crates/providers/src/data_tree.rs

Coverage Regressions

Lines Coverage ∆ File
5
91.26
-0.51% crates/qasm2/src/lex.rs
Jobs
ID Job ID Ran Files Coverage
1 25324164608.1 04 May 2026 02:46PM UTC 938
87.57
GitHub Action Run
Source Files on build 25324164608
  • Tree
  • List 938
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25324164608
  • ba656ec3 on github
  • Prev Build on gh-readonly-queue/main/pr-16016-d3199b0544999032e68e309cffd784af834f784d (#25180775970)
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