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

Qiskit / qiskit-fermions / 40703124160
98%

Build:
DEFAULT BRANCH: main
Ran 28 Oct 2026 02:13PM UTC
Jobs 1
Files 129
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

28 Oct 2026 02:09PM UTC coverage: 98.219% (-0.002%) from 98.221%
40703124160

push

github

web-flow
Refactor the fermionic circuit-level synthesis (#405)

* feat(transpiler): synthesize hop evolutions as XXPlusYYGate

The generic `PauliEvolutionGate` synthesis costs 8 CX for the image of a
fermionic hop with a complex amplitude (`XX`, `YY`, `XY`, `YX`), against
2 CX for the equivalent `XXPlusYYGate`, and a target whose only
two-qubit gate is `xx_plus_yy` cannot be reached by it at all. Qiskit
has no recognition of this multi-term form at low `optimization_level`
settings.

`HopEvolutionSynthesis` is a Qiskit `HighLevelSynthesisPlugin` for
`PauliEvolution` that recognizes a hop and emits the gate, and declines
everything else so the next method of the `HLSConfig` runs. It lives in
the qubit stage rather than in `MapperFnEvolutionSynthesis` because that
is where an upstream variant would sit, and because it then also applies
to any `PauliEvolutionGate`, not only those this package emits. The
Jordan-Wigner preset registers it ahead of the methods in a given
`hls_config` (extending a copy, never mutating the caller's), or ahead
of `"default"` if none.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

* refactor(circuit): generalize the fermionic synthesis framework

Breaking an `Evolution` down in fermionic space had its own interface
(`FermionicEvolutionSynthesis`), its own attribute on the gate, and its
own pass (`FermionicTrotterization`). Other gates break down the same
way, so this lifts all three out of `Evolution` and mirrors the
fermion-to-qubit stage next to it: `F2FSynthesis`, `F2FSynthesisPlugin`,
`F2FSynthesisPluginManager` and `F2FSynthesisConfig` stand to
`F2QSynthesis*` as fermion-to-fermion stands to fermion-to-qubit.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

* refactor(transpiler): decompose OrbitalRotation in fermionic space

An `OrbitalRotation` was lowered by a qubit-stage plugin that did the
Givens factorization itself and emitted `XXPlusYYGate` and `PhaseGate`
directly, which made the whole lowering vali... (continued)

356 of 362 new or added lines in 17 files covered. (98.34%)

14281 of 14540 relevant lines covered (98.22%)

449527.87 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
95.08
python/qiskit_fermions/transpiler/passes/synthesis/hop_evolution.py
2
92.59
-7.41% python/qiskit_fermions/transpiler/presets/jordan_wigner.py
1
97.87
python/qiskit_fermions/transpiler/passes/synthesis/_deprecated_givens.py
Jobs
ID Job ID Ran Files Coverage
1 40703124160.1 28 Oct 2026 02:13PM UTC 129
98.22
GitHub Action Run
Source Files on build 40703124160
  • Tree
  • List 129
  • Changed 16
  • Source Changed 16
  • Coverage Changed 16
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #40703124160
  • bf5fb72d on github
  • Prev Build on main (#40663472873)
  • Next Build on main (#40712548054)
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