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

Qiskit / qiskit / 25038868248 / 1
88%
main: 88%

Build:
Build:
LAST BUILD BRANCH: extend_litinski
DEFAULT BRANCH: main
Ran 28 Apr 2026 07:27AM UTC
Files 933
Run time 35s
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

28 Apr 2026 07:04AM UTC coverage: 87.582% (+0.003%) from 87.579%
25038868248.1

push

github

web-flow
Add PEP 484 type hints to transpiler analysis and utility passes (#15832)

* docs: add PEP 484 type hints to transpiler analysis and utility passes

Add `from __future__ import annotations` and PEP 484 type annotations to all 9 analysis passes (CountOps, Depth, Size, Width, NumQubits, NumTensorFactors, CountOpsLongestPath, DAGLongestPath, ResourceEstimation) and 3 utility passes (DAGFixedPoint, FixedPoint, ContainsInstruction).

Changes include:

- Type-annotate __init__ parameters and run() method signatures with DAGCircuit, bool, str, and -> None return types

- Expand sparse docstrings with Args blocks where missing

- Fix copy-paste module docstring in contains_instruction.py (was incorrectly 'Check if a property reached a fixed point')

- Rename placeholder parameter '_' to 'dag' in ResourceEstimation.run() for clarity

* Refactor import statements in count_ops.py

* Refactor imports and update docstring formatting

* Refactor import statements and update docstring

* Refactor imports and update docstring formatting

* Refactor import statement for TYPE_CHECKING

* Apply suggestion from @Cryoris

Co-authored-by: Julien Gacon <gaconju@gmail.com>

* Refactor imports and docstring formatting

* Refactor import statements and docstring formatting

* Refactor imports and update docstring format

* Refactor import statements in width.py

* Update instruction_name type to Iterable in ContainsInstruction

* Update dag_fixed_point.py

* Refactor imports and docstrings in fixed_point.py

* Add copyright notice and docstring to count_ops.py

* Add docstring for counting operations in DAGCircuit

* Add type checking for DAGCircuit import

* Add copyright notice and docstring to depth.py

* Add copyright notice and docstring to num_qubits.py

* Import DAGCircuit for type checking

Add import statement for DAGCircuit in num_tensor_factors.py

* Update resource_estimation.py for type checking

* Add copyright notice and docstring to size.py

* Update width.py

... (continued)

105002 of 119890 relevant lines covered (87.58%)

979258.21 hits per line

Source Files on job 25038868248.1
  • Tree
  • List 933
  • Changed 16
  • Source Changed 12
  • Coverage Changed 16
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 25038868248
  • b0459842 on github
  • Prev Job for on gh-readonly-queue/main/pr-15832-ac20c332726d734156d504d7b96ca44f30dc82a2 (#25038464137.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