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

Qiskit / qiskit / 11690124120
88%

Build:
DEFAULT BRANCH: main
Ran 05 Nov 2024 06:35PM UTC
Jobs 1
Files 897
Run time 3min
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.805% (+0.03%) from 88.776%
11690124120

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

5 existing lines in 3 files now uncovered.

77020 of 86729 relevant lines covered (88.81%)

355200.97 hits per line

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