forked from Qiskit/qiskit-aer
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/main' into support-expr
- Loading branch information
Showing
29 changed files
with
631 additions
and
98 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
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,40 @@ | ||
--- | ||
features: | ||
- | | ||
ROCm support has been added matching the existing CUDA implementation based | ||
on the ``thrust`` library. This enables Qiskit-Aer to run on AMD GPUs, | ||
including the AMD Instinct GPU line based on the CDNA architecture. To build | ||
the standalone version, the following should be sufficient:: | ||
cmake <Qiskit-Aer source folder> -G Ninja \ | ||
-DCMAKE_INSTALL_PREFIX=<Qiskit-Aer target instalation folder> \ | ||
-DSKBUILD=FALSE \ | ||
-DAER_THRUST_BACKEND=ROCM \ | ||
-DAER_MPI=<set to ON or OFF depending on whether to activate MPI support> \ | ||
-DAER_ROCM_ARCH=<target AMD GPU list, white-space separated, e.g. 'gfx90a gfx908'> \ | ||
-DCMAKE_BUILD_TYPE=Release \ | ||
-DBUILD_TESTS=True | ||
ninja install | ||
Alternatively, and possibly preferred for most use cases, you can create a Python | ||
wheel file that you can install as part of your Python environemnt:: | ||
cd <Qiskit-Aer source folder> | ||
QISKIT_AER_PACKAGE_NAME='qiskit-aer-gpu-rocm' \ | ||
python3 setup.py bdist_wheel -- \ | ||
-DAER_THRUST_BACKEND=ROCM \ | ||
-DAER_MPI=<set to ON or OFF depending on whether to activate MPI support> \ | ||
-DAER_ROCM_ARCH=<target AMD GPU list, white-space separated, e.g. 'gfx90a gfx908'> | ||
pip install --force-reinstall dist/qiskit_aer_gpu_rocm-*.whl | ||
In both cases, the host system needs to have a functional ROCm instalation and | ||
the environment variable ``ROCM_PATH`` set pointing to the ROCm instalation folder if | ||
that is not the default ``/opt/rocm``. | ||
Depending on how your Python environment is set, you might need to install | ||
Qiskit-Aer's required development modules:: | ||
cd <Qiskit-Aer source folder> | ||
pip install -r requirements-dev.txt | ||
9 changes: 9 additions & 0 deletions
9
releasenotes/notes/aer-runtime-api-exposed-wrong-sx-op-dadae6cf0787e169.yaml
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,9 @@ | ||
--- | ||
fixes: | ||
- | | ||
Aer runtime api (from contrib) exposed the wrong sx operation, | ||
implemented with a rx. The implementation is changed now by | ||
adding AerState::apply_mcsx and calling it from aer_apply_sx. | ||
This way the api has the same behavior as the documentation | ||
states and also how the sx gate behaves in python. | ||
Fix for: https://github.com/Qiskit/qiskit-aer/issues/1925 |
10 changes: 10 additions & 0 deletions
10
releasenotes/notes/fix-aer-vector-alignment-aace6e14342c002e.yaml
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,10 @@ | ||
--- | ||
fixes: | ||
- | | ||
Change ``AER::Vector`` object alignement to 64-byte. In some cases, it is used to | ||
initialize ``AER:QV::QubitVector`` objects by moving storage ownership to these | ||
objects. As the code assumes that ``AER:QV::QubitVector`` storage is at least | ||
32-byte aligned for AVX2 load instructions, this change enforces the same alignement | ||
requirements for both ``AER::Vector`` and ``AER:QV::QubitVector`` objects so that | ||
one doesn't get into segmentation faults. | ||
8 changes: 8 additions & 0 deletions
8
releasenotes/notes/fix-compiling-issue-in-release-with-vc++-47500a37841cfaa8.yaml
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,8 @@ | ||
--- | ||
fixes: | ||
- | | ||
Fixes an issue when compiling a release version on windows with vc++, | ||
also unrolls a for, avoiding an unnecessary switch inside it. | ||
The fix is for https://github.com/Qiskit/qiskit-aer/issues/1918 | ||
Oops, something went wrong.