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

Qiskit / qiskit / 7745072995
87%
main: 88%

Build:
Build:
LAST BUILD BRANCH: jeevan/15849-task-7
DEFAULT BRANCH: main
Ran 01 Feb 2024 05:36PM UTC
Jobs 1
Files 1280
Run time 2min
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

01 Feb 2024 04:19PM UTC coverage: 86.906% (-0.008%) from 86.914%
7745072995

push

github

web-flow
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

Jobs
ID Job ID Ran Files Coverage
1 7745072995.1 01 Feb 2024 05:35PM UTC 0
86.91
GitHub Action Run
Source Files on build 7745072995
Detailed source file information is not available for this build.
  • Back to Repo
  • 6177feb8 on github
  • Prev Build on gh-readonly-queue/stable/0.46/pr-11636-6b914c7e883a9336d827aa7953ff2c55e157bd6a (#7743896870)
  • Next Build on stable/0.46 (#7747194530)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc