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

Qiskit / qiskit / 7719204158 / 1
88%
main: 88%

Build:
DEFAULT BRANCH: main
Ran 31 Jan 2024 12:33AM UTC
Files 910
Run time 45s
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

30 Jan 2024 10:53PM UTC coverage: 89.576% (-0.01%) from 89.586%
7719204158.1

push

github

web-flow
Rename `BasicAer` to `BasicProvider` and refactor interface to follow `BackendV2` (#11422)

* Rename `BasicAer` to `BasicProvider`, rename `QasmSimulatorPy` to `BasicSimulator`, remove statevector and unitary simulators.
Replace uses of `BasicAer` with `BasicProvider`, `QasmSimulatorPy` with `BasicSimulator`, `UnitarySimulatorPy` with `quantum_info.Operator` and `StatevectorSimulatorPy` with `quantum_info.Statevector`.

* Migrate `BasicSimulator` interface from `BackendV1` to `BackendV2` (with some extra methods for backward compat.).
Refactor class, rename some internal methods to avoid non-qasm related  use of "qasm", add typehints to module to
improve clarity, update existing typehints. Update tests to expect `BackendV2`.

* Update missing references in qiskit/examples and tests

* Update missing docstrings

* Add future import

* Add type

* Fix lint

* Avoid rebuilding target/configuration when calling property

* Update configuration

* Return methods to original order

* Restore template matching

* Add support for target.num_qubits=None in transpiler pipeline. Set num_qubits in BasicSimulator to None to avoid circuits being transpiled to the simulator's max number of qubits, thus blowing up the size of the computed statevector.

Apply suggestions from Julien's code review

Co-authored-by: Julien Gacon <gaconju@gmail.com>

* Small refactorings: apply Julien's suggestions, single out unitary gate basis gate, remove properties and status (but keep configuration, as it is required by assemble), change test case (it was based on backendV1).

* Fix style

* Add release note

* Apply inline suggestions from Julien's code review

Co-authored-by: Julien Gacon <gaconju@gmail.com>

* Add suggestion from Julien's code review

* Fix lint

* Fix docs, test

* (Desperate) attempt to fix docs

* Third attempt to fix docs

* Remove execute from basic simulator tests

* Fix conflicts

* Merge remove-execute, fix conflicts

* Update example docstring

* Apply su... (continued)

59501 of 66425 relevant lines covered (89.58%)

213963.21 hits per line

Source Files on job 7719204158.1
  • Tree
  • List 0
  • Changed 40
  • Source Changed 0
  • Coverage Changed 15
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 7719204158
  • 37734448 on github
  • Prev Job for on main (#7717719849.1)
  • Next Job for on main (#7719629934.1)
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