Commit Graph

12 Commits

Author SHA1 Message Date
Jun Doi eaba16ca42
Remove standalone and qobj (#2187)
* Remove standalone and qobj

* format

* remove unused imports

* remove unused imports

* restore neccesary files

* remove AerJobSet

* remove assemble

* format

* resolve conflict

* lint

* lint

* remove dask ref in release note

* remove dask ref in release note
2024-08-20 23:31:34 +09:00
Luciano Bello 2357569d08
[rebranding] Qiskit Aer is now Aer (#1954)
Co-authored-by: Jun Doi <doichan@jp.ibm.com>
2023-10-26 02:20:27 +00:00
Hiroshi Horii ef90c8889e
Remove `PulseSimulator` (#1884)
Since 0.12, Qiskit-Aer notices deprecation warnings to use of PulseSimulato. Because 0.13 will be released after +3 months since 0.12 was released, Qiskit-Aer will stop supports of pulse simulation.

* first pass at removing pulse simulator
* autoformat with black
* remove ref to aer pulse in docs
* fix lint issues
* remove pulse rst
* remove pulse tests
* add release note
* remove open pulse from CMakeLists.txt
* remove pulse tests
* remove remaining pulse codes

---------

Co-authored-by: AngeloDanducci <angelo.danducci.ii@ibm.com>
2023-08-02 11:52:21 +09:00
Hiroshi Horii 0366c51c0e
add code-formatting with black for python and with clang-format for c++ (#1630)
* add black and clang-format

* apply black and clang-format

* manually format codes that were not covered in black and clang-format

* add targets of clang-format and clean up tox.ini

* apply black with new configuration

* Update CONTRIBUTING.md

Co-authored-by: Matthew Treinish <mtreinish@kortar.org>

* Update .github/workflows/tests.yml

Co-authored-by: Matthew Treinish <mtreinish@kortar.org>

* reformat qiskit_aer, test, tools, and setup.py with length 100

---------

Co-authored-by: Matthew Treinish <mtreinish@kortar.org>
2023-03-13 20:19:06 +00:00
Matthew Treinish 4f959fd61d
Switch from relative to absolute imports in root qiskit_aer (#1696)
Previously the root of the qiskit_aer we were exporing certain modules
and objects using relative imports to do this. However, the qiskit
package sets up a metaimporter to redirect imports from
qiskit.providers.aer to qiskit_aer (for backwards compatibility with the
old aer name) the source package for these relative imports can get
confused on subsequent imports if something also uses the legacy name
(which qiskit itself does on it's optional imports to aer, so that it
supports >1 version). While all the code functions correctly in this
case Python emits a warning saying the package __spec__ doesn't match
anymore. The simplest way to address these warnings is to use an
absoulte import with the package name in it so there is no ambiguity in
the source package on imports.

This commit makes that change to the root of the pacakge which fixes the
warnings. The only thing I'm not sure of is if any other relative
imports elsewhere in the qiskit_aer package will have the same problem
or if this is fixed by just updating the root package. We might need to
do further testing to check.

Fixes #1692
2023-01-18 23:48:03 +09:00
Matthew Treinish 5aeadd5f5e
Deprecate Python 3.7 support in Qiskit Aer (#1671)
* Deprecate Python 3.7 support in Qiskit Aer

This commit deprecates Python 3.7 support. During the deprecation window
we will continue to fully support Python 3.7 and test it in CI, but it will
emit a warning that we will be removing support for 3.7 in the future to
inform users to upgrade to Python 3.8 or newer. The removal will occur
during a future release at some point over the summer as the upstream
Python EoL date is in June 2023. [1]

[1] https://devguide.python.org/versions/

* Fix lint

* Move comment before if block
2022-12-02 17:08:52 +00:00
Hiroshi Horii 3babb7fcc2
Add AerStatevector (#1590)
Add a new class AerStatevector that supports q.i.s.Statevector interface.
This class uses an internal class AerState that directly access to Aer's
native runtime.
2022-09-14 10:34:28 +09:00
Matthew Treinish 13937fdb59
Move Aer to its own package (#1526)
Namespace packages are constant source of problems for users. The python
packaging ecosystem around splitting packages across namespaces is
fragile at the best of times and can often leave a you with an
environment that isn't recoverable (especially when mixing install
methods). There is also a performance hit whenever there is a piece of
the namespace we allow external packages to extend since it requires
doing a full python path search which can be slow depending on the
backing I/O and the number of paths in sys.path for an environment. This
commit addresses the piece from the aer perspective by moving
qiskit.providers.aer to it's own package and namespace 'qiskit_aer'.

Co-authored-by: Hiroshi Horii <horii@jp.ibm.com>
2022-08-31 10:33:59 +09:00
Juan Gomez 9ea697252e Qiskit Terra v0.7 integration
* New folder structure matching Qiskit namespace convention
  Everything is under: qiskit.providers.aer
* Tests changed accordingly
* Documentation changed accordingly
2018-12-17 23:21:14 +01:00
cjwood 094eb49c98 fix backend version in status 2018-12-11 00:19:05 -05:00
cjwood c2a5187864 update backends for Terra 0.7
* update backends for terra 0.7
* update tests
* activate disabled tests
* remove test_fallback
* change backend "date" format to isoformat
2018-12-07 09:26:44 -05:00
cjwood 4459d26645 move qiskit_aer to base dir 2018-11-08 16:07:34 -05:00