Skip to content

Commit

Permalink
Release Aer 0.14 (#2050)
Browse files Browse the repository at this point in the history
* Aer 0.14

* add deprecation message standalone/qobj

* format

* added prelude

* correct release note

* merge upstream

* update deploy GPU
  • Loading branch information
doichanj authored Apr 1, 2024
1 parent a29e7c9 commit e9c5737
Show file tree
Hide file tree
Showing 38 changed files with 24 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ jobs:
- name: Build wheels
env:
CIBW_BEFORE_ALL: "yum install -y yum-utils wget && wget -q https://developer.download.nvidia.com/compute/cuda/12.4.0/local_installers/cuda-repo-rhel7-12-4-local-12.4.0_550.54.14-1.x86_64.rpm && rpm -i cuda-repo-rhel7-12-4-local-12.4.0_550.54.14-1.x86_64.rpm && yum clean all && yum -y install nvidia-driver-latest-dkms && yum -y install cuda-toolkit-12-4 && yum -y install openblas-devel && yum clean all"
CIBW_BEFORE_BUILD : "pip install nvidia-cuda-runtime-cu12 nvidia-nvjitlink-cu12 nvidia-cublas-cu12 nvidia-cusolver-cu12 nvidia-cusparse-cu12 cuquantum-cu12"
CIBW_BEFORE_BUILD : "pip cache purge && pip install nvidia-cuda-runtime-cu12 nvidia-nvjitlink-cu12 nvidia-cublas-cu12 nvidia-cusolver-cu12 nvidia-cusparse-cu12 cuquantum-cu12"
CIBW_SKIP: "*-manylinux_i686 pp* cp36* cp37* cp38* cp39* cp310* cp311* *musllinux*"
CIBW_ENVIRONMENT: QISKIT_AER_PACKAGE_NAME=qiskit-aer-gpu QISKIT_AER_CUDA_MAJOR=12 CMAKE_VERBOSE_MAKEFILE=true AER_THRUST_BACKEND=CUDA CUDACXX=/usr/local/cuda/bin/nvcc AER_CUDA_ARCH="7.0 7.2 7.5 8.0 8.6 8.7 8.9 9.0" AER_PYTHON_CUDA_ROOT=/opt/_internal AER_CIBUILD=true
CIBW_REPAIR_WHEEL_COMMAND: 'auditwheel repair --exclude libcudart.so.12 --exclude libcustatevec.so.1 --exclude libcutensornet.so.2 --exclude libcutensor.so.1 --exclude libcutensorMg.so.1 --exclude libcusolver.so.11 --exclude libcusolverMg.so.11 --exclude libcusolver.so.12 --exclude libcusolverMg.so.12 --exclude libcusparse.so.12 --exclude libcublas.so.12 --exclude libcublasLt.so.12 --exclude libnvJitLink.so.12 -w {dest_dir} {wheel}'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ jobs:
- name: Build wheels
env:
CIBW_BEFORE_ALL: "yum install -y yum-utils wget && wget -q https://developer.download.nvidia.com/compute/cuda/11.8.0/local_installers/cuda-repo-rhel7-11-8-local-11.8.0_520.61.05-1.x86_64.rpm && rpm -i cuda-repo-rhel7-11-8-local-11.8.0_520.61.05-1.x86_64.rpm && yum clean all && yum -y install cuda && yum -y install openblas-devel && yum-config-manager --add-repo https://developer.download.nvidia.com/compute/cuda/repos/rhel7/x86_64/cuda-rhel7.repo && yum clean all"
CIBW_BEFORE_BUILD : "pip install nvidia-cuda-runtime-cu11 nvidia-cublas-cu11 nvidia-cusolver-cu11 nvidia-cusparse-cu11 cuquantum-cu11"
CIBW_BEFORE_BUILD : "pip cache purge && pip install nvidia-cuda-runtime-cu11 nvidia-cublas-cu11 nvidia-cusolver-cu11 nvidia-cusparse-cu11 cuquantum-cu11"
CIBW_SKIP: "*-manylinux_i686 pp* cp36* cp37* *musllinux*"
CIBW_ENVIRONMENT: QISKIT_AER_PACKAGE_NAME=qiskit-aer-gpu-cu11 QISKIT_AER_CUDA_MAJOR=11 CMAKE_VERBOSE_MAKEFILE=true AER_THRUST_BACKEND=CUDA CUDACXX=/usr/local/cuda/bin/nvcc AER_CUDA_ARCH="7.0 7.2 7.5 8.0 8.6 8.7" AER_PYTHON_CUDA_ROOT=/opt/_internal AER_CIBUILD=true
CIBW_REPAIR_WHEEL_COMMAND: 'auditwheel repair --exclude libcudart.so.11.0 --exclude libcustatevec.so.1 --exclude libcutensornet.so.2 --exclude libcutensor.so.1 --exclude libcutensorMg.so.1 --exclude libcusolver.so.11 --exclude libcusolverMg.so.11 --exclude libcusparse.so.11 --exclude libcublas.so.11 --exclude libcublasLt.so.11 -w {dest_dir} {wheel}'
Expand Down Expand Up @@ -190,7 +190,7 @@ jobs:
- name: Build wheels
env:
CIBW_BEFORE_ALL: "yum install -y yum-utils wget && wget -q https://developer.download.nvidia.com/compute/cuda/12.4.0/local_installers/cuda-repo-rhel7-12-4-local-12.4.0_550.54.14-1.x86_64.rpm && rpm -i cuda-repo-rhel7-12-4-local-12.4.0_550.54.14-1.x86_64.rpm && yum clean all && yum -y install nvidia-driver-latest-dkms && yum -y install cuda-toolkit-12-4 && yum -y install openblas-devel && yum clean all"
CIBW_BEFORE_BUILD : "pip install nvidia-cuda-runtime-cu12 nvidia-nvjitlink-cu12 nvidia-cublas-cu12 nvidia-cusolver-cu12 nvidia-cusparse-cu12 cuquantum-cu12"
CIBW_BEFORE_BUILD : "pip cache purge && pip install nvidia-cuda-runtime-cu12 nvidia-nvjitlink-cu12 nvidia-cublas-cu12 nvidia-cusolver-cu12 nvidia-cusparse-cu12 cuquantum-cu12"
CIBW_SKIP: "*-manylinux_i686 pp* cp36* cp37* *musllinux*"
CIBW_ENVIRONMENT: QISKIT_AER_PACKAGE_NAME=qiskit-aer-gpu QISKIT_AER_CUDA_MAJOR=12 CMAKE_VERBOSE_MAKEFILE=true AER_THRUST_BACKEND=CUDA CUDACXX=/usr/local/cuda/bin/nvcc AER_CUDA_ARCH="7.0 7.2 7.5 8.0 8.6 8.7 9.0" AER_PYTHON_CUDA_ROOT=/opt/_internal AER_CIBUILD=true
CIBW_REPAIR_WHEEL_COMMAND: 'auditwheel repair --exclude libcudart.so.12 --exclude libcustatevec.so.1 --exclude libcutensornet.so.2 --exclude libcutensor.so.1 --exclude libcutensorMg.so.1 --exclude libcusolver.so.11 --exclude libcusolverMg.so.11 --exclude libcusolver.so.12 --exclude libcusolverMg.so.12 --exclude libcusparse.so.12 --exclude libcublas.so.12 --exclude libcublasLt.so.12 --exclude libnvJitLink.so.12 -w {dest_dir} {wheel}'
Expand Down
8 changes: 8 additions & 0 deletions contrib/standalone/qasm_simulator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,14 @@ int main(int argc, char **argv) {
json_t config;
int myrank = 0;

std::cerr << "The standalone simulator is deprecated as of Qiskit 0.14"
<< std::endl;
std::cerr << "and will be removed no sooner than 3 months from that release."
<< std::endl;
std::cerr << "Please run the simulator from Python using AerSimulator.run()"
<< std::endl;
std::cerr << "with qiskit.circuit" << std::endl;

#ifdef AER_MPI
int prov;
int nprocs = 1;
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
# The short X.Y version
version = '0.14.0'
# The full version, including alpha/beta/rc tags
release = '0.14.0'
release = '0.14.0.1'

templates_path = ['_templates']

Expand Down
2 changes: 1 addition & 1 deletion qiskit_aer/VERSION.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.14.0
0.14.0.1
4 changes: 2 additions & 2 deletions qiskit_aer/backends/aerbackend.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ def _convert_binds(self, circuits, parameter_binds, idx_maps=None):

# pylint: disable=arguments-differ
def run(self, circuits, validate=False, parameter_binds=None, **run_options):
"""Run a qobj on the backend.
"""Run circuits on the backend.
Args:
circuits (QuantumCircuit or list): The QuantumCircuit (or list
Expand Down Expand Up @@ -187,7 +187,7 @@ def run(self, circuits, validate=False, parameter_binds=None, **run_options):

if isinstance(circuits, (QasmQobj, PulseQobj)):
warnings.warn(
"Using a qobj for run() is deprecated as of qiskit-aer 0.9.0"
"Using a qobj for run() is deprecated as of qiskit-aer 0.14"
" and will be removed no sooner than 3 months from that release"
" date. Transpiled circuits should now be passed directly using"
" `backend.run(circuits, **run_options).",
Expand Down
4 changes: 2 additions & 2 deletions qiskit_aer/jobs/aerjob.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,8 @@ def qobj(self):
Qobj: the Qobj submitted for this job.
"""
warnings.warn(
"`AerJob.qobj() is deprecated as of qiskit-aer 0.12.0`. "
"Using a qobj for `backend.run()` is deprecated as of qiskit-aer 0.9.0"
"`AerJob.qobj() is deprecated as of qiskit-aer 0.14`. "
"Using a qobj for `backend.run()` is deprecated as of qiskit-aer 0.14"
" and will be removed no sooner than 3 months from that release"
" date. Once it is removed, this `qobj()` returns always `None`.",
DeprecationWarning,
Expand Down
7 changes: 7 additions & 0 deletions releasenotes/notes/0.14/release0.14-2c69aff018f985e6.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
prelude: >
Aer release 0.14 supports Qiskit 1.0 and based on BackendV2.
These are summary of features included in this release:
- Optimization of MPS method by using BLAS/LAPACK
- Implementing V2 primitives EstimatorV2/SamplerV2
- Deprecation of standalone/qobj (will be removed in the next release)

0 comments on commit e9c5737

Please sign in to comment.