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

Qiskit / qiskit / 15312597947
88%
main: 88%

Build:
Build:
LAST BUILD BRANCH: substitute_pi4_rotations
DEFAULT BRANCH: main
Ran 28 May 2025 11:50PM UTC
Jobs 1
Files 815
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

28 May 2025 11:23PM UTC coverage: 87.859% (+0.02%) from 87.837%
15312597947

push

github

web-flow
Add method `has_control_flow_op()` to `QuantumCircuit` (#13936)

* Add: Add method has_control_flow_op(), to `QuantumCircuit`

This method was added to fix a performance regression introduced by #13921. This check should be quicker than the multiple calls to `isinstance`.

* Lint: Fix formatting

* Lint: Removed unused import and f-string

* Docs: Add release note
- Add `has_control_flow_op` to autogenerate docs.

* Fix: Addressing review comments

Co-authored-by: Matthew Treinish <mtreinish@kortar.org>

* Docs: Fix formatting issue in `QuantumCircuit` docstring.

* Lint: Fix formatting bug in `QuantumCircuit`.

* Test: Add testcases
- One test case with a regular control flow operation and another with a custom one.

* Test: Remove unsupported test and extend original test.
- Implement a combinatorics based test for control flow operations.

* Fix: Import order in `test_circuit_operations`

* Update test/python/circuit/test_circuit_operations.py

---------

Co-authored-by: Matthew Treinish <mtreinish@kortar.org>

6 of 6 new or added lines in 3 files covered. (100.0%)

11 existing lines in 3 files now uncovered.

79556 of 90550 relevant lines covered (87.86%)

363249.38 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
75.35
0.28% crates/circuit/src/symbol_expr.rs
4
92.73
0.25% crates/qasm2/src/lex.rs
6
97.61
0.93% crates/qasm2/src/parse.rs
Jobs
ID Job ID Ran Files Coverage
1 15312597947.1 28 May 2025 11:50PM UTC 815
87.86
GitHub Action Run
Source Files on build 15312597947
  • Tree
  • List 815
  • Changed 6
  • Source Changed 3
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #15312597947
  • 2ce6863a on github
  • Prev Build on gh-readonly-queue/main/pr-14486-732e2f7e0b7d05deee93ed1fd0fbaf10cb3c4a95 (#15311705045)
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