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

Qiskit / qiskit / 7719204158
88%

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

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

Jobs
ID Job ID Ran Files Coverage
1 7719204158.1 31 Jan 2024 12:32AM UTC 0
89.58
GitHub Action Run
Source Files on build 7719204158
Detailed source file information is not available for this build.
  • Back to Repo
  • 37734448 on github
  • Prev Build on gh-readonly-queue/main/pr-10657-d033e8a4185c0299b644f0bdf4e8ed1d17d2bb08 (#7717719849)
  • Next Build on main (#7719629934)
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