* Restore MacOS Arm64 for Python 3.8 and 3.9
* upgrade version of numpy and cvxpy
* fix test
* modify settings as same as main branch
---------
Co-authored-by: Hiroshi Horii <hhorii@users.noreply.github.com>
* Fix from_backend of V2 primitives to use existing AerSimulator
* add reno, fix format
* delete print for debug
---------
Co-authored-by: Hiroshi Horii <hhorii@users.noreply.github.com>
* support store and storage var
* add test to store cr with cr
* set qiskit 1.1.0rc1 for test
* fix lint
* add reno
---------
Co-authored-by: Jun Doi <doichan@jp.ibm.com>
* Update SamplerV2
* Update SamplerV2 to be compatible with SamplerV2 of Qiskit 1.1
* update test_sampler_v2
* simplify tests and revert common.py
* update EstimatorV2 and tests
* reno
---------
Co-authored-by: Jun Doi <doichan@jp.ibm.com>
* Add PauliLindbladError with C++ support
Adds a BaseOperator subclass for efficiently working with Pauli channels generated by lindblad dissipators, and add support from sampling from these in Aer simulation.
* Add reno and tests
* Fix some extra compiler warnings
* Fix typo in doc string
* Fixes for dependency issues
* lint
* lint
* lint
* fix release note
* fix sampler
* fix sampler
* fix sampler
* fix sampler
* remove skip cp38
* hide primitives V2 for qiskit < 1.0
* lint
* add test case for sampling measure for large stabilizer circuit
* reduce warning
* replace test case for large stabilizer with GHZ circuit
* format
* format
* convert basis_gates from list to set
* fix assemble_circuits
* Add build test for GPU
* decrease root size
* GPU test only run for Python 3.12
* update CUDA version to 12.4
* add release note
* fix test
* fix deploy
* fix name of AerSimulator
* add test for backend name
* fix format of test
* fix for device=Thrust case
* fix aerprovider
* Remove fake backend test
---------
Co-authored-by: Matthew Treinish <mtreinish@kortar.org>
Co-authored-by: Hiroshi Horii <hhorii@users.noreply.github.com>
* parallelize sampling measure
* replace BitVector to SampleVector is special class for sampling measure
* format
---------
Co-authored-by: Hiroshi Horii <hhorii@users.noreply.github.com>
* fix test_aer_statevector
* fix daily test
* remove test case test.terra.states.test_aer_statevector.TestAerStatevector.test_number_to_latex_terms because of deprecation
* add release note and remove temporal on push
* Add support for running with Python 3.12
Python 3.12.0 was released on 10-02-2023, this commit marks the start
of support for Python 3.12 in qiskit-aer. It adds the supported Python
version in the package metadata and updates the CI configuration to run
test jobs on Python 3.12 and build Python 3.12 wheels on release.
* Remove numpy constraints
* Uncap six
* Fix i686 build steps
* Use python 3.12.0 in tests to work around unittest breakage in 3.12.1
* Use 3.12.0 for all test jobs
---------
Co-authored-by: Jun Doi <doichan@jp.ibm.com>
* mps parallel prob meas + test
* code style and releasenote for PR
* fix C3016
* change test to support windows python3.8
* Update releasenotes/notes/parallel-probabilistic-measurement-mps-ec00a896a0322213.yaml
Co-authored-by: merav-aharoni <merav@il.ibm.com>
---------
Co-authored-by: Jun Doi <doichan@jp.ibm.com>
Co-authored-by: merav-aharoni <merav@il.ibm.com>
* add lapack svd method + test
* forgot to unset env variable in test
* fix seg fault bc arrays were too big
* code style and releasenote for PR
* address microsoft C2131?
* style + another C2131
* missing free
* change test to support windows python3.8
* Update releasenotes/notes/compute-svd-with-lapack-3ee992d371d653d1.yaml
Co-authored-by: merav-aharoni <merav@il.ibm.com>
* remove unnecessary comments
* undo ifdef DEBUG
* automatic selector for QR or D&C in LAPACK SVD
* codestyle, enable MPS lapack using run_options
---------
Co-authored-by: merav-aharoni <merav@il.ibm.com>
Co-authored-by: Jun Doi <doichan@jp.ibm.com>
This option controls whether CMake uses the bundled OpenBLAS library
when building on Windows (defaults to True). Having this option allows a
user to build qiskit-aer against a different system BLAS without needing
to specify a full path using the `AER_BLAS_LIB_PATH` option.
Co-authored-by: Jun Doi <doichan@jp.ibm.com>
* add description if no description is provided, build coupling map if it is provided
* move import line
* fix target for simulator backend
* format
* remove unused import
* use translation plugin to rebuild gate sets for simulator
* rename plugin
* rebuild of gate sets is eanbled only for opt level 0 and 1
* fix custom pass manager
* fix pass_manager function
* added ccx in NAME_MAPPING
* added missed gates in NAME_MAPPING
* added release note
* add check if opnodes is None
* add check config
* decrease return
* check opt level
* fix searching ops in control flow blocks
* Update qiskit_aer/backends/plugin/aer_backend_plugin.py
Co-authored-by: Matthew Treinish <mtreinish@kortar.org>
* Update qiskit_aer/backends/plugin/aer_backend_plugin.py
Co-authored-by: Matthew Treinish <mtreinish@kortar.org>
* refer review comments
* remove unused import
---------
Co-authored-by: Matthew Treinish <mtreinish@kortar.org>
* Extended stabilizer simulator no longer shares RngEngine amongst states when ops are applied in parallel
* Added release note
* Fixed ugly cast
---------
Co-authored-by: Jun Doi <doichan@jp.ibm.com>
Currently Aer is using Qiskit's local_hardware_info() function which to
determine the total amount of system memory which is used to compute the
largest statevector the system can build. However, this function wasn't
really intended to be used outside of Qiskit and also Qiskit is looking
to remove the memory reporting (see: Qiskit/qiskit#11254). This commit
just pivots to using psutil directly which is what qiskit is doing
internally.