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

Qiskit / qiskit-fermions / 44486329104
98%

Build:
DEFAULT BRANCH: main
Ran 19 Nov 2026 08:23AM UTC
Jobs 1
Files 131
Run time 1min
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 Nov 2026 08:17AM UTC coverage: 98.264% (-0.05%) from 98.314%
44486329104

push

github

web-flow
fix: compare Evolution, InitializeModes and PrepareSlaterDeterminant by what defines them (#427)

These gates are Qiskit `Gate`s, whose equality only sees the name and the
`params`. None of them stores its defining data there: `Evolution` keeps
only the time in `params`, and the other two keep nothing. Evolutions under
different Hamiltonians for the same time, and either gate with different
occupations, therefore compared equal. Defining `__eq__` also left them
unhashable, so they could not be deduplicated in a set or a dict.

Each class now compares the attributes that define it, as `OrbitalRotation`
already did. The operators of two evolutions are compared with
`equiv(other, 0.0)` rather than `==`, because operator `==` depends on the
order in which terms are stored. `Evolution` also gains `equiv(other, atol)`
for a comparison up to a tolerance. The synthesis method and the `atomic`
flag are left out of both comparisons: they decide how a gate is broken
down, not which gate it is.

Nothing inside the package relied on gate equality (`MergeEvolutions`
compares the operators directly), so only user code is affected.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

24 of 31 new or added lines in 3 files covered. (77.42%)

1 existing line in 1 file now uncovered.

14545 of 14802 relevant lines covered (98.26%)

296272.51 hits per line

Uncovered Changes

Lines Coverage ∆ File
5
89.36
-10.64% python/qiskit_fermions/circuit/library/evolution.py
1
98.67
-1.33% python/qiskit_fermions/circuit/library/initialize_modes.py
1
97.06
-2.94% python/qiskit_fermions/circuit/library/prepare_slater_determinant.py

Coverage Regressions

Lines Coverage ∆ File
1
99.51
-0.49% crates/core/src/mappers/qk_obs.rs
Jobs
ID Job ID Ran Files Coverage
1 44486329104.1 19 Nov 2026 08:23AM UTC 131
98.26
GitHub Action Run
Source Files on build 44486329104
  • Tree
  • List 131
  • Changed 4
  • Source Changed 3
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #44486329104
  • 93de8b2b on github
  • Prev Build on main (#44483523799)
  • Next Build on main (#44486467365)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc