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

Qiskit / qiskit-fermions / 44487981040
98%
main: 98%

Build:
Build:
LAST BUILD BRANCH: stable/0.4
DEFAULT BRANCH: main
Ran 19 Nov 2026 08:34AM 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:29AM UTC coverage: 98.303% (-0.01%) from 98.314%
44487981040

push

github

web-flow
fix: synthesize a hop with a Z-string exactly (#428) (#430)

The Givens mesh pairs modes that are adjacent within the gate. When an
OrbitalRotation or PrepareSlaterDeterminant sits on permuted or
non-contiguous wires, some of those pairs are not adjacent on the register,
so their Jordan-Wigner image carries a Z-string. HopEvolutionSynthesis only
recognized weight-2 hops and declined these, which left them to a one-step
product formula. Their XX + YY and XY - YX parts do not commute, so a
rotation with complex entries came out slightly wrong (overlaps of
0.996-0.9998), even though the mapping itself was correct.

The Z-string commutes with the rest of the generator and only flips the
sign of the evolution time on the odd-parity subspace, which a CZ on one
end reproduces. `match_hop` therefore now accepts two X/Y ends with Z on
every other qubit of the support, and returns a circuit: a CX ladder that
computes the parity onto one qubit, the XXPlusYYGate between two CZ
controlled on it, and the ladder undone. This is an operator identity, so
the Z-string does not have to lie between the two ends. It is also cheaper
than the product formula it replaces. The deprecated Givens plugins use the
same matcher and are fixed with it.

The new end-to-end tests compare against the exact evolution of the
Jordan-Wigner generator rather than the reference pipeline, which shared
the bug.


(cherry picked from commit d17101414)

Co-authored-by: Max Rossmannek <21973473+mrossinek@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

30 of 30 new or added lines in 2 files covered. (100.0%)

2 existing lines in 2 files now uncovered.

14540 of 14791 relevant lines covered (98.3%)

296492.85 hits per line

Coverage Regressions

Lines Coverage ∆ File
1
99.51
-0.49% crates/core/src/mappers/qk_obs.rs
1
95.0
-0.08% python/qiskit_fermions/transpiler/passes/synthesis/hop_evolution.py
Jobs
ID Job ID Ran Files Coverage
1 44487981040.1 19 Nov 2026 08:34AM UTC 131
98.3
GitHub Action Run
Source Files on build 44487981040
  • Tree
  • List 131
  • Changed 5
  • Source Changed 4
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #44487981040
  • 71f014e7 on github
  • Prev Build on stable/0.4 (#44485833186)
  • Next Build on stable/0.4 (#44487984717)
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