|
Ran
|
Jobs
1
|
Files
13
|
Run time
1min
|
Badge
README BADGES
|
push
github
Fix the quimb backend following its CircuitBase refactor (backport #200) (#201) * Fix the quimb backend following its CircuitBase refactor (#200) * Fix the quimb backend following its CircuitBase refactor This adds support for recent development versions of quimb while maintaining compatibility with older versions. Fixes #199. * Add release note * Remove redundant 'of quimb' (cherry picked from commit f6c4437a2) # Conflicts: # qiskit_addon_aqc_tensor/simulation/quimb/__init__.py * Resolve backport conflicts for Python 3.9 compatibility Mergify's backport of #200 left unresolved conflict markers because `main` switched to `X | None` type annotations, which cannot be evaluated at runtime by plum's `@dispatch` on Python 3.9 (still supported on this release branch). Resolve the conflicts by keeping the semantic change from #200 (the `CircuitBase` return type) while retaining the release branch's runtime-safe annotation style: - `out_state` parameters keep `Optional[np.ndarray]`. - `CircuitBase` is defined with an explicit `typing.Union[...]` rather than the `|` operator on plum `ModuleType` objects. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> * Suppress guarded-import docs warning for CircuitBase `CircuitBase` is imported inside a `TYPE_CHECKING` block but does not yet exist in a released quimb, so sphinx-autodoc-typehints cannot import it at doc-build time. Under `sphinx-build -W` this guarded-import warning fails the docs build. Suppress just that warning subtype until quimb releases a version containing `CircuitBase`, at which point the line can be removed. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Jim Garrison <garrison@ibm.com> Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
5 of 5 new or added lines in 1 file covered. (100.0%)
671 of 671 relevant lines covered (100.0%)
1.0 hits per line
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 29465011837.1 | 13 |
100.0 |
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
|---|