-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add basic provider * Restore changes from main that shouldn't be in 0.46. * Fix style, docs * Apply inline suggestions from Julien's code review Co-authored-by: Julien Gacon <[email protected]> * Add suggestion from Julien's code review * Add release note * Add deprecation warnings and address in tests * Fix passmanager config test * Fix passmanager test again * Fix tests * Add opflow filter * Fix lint and docs * Fix opflow and algorithms tests * Remove execute log tests * Remove unused imports * Fix lint * Raise deprecation warning on BasicAer global instance import Co-authored-by: Julien Gacon <[email protected]> * Fix tests * Fix lint * Fix lint again * Apply suggestions from Matt's code review Co-authored-by: Matthew Treinish <[email protected]> * Remove BasicProvider global instance * Apply remaining review comments * Remove uses of _deprecated_backend_names() * Fix forgotten examples * Update reno * Fix examples * Remove comment Co-authored-by: Matthew Treinish <[email protected]> * Update random generator * Increase number of shots in failed tests * Update test_initializer.py * Fix black --------- Co-authored-by: Julien Gacon <[email protected]> Co-authored-by: Matthew Treinish <[email protected]>
- Loading branch information
1 parent
0dd2212
commit d71222f
Showing
100 changed files
with
2,565 additions
and
447 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
.. _qiskit-providers-basicprovider: | ||
|
||
.. automodule:: qiskit.providers.basic_provider | ||
:no-members: | ||
:no-inherited-members: | ||
:no-special-members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
# This code is part of Qiskit. | ||
# | ||
# (C) Copyright IBM 2017, 2023. | ||
# | ||
# This code is licensed under the Apache License, Version 2.0. You may | ||
# obtain a copy of this license in the LICENSE.txt file in the root directory | ||
# of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. | ||
# | ||
# Any modifications or derivative works of this code must retain this | ||
# copyright notice, and modified files need to carry a notice indicating | ||
# that they have been altered from the originals. | ||
|
||
""" | ||
=============================================================================== | ||
BasicProvider: Python-based Simulators (:mod:`qiskit.providers.basic_provider`) | ||
=============================================================================== | ||
.. currentmodule:: qiskit.providers.basic_provider | ||
A module of Python-based quantum simulators. Simulators can be accessed | ||
via the `BasicProvider` provider, e.g.: | ||
.. code-block:: | ||
from qiskit.providers.basic_provider import BasicProvider | ||
backend = BasicProvider().get_backend('basic_simulator') | ||
Simulators | ||
========== | ||
.. autosummary:: | ||
:toctree: ../stubs/ | ||
BasicSimulator | ||
Provider | ||
======== | ||
.. autosummary:: | ||
:toctree: ../stubs/ | ||
BasicProvider | ||
Job Class | ||
========= | ||
.. autosummary:: | ||
:toctree: ../stubs/ | ||
BasicProviderJob | ||
Exceptions | ||
========== | ||
.. autosummary:: | ||
:toctree: ../stubs/ | ||
BasicProviderError | ||
""" | ||
|
||
from .basic_provider import BasicProvider | ||
from .basic_provider_job import BasicProviderJob | ||
from .basic_simulator import BasicSimulator | ||
from .exceptions import BasicProviderError |
Oops, something went wrong.