* 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>
This change is in accordance with the following warning
that is triggered by the Qiskit 1.2 rc:
> qiskit_aer/primitives/sampler.py:69: DeprecationWarning: The class ``qiskit.primitives.base.base_sampler.BaseSampler`` is deprecated as of qiskit 1.2. It will be removed no earlier than 3 months after the release date. The `BaseSampler` class is a type alias for the `BaseSamplerV1` interface that has been deprecated in favor of explicitly versioned interface classes. It is recommended to migrate all implementations to use `BaseSamplerV2`. However, for implementations incompatible with `BaseSamplerV2`, `BaseSampler` can be replaced with the explicitly versioned `BaseSamplerV1` class.
Co-authored-by: Jun Doi <doichan@jp.ibm.com>
* fix undefined behaviours
* Run clang format 15 instead of 18
* OpenMP for statement must have signed integral type
---------
Co-authored-by: Jun Doi <doichan@jp.ibm.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>
Using Terra's `CircuitInstruction` like a tuple is a legacy access
pattern. The pattern of using named access attributes was introduced
about two years ago, and the legacy format is about to be deprecated.
This fixes up the last couple of uses.
Co-authored-by: Jun Doi <doichan@jp.ibm.com>
* trying to fix CI failure
* change CUDA rpm to use RHEL8
* CentOS issue
* fix sed
* fix sed
* fix sed, merge fix for CUDA 12.5
* fix sed
* use scipy 1.13.1 to ignore neko error
* use scipy 1.13.1 to ignore neko error
* use scipy 1.13.1 to ignore neko error
* use scipy 1.13.1 to ignore neko error
* use scipy 1.13.1 to ignore neko error
* 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
* Add BaseQuantumError class
Adds a `BaseQuantumError` parent class for `QuantumError` that is used by noise models and circuit insertion in preparation of adding additional optimized error classes for Pauli and Pauli Lindblad errors.
* Fixup Base Error
---------
Co-authored-by: Jun Doi <doichan@jp.ibm.com>
* Update pylint version
Updates pylint version and fixes linting errors and pylint config with updated version.
* Add pylint disable rather than change arg name
* Fix tests
* fix typo
* handle cx gate with ctrl_stete=0
* add handling *_o0, add test for cx_o0
* format
* fix test
* fix test
* fix test cx
* fix to handle multiple control states
* fix ctrl_state
* format
* resolve conflict again
* fix aer_compiler