|
Ran
|
Jobs
1
|
Files
69
|
Run time
1min
|
Badge
README BADGES
|
push
github
feat: add expand_projectors mapper adapter (#19) (#22) A mapped group that mixes terms with projectors, for instance the hopping and density terms of a spin-1/2 chain written with hard-core bosons, did not synthesize to its exact evolution. PauliEvolutionGate expands each projector into Paulis only when it synthesizes the gate, term by term, so the Z pieces that cancel between terms were rotated one by one between the terms they do not commute with. simplify cannot help, since it merges before that expansion. expand_projectors expands up front and merges the Pauli strings, each taking the place of its first occurrence so that the order chosen by group_wise or the mapper survives. SparsePauliOp.simplify is not used for the merge because it makes no promise about order. Wrap it inside group_wise. (cherry picked from commit fe51c7308) Co-authored-by: Max Rossmannek <21973473+mrossinek@users.noreply.github.com> Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
24 of 25 new or added lines in 2 files covered. (96.0%)
3371 of 3642 relevant lines covered (92.56%)
41.9 hits per line
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 1 |
98.33
|
-1.67% | python/qiskit_bosons/transpiler/passes/synthesis/evolution.py |
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 44534374196.1 | 69 |
92.56
|
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
|---|