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

Qiskit / qiskit / 17852034804
88%

Build:
DEFAULT BRANCH: main
Ran 19 Sep 2025 08:58AM UTC
Jobs 1
Files 868
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

19 Sep 2025 07:09AM UTC coverage: 88.304% (+0.02%) from 88.289%
17852034804

push

github

web-flow
Fix SparsePauliOp.is_unitary() to respect input tolerance values (#14676)

* Fix SparsePauliOp.is_unitary() to respect input tolerance values

Fixes #14107 by passing the tolerance parameters from is_unitary() to simplify().
This ensures that the tolerance values are properly respected when checking
if an operator is unitary.

The change includes a test case that verifies the fix works as expected.

* Fix SparsePauliOp.is_unitary() to respect input tolerance values

This commit fixes issue #14107 by ensuring that the tolerance values passed to
is_unitary() are properly used when checking if the operator is unitary. The
tolerances are now correctly passed through to the internal operations.

* Update docstring to better explain how tolerance parameters are used
* Add test case to verify tolerance behavior
* Add release note for the bug fix

* update based on  Cryoris' comments

* format test file with black and update release notes based on comments

1 of 1 new or added line in 1 file covered. (100.0%)

9 existing lines in 3 files now uncovered.

92783 of 105072 relevant lines covered (88.3%)

856631.83 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
93.63
-0.25% crates/qasm2/src/expr.rs
2
92.78
1.29% crates/qasm2/src/lex.rs
6
96.62
0.0% crates/qasm2/src/parse.rs
Jobs
ID Job ID Ran Files Coverage
1 17852034804.1 19 Sep 2025 08:58AM UTC 868
88.3
GitHub Action Run
Source Files on build 17852034804
  • Tree
  • List 868
  • Changed 6
  • Source Changed 1
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #17852034804
  • ce27a54d on github
  • Prev Build on gh-readonly-queue/main/pr-15003-bb100f83c76eaecccb9c2888799ea0b2895980a7 (#17851144921)
  • Next Build on main (#17859742834)
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