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

Qiskit / qiskit / 13159070819
89%
main: 88%

Build:
Build:
LAST BUILD BRANCH: add-litinski-to-asv
DEFAULT BRANCH: main
Ran 05 Feb 2025 02:26PM UTC
Jobs 1
Files 907
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

05 Feb 2025 02:02PM UTC coverage: 88.668% (+0.02%) from 88.653%
13159070819

push

github

web-flow
Support `SparseObservable` to `SparsePauliOp` conversions (#13758)

* SparseObservable -> SparsePauliOp

and SparseObservable.to_sparse_list, which can also be used for the PauliEvolutionGate compat

* reno

* allow observable alphabet as well

* Jake's review comments

- to_paulis -> SparseObservable
- test more edge cases
- don't guarantee any ordering

* update reno

* fix ruff

... which was somehow not captured by my pre commit hook

* round 2

- use &'static over Vec
- reverse bit/index order
- rename as_paulis
- direct construciton w/o CoherenceError

* fix tests and improve docs

* Update documentation

---------

Co-authored-by: Jake Lishman <jake.lishman@ibm.com>

75 of 77 new or added lines in 2 files covered. (97.4%)

10 existing lines in 2 files now uncovered.

79032 of 89132 relevant lines covered (88.67%)

349412.34 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
94.46
0.13% crates/accelerate/src/sparse_observable.rs

Uncovered Existing Lines

Lines Coverage ∆ File
4
92.23
0.0% crates/qasm2/src/lex.rs
6
97.61
0.46% crates/qasm2/src/parse.rs
Jobs
ID Job ID Ran Files Coverage
1 13159070819.1 05 Feb 2025 02:26PM UTC 907
88.67
GitHub Action Run
Source Files on build 13159070819
  • Tree
  • List 907
  • Changed 71
  • Source Changed 2
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #13159070819
  • 62748435 on github
  • Prev Build on gh-readonly-queue/main/pr-13780-69bb4391ba7290fbb96c23efe493487233ceeda1 (#13158864022)
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