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

Qiskit / qiskit / 15312889782
88%

Build:
DEFAULT BRANCH: main
Ran 29 May 2025 12:12AM 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.839% (+0.002%) from 87.837%
15312889782

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%)

7 existing lines in 2 files now uncovered.

79538 of 90550 relevant lines covered (87.84%)

363912.58 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
94.57
0.0% crates/transpiler/src/passes/unitary_synthesis.rs
6
92.23
-0.25% crates/qasm2/src/lex.rs
Jobs
ID Job ID Ran Files Coverage
1 15312889782.1 29 May 2025 12:12AM UTC 815
87.84
GitHub Action Run
Source Files on build 15312889782
  • Tree
  • List 815
  • Changed 7
  • Source Changed 3
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #15312889782
  • 2ce6863a on github
  • Prev Build on gh-readonly-queue/main/pr-14486-732e2f7e0b7d05deee93ed1fd0fbaf10cb3c4a95 (#15311705045)
  • Next Build on main (#15330061903)
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