Ran
|
Jobs
1
|
Files
1280
|
Run time
2min
|
Badge
Embed ▾
README BADGES
|
push
github
Remove validation methods from primitive base classes (backport #11052) (#11532) * Remove validation methods from primitive base classes (#11052) * Remove validation methods from primitive base classes This deprecates the argument validation methods from primitive base classes and moves them to separate helper functions. These methods unnecessarily bloat the base classes, and are odd to have when the BasePrimitive doesn't even define a run method to validate. There is no reason primitive implementations need to use the same validation as these base classes either. A follow up will be to remove the validation from the base `run` methods and have subclasses implement their own validation. * Apply suggestions from code review * Update qiskit/primitives/base/base_estimator.py --------- Co-authored-by: Ikko Hamamura <ikkoham@users.noreply.github.com> (cherry picked from commit 05d958bbe) * Update qiskit/primitives/base/base_estimator.py * Add missing import --------- Co-authored-by: Christopher J. Wood <cjwood@us.ibm.com> Co-authored-by: Matthew Treinish <mtreinish@kortar.org> Co-authored-by: Jake Lishman <jake.lishman@ibm.com>
75023 of 86327 relevant lines covered (86.91%)
103637.67 hits per line
ID | Job ID | Ran | Files | Coverage | |
---|---|---|---|---|---|
1 | 7745072995.1 | 1280 |
86.91 |
GitHub Action Run |
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|