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

Qiskit / qiskit / 11689258028
89%
main: 88%

Build:
Build:
LAST BUILD BRANCH: rust_qpy
DEFAULT BRANCH: main
Ran 05 Nov 2024 05:39PM UTC
Jobs 1
Files 897
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 Nov 2024 05:18PM UTC coverage: 88.797% (+0.02%) from 88.776%
11689258028

push

github

web-flow
Add iterator-access methods to `SparseObservable` (#13370)

* Add iterator-access methods to `SparseObservable`

This adds a new related class, `SparseObservable.Term` to be the item
type of the iteration methods, and imbibes it with the simplest
mathematical binary relations with `SparseObservable` as the other
operand.

For some reason, in my head, the methods to convert terms and
observables to their corresponding Pauli basis are related to iteration?
The `SparseObservable.pauli_bases` and
`SparseObservable.Term.pauli_base` methods perform a similar bitwise
trick to do this reduction as exemplified in the documentation, but
return the other `quantum_info`-native classes `PauliList` and `Pauli`,
respectively.  These methods are expected to be used by the primitives.

* Improve documentation

* Return `SparseObservable` from sequence indices

236 of 253 new or added lines in 1 file covered. (93.28%)

4 existing lines in 2 files now uncovered.

77013 of 86729 relevant lines covered (88.8%)

356866.85 hits per line

Jobs
ID Job ID Ran Files Coverage
1 11689258028.1 05 Nov 2024 05:39PM UTC 0
88.8
GitHub Action Run
Source Files on build 11689258028
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #11689258028
  • c883c266 on github
  • Prev Build on gh-readonly-queue/main/pr-13357-db0433920c86e55f4ec06b3837d10d94b040e117 (#11682745486)
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